earlution

June 2018 Brief

Nov 4th, 2021 (edited)
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. CIE IGCSE COMPUTER SCIENCE 0478/21
  2. Paper 2 Problem-solving and Programming
  3. PRE-RELEASE MATERIAL
  4.  
  5.  
  6. In preparation for the examination candidates should attempt the following practical tasks by writing and testing a program or programs.
  7.  
  8. A computer shop will build a computer from components to meet a customer's requirements. For each request for a computer to be built, an estimate of the cost is produced. The component stock level is checked; if all the components are in stock, a firm order to build the computer can be placed. A program is required to work out the cost of the computer, update the stock levels and provide a daily summary of orders for the shop owner.
  9.  
  10. Write and test a program or programs for the computer shop owner.
  11.  
  12. • Your program or programs must include appropriate prompts for the entry of data.
  13. • Error messages and other output need to be set out clearly and understandably.
  14. • All variables, constants and other identifiers must have meaningful names.
  15.  
  16. You will need to complete these three tasks. Each task must be fully tested.
  17.  
  18. TASK 1 — Produce an estimate.
  19.  
  20. Write a program for TASK 1 to calculate the cost of building a computer using these components:
  21.  
  22. Component Choices Prices in $
  23. Processor P3 / P5 / P7 100 /120 /200
  24. RAM 16GB/32GB 75 / 150
  25. Storage 1TB / 2TB 50 / 100
  26. Screen 19" / 23" 65 / 120
  27. Case Mini Tower / Midi Tower 40 / 70
  28. USB ports 2 ports / 4 ports 10 / 20
  29.  
  30. The customer makes a choice for each component and an estimate is produced. The estimate must show a unique estimate number, the components chosen and the price of each component. The estimate must also show the total cost of the computer, which is calculated as the sum of the cost of the components chosen plus 20%.
  31.  
  32. TASK 2 — Place an order.
  33.  
  34. Using your estimate from TASK 1, check if the components required are in stock. If all the components are in stock then update the stock levels. Add the unique estimate number to the list of order numbers. Add the customer's details and today's date to the estimate details to finalise the order. Print two copies of the order, one for the customer and one for the shop.
  35.  
  36. TASK 3 — Summarise the day's orders.
  37.  
  38. Extend TASK 2 to provide an end of day summary showing the number of orders made, the total number of each component sold and the value of the orders.
  39.  
Add Comment
Please, Sign In to add comment