Asg 3: Object Oriented Software Patterns
Assignment 3 Case Study Karl’s Krazy Komputers builds customised gaming computers. They offer a variety of Intel based
CPU/motherboard combinations, RAM sizes and speeds, GPUs, power supplies and permanent
storage configurations, in a selection of cases. A range of optional extras such as water cooling, case
lighting, and peripherals such as DVD drives and SD card readers can also be chosen.
Custom orders must specify a case, a CPU and motherboard combination, a power supply, RAM, and
a basic permanent storage configuration. They may specify one or more GPUs, more permanent
storage, and any combination of peripherals and optional extras that they like.
Your job is to write a program that allows users to configure their dream computer and cost it.
Note: You must implement at least 2 types of each basic component, both necessary and optional.
Here is a basic list of parts and costs:
Cases: DeepCool Tesseract Mid-Tower $45 Antec VSK4000 Black Mid-Tower $55 Antec GX900 Punisher Mid-Tower $80 Cooler Master MasterBox Pro 5 $125 Cooler Master Mastercase H500P $190
Motherboards: AsRock Z370 Pro 4 $165 MSI Z370 Gaming Plus $200 Gigabyte Aorus Z370 Gaming 5 $300 ASUS ROG Maximus X $580
CPUs: Intel i3 8100 $155 Intel i5 8400 $250 Intel i5 8600K $350 Intel i7 8700 $420 Intel i7 8700K $500 Power Supplies: CoolerMaster MWE 500 Series (550W) $55 Antec VP-600 (600W) $80 Gigabyte B700H (700W) $100 Seasonic SSR-1000FX Focus Plus (1000W) $300 RAM: 8GB (2x4) Kingston HyperX Fury DDR4 2666MHz $150 8GB (2x4) Corsair Vengeance DDR4 2666MHz $200 16GB (2x8) Kingston HyperX Fury DDR4 2666MHz $280 16GB (2x8) Corsair Vengeance RGB DDR4 2666MHz $320
16GB (2x8) Corsair Vengeance RGB DDR4 3600MHz $340 16GB (2x8) G.Skill Trident Z RGB DDR4 4000MHz $500
Storage: Seagate ST1000DM010 1TB Barracuda SATA3 $64 Crucial MX500 500GB M.2 $175 Samsung 860 Evo 500GB SATA3 SSD $210 Samsung 860 Evo 1TB SATA3 SSD $390 Samsung 970 Pro 500GB NVMe 1.3 M.2 $310 Intel 760p 1TB M.2 3D2 TLC NVMe $600 Samsung 970 Pro 1TB NVMe 1.3 M.2 $800
GPUs: Gigabyte GeForce GTX 1050 2GB $190
Sapphire Radeon 560 2GB $225 Sapphire Radeon 570 4GB $430 Sapphire Radeon 580 8GB $530 Gigabyte GeForce GTX 1070 8GB $700 Sapphire Radeon RX Vega 56 8GB $1000 MSI GeForce GTX 1080 Ti 11GB $1300 Nvidia GeForce GTX Titan Xp 12GB $1950 Cooling: Cooler Master Standard Cooler I70C CPU Cooler $15 Cooler Master Hyper TX3 EVO CPU Cooler $30
Thermaltake Water 3.0 Extreme S Liquid CPU Cooler $150 Thermaltake Water 3.0 Riing RGB 360 Liquid CPU Cooler $250 Cooler Master MasterLiquid Maker 240 RGB Cooler Kit $500 Peripherals: Corsair LL120 Dual Light Loop RGB LED 120mm PWM Fan $50 Deepcool RGB 350 Colour LED Strip $20 LG 24x Internal SATA OEM DVD-RW Burner Drive $20 Shintaro Internal 30-in-1 Card Reader 3.5" USB2.0 $20 ICY BOX IB-867 USB 3.0/2.0 Hub with Multi Card Reader $50 Logitech Desktop K120 USB Keyboard $20 Genius Scorpion K9 RGB 31310472100 Gaming Keyboard $50 Corsair K70 LUX RGB Mechanical Gaming Keyboard $180 Logitech G213 Prodigy Gaming Keyboard $100 Genius GX-200 Wired Optical Gaming Mouse $15 Gigabyte M6980X Advanced Pro-Laser Gaming Mouse $50 Logitech G502 Proteus Spectrum Tunable Gaming Mouse $100 Corsair Dark Core RGB SE Performance Gaming Mouse $150 Extension for those intending to achieve HD grade: Some parts are not compatible with others. For example:
• The AsRock Z370 Pro 4 motherboard does not support M.2 drives.
• The Antec VSK4000 Black Mid-Tower does not support water cooling.
• Radeon Vega, GeForce 1080, and Geforce Titan GPUs require 700W power supplies or greater.
• Only Intel 8600K and 8700K CPUs will support the higher range (3600MHz and 4000MHz) memory speeds.
Implement a system which ensures that only compatible parts are configured. (Note: these restrictions are made up.)