首页真题CAIEIGCSE2023 Feb March-Computer Science P2
Mindy

文档

358

关注

2

好评

0
PDF

2023 Feb March-Computer Science P2

阅读 577 下载 0 大小 748.43K 总页数 0 页 2023-04-23 分享
价格: 20 资源币
下载文档
/ 0
全屏查看
2023 Feb March-Computer Science P2
还有 0 页未读 ,您可以 继续阅读 或 下载文档
如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。
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
返回顶部