Back to Browse

Working Python Code Task 1 : O level Computer Sciene Pre Release Material Oct / Nov P22 2020

334 views
Aug 31, 2020
4:59

Working Python Code of Task 1 from O level Computer Sciene Pre Release Material Oct / Nov P22 2020 Contact : [email protected] Task 1 discussion : https://youtu.be/A_cg4td2YGU An online computer shop sells customised personal computers. Every computer sold includes a basic set of components costing $200 and additional items can be added from the table: Category Item code Description Price ($) Case A1 Compact 75.00 Case A2 Tower 150.00 RAM B1 8GB 79.99 RAM B2 16GB 149.99 RAM B3 32GB 299.99 Main Hard Disk Drive C1 1TB HDD 49.99 Main Hard Disk Drive C2 2TB HDD 89.99 Main Hard Disk Drive C3 4TB HDD 129.99 Solid State Drive D1 240GB SSD 59.99 Solid State Drive D2 480GB SSD 119.99 Second Hard Disk Drive E1 1TB HDD 49.99 Second Hard Disk Drive E2 2TB HDD 89.99 Second Hard Disk Drive E3 4TB HDD 129.99 Optical Drive F1 DVD/Blu-Ray Player 50.00 Optical Drive F2 DVD/Blu-Ray Re-writer 100.00 Operating System G1 Standard Version 100.00 Operating System G2 Professional Version 175.00 As well as the basic set of components every computer must include one case, one RAM and one Main Hard Disk Drive from the table. A computer is supplied with or without an Operating System. Write and test a program or programs for the online computer shop. • Your program or programs must include appropriate prompts for the entry of data; data must be validated on entry. • Error messages and other output need to be set out clearly and understandably. • All arrays, variables, constants and other identifiers must have meaningful names. You will need to complete these three tasks. Each task must be fully tested Task 1 – Setting up the system and ordering the main items. Write a program to: • use arrays to store the item code, description and price • allow a customer to choose one case, one RAM and one Main Hard Disk Drive • calculate the price of the computer using the cost of the chosen items and the basic set of components • store and output the chosen items and the price of the computer.

Download

1 formats

Video Formats

360pmp47.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Working Python Code Task 1 : O level Computer Sciene Pre Release Material Oct / Nov P22 2020 | NatokHD