热门文档
- 2023-07-19 08:34:05 Edexcel-IAL-Maths-2018Spec-Issue3
- 2023-07-24 08:16:18 CAIE AS 高数FP1笔记9231-2023-2025考试用-fp1 revision notes
- 2023-08-05 15:38:09 CAIE IGCSE OLevel经济课本答案-剑桥出版社2018年出版-2020及往后考试专用
- 2024-09-07 10:16:18 Mathematics Core and Extended Coursebook with Digital Version
- 2023-08-29 10:49:34 牛津AQA A Level化学课本-Oxford International AQA Examinations International A Level Chemistry
- 2023-09-07 19:57:35 牛津AQA IGCSE物理课本 Oxford AQA IGCSE Physics
- 2023-08-24 23:49:31 爱德思IAL经济课本2-培生出版社-2019版-Pearson Edexcel International A Level Economics Student Book 2 (2019)
- 2023-09-18 09:54:17 化学课本-Oxford International AQA Examinations-International GCSE Chemistry
- 2023-07-19 11:41:58 CAIE A Level化学课本9701-Hodder Education (2020)
- 2024-10-03 20:09:55 STEP MAT TMUA_ Skills for success in University Admissions Tests for Mathematics
- 2024-07-23 20:11:05 CAIE enquiries-about-results-guide-international-a-guide-for-exams-officers
- 2024-11-07 14:19:57 International AS & A Level Biology (9700)-2025-2027-syllabus

如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。
Cambridge AssessmentCANDIDATENAMECENTRECANDIDATENUMBERNUMBERCOMPUTER SCIENCE0478/22Paper 2 Algorithms,Programming and LogicFebruary/March 20231 hour 45 minutesYou must answer on the question paper.No additional materials are needed.INSTRUCTIONS.Answer all questions.Use a black or dark blue pen.You may use an HB pencil for any diagrams or graphs.Write your name,centre number and candidate number in the boxes at the top of the page.Write your answer to each question in the space provided.Do not write on any bar codes.Calculators must not be used in this paper.INFORMATIONThe total mark for this paper is 75.The number of marks for each question or part question is shown in brackets[]No marks will be awarded for using brand names of software packages or hardware.This document has 16 pages.Any blank pages are indicated.DC(LK/SG)313514/3©UCLES2023[Turn over21Tick (one box to show which word accurately describes the scope of a variable declared in aprocedure.A FunctionBGlobalC LocalDSubroutine2 (a)Four descriptions and five pseudocode statements are shown.Draw one line to link each description to its most appropriate pseudocode statement.Not all pseudocode statements will be used.DescriptionPseudocode statementa statement to countE0 R Count←1T010Value (Value Newvaluea statement to totalWHILE Value 10 DOa statement to start apre-condition loopValue←Value+1a statement to start aREPEATpost-condition loop[4©UCLES20230478/22/F/M233(b)Write an algorithm in pseudocode,using a single loop,to output the average of 50 numbersthat have been stored in the array Number [3Describe the purpose of test data.Include an example of a type of test data in your answer.Description.…Example.…©UCLES20230478/22/F/M23