[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-642340-105":59,"doc-detail-642340-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","047821-computer-science-paper-2-problem-solving-and-programming","0478/21 COMPUTER SCIENCE - Paper 2 Problem-solving and Programming","","Cambridge International General Certificate of Secondary Education 0478/21 Computer Science Paper 2 focuses on problem-solving and programming for visually impaired candidates. The paper is timed at 1 hour 45 minutes and specifies exam rules such as no calculators, using dark blue or black pen, and answering all questions. Section A uses a computer-shop scenario requiring programs to calculate estimates with a 20% addition, check stock and place orders, and produce an end-of-day summary of orders, components sold, and order values.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":20,"@type":76,"position":81},"https://docshare.wps.com/document/exam/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/047821-computer-science-paper-2-problem-solving-and-programming/642340/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/047821-computer-science-paper-2-problem-solving-and-programming/642340.png","ImageObject",300,407,{"name":92,"@type":93},"Ivy","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-30","2026-10-23",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What are the main tasks candidates must complete in Section A?","Question",{"text":112,"@type":113},"Candidates must complete three tasks: produce an estimate (Task 1), use it to check stock and place an order (Task 2), and extend Task 2 to generate an end-of-day summary (Task 3).","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is the total cost of the computer calculated in Task 1?",{"text":117,"@type":113},"The total cost is calculated as the sum of the selected component prices plus 20%.",{"name":119,"@type":110,"acceptedAnswer":120},"What constraints are specified for exam equipment and candidate responses?",{"text":121,"@type":113},"No calculators are allowed, candidates answer on the question paper, and they must write in dark blue or black pen (an HB pencil may be used for diagrams, graphs, or rough working).","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},642340,1793085600,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":19,"category_name":20,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":26},549758252649,"https://ap-avatar.wpscdn.com/avatar/8000253669c5317157?_k=1778319167496531819","Candidate Name    \nCentre Number  \n________________________________  \nCandidate Number    \nCAMBRIDGE INTERNATIONAL EXAMINATIONS  \nCambridge International General Certificate of Secondary Education  \n0478/21 COMPUTER SCIENCE  \nPaper 2 Problem-solving and Programming  \nMay/June 2018  \nTIME: 1 hour 45 minutes  \nSUITABLE FOR VISUALLY IMPAIRED CANDIDATES  \nCandidates answer on the Question Paper. No Additional Materials are required.  \nNo calculators allowed.  \nREAD INSTRUCTIONS OVERLEAF  \nDC (RW) 167224  \nThe whole of this paper is © UCLES 2018.  \nREAD THESE INSTRUCTIONS FIRST  \nWrite your Centre number, candidate number and name in the spaces at the top of the previous page.  \nWrite in dark blue or black pen.  \nYou may use an HB pencil for any diagrams, graphs or rough working.  \nDo not use staples, paper clips, glue or correction fluid.  \nDO NOT WRITE IN ANY BARCODES.  \nAnswer ALL questions.  \nDO NOT ATTEMPT TASKS 1, 2 AND 3 in the pre-release material; these are for information only.  \nYou are advised to spend no more than 40 MINUTES on SECTION A (Question 1).  \nNo marks will be awarded for using brand names of software packages or hardware.  \nAt the end of the examination, fasten all your work securely together.  \nThe number of marks is given in brackets [ ] at the end of each question or part question.  \nThe maximum number of marks is 50.  \n2  \nSECTION A STARTS ON PAGE 4.  \n3  \nSECTION A  \nYOU ARE ADVISED TO SPEND NO LONGER THAN  \n40 MINUTES ANSWERING THIS SECTION.  \nHERE IS A COPY OF THE PRE-RELEASE MATERIAL.  \nDO NOT attempt TASKS 1, 2 and 3 now.  \nUse the pre-release material and your experience from attempting the tasks before the examination to answer Question 1.  \nPRE-RELEASE MATERIAL  \nA 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.  \nWrite and test a program or programs for the computer shop owner.  \n• Your program or programs must include appropriate prompts for the entry of data.  \n• Error messages and other output need to be set out clearly and understandably.  \n• All variables, constants and other identifiers must have meaningful names.  \nYou will need to complete these THREE tasks. Each task must be fully tested.  \n4  \nTASK 1 – Produce an estimate.  \nWrite a program for TASK 1 to calculate the cost of building a computer using these components.  \n\n| COMPONENT | CHOICES | PRICES IN $ |\n| --- | --- | --- |\n| Processor | p3 / p5 / p7 | 100 / 120 / 200 |\n| RAM | 16 GB / 32 GB | 75 / 150 |\n| Storage | 1 TB / 2 TB | 50 / 100 |\n| Screen | 19\" / 23\" | 65 / 120 |\n| Case | Mini Tower / Midi Tower | 40 / 70 |\n| USB ports | 2 ports / 4 ports | 10 / 20 |\n\nThe 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%.  \nTASK 2 – Place an order.  \nUsing 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.  \nTASK 3 – Summarise the day’s orders.  \nExtend 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.  \n5  \n1 (a) All variables, constants and other identifiers should have meaningful names.  \n(i) You","cbCaiiq8N8flG0hX","https://ap.wps.com/l/cbCaiiq8N8flG0hX","pdf",2799794,24,"English","# Section A\n## Pre-release material\n## Task 1 – Produce an estimate\n## Task 2 – Place an order\n## Task 3 – Summarise the day’s orders\n## Question 1 (a)\n## Question 1 (b)\n## Question 1 (c)\n## Question 1 (d)","[{\"question\":\"What are the main tasks candidates must complete in Section A?\",\"answer\":\"Candidates must complete three tasks: produce an estimate (Task 1), use it to check stock and place an order (Task 2), and extend Task 2 to generate an end-of-day summary (Task 3).\"},{\"question\":\"How is the total cost of the computer calculated in Task 1?\",\"answer\":\"The total cost is calculated as the sum of the selected component prices plus 20%.\"},{\"question\":\"What constraints are specified for exam equipment and candidate responses?\",\"answer\":\"No calculators are allowed, candidates answer on the question paper, and they must write in dark blue or black pen (an HB pencil may be used for diagrams, graphs, or rough working).\"}]","0478/21 COMPUTER SCIENCE - Paper 2 Problem-solving and Programming | PDF",1792721876]