1) What is the primary purpose of the analysis phase in the iterative development process? a) A. To write the code b) B. To identify inputs, processes, and outputs of the problem c) C. To test the program d) D. To create documentation 2) Which of the following design tools is used to visually represent the flow of a program? a) A. Database diagram b) B. Pseudocode c) C. Flowchart d) D. Data dictionary 3) In user interface design, what is a wireframe used for? a) A. To show the program's logic b) B. To represent the layout of inputs and outputs c) C. To display the program's code d) D. To demonstrate data structures 4) Which data type would be most appropriate for storing a single letter? a) A. Boolean b) B. String c) C. Character d) D. Array 5) What is the purpose of a Boolean data type? a) A. To store text b) B. To store true/false values c) C. To store numbers d) D. To store multiple values 6) Which operator would you use to check if two values are NOT equal? a) A. == b) B. <= c) C. <> d) D. >= 7) What is a running total within a loop used for? a) A. Counting iterations b) B. Accumulating values during iteration c) C. Checking loop conditions d) D. Storing array indices 8) Which of these is an example of a complex conditional statement? a) A. x > 5 b) B. name == "John" c) C. age >= 18 AND score > 70 d) D. count < 10 9) What does the length predefined function return for an array? a) A. The largest value in the array b) B. The number of elements in the array c) C. The first element of the array d) D. The last element of the array 10) What type of error occurs when the program fails to execute due to incorrect syntax? a) A. Logic error b) B. Runtime / Execution error c) C. Syntax error d) D. Semantic error 11) What is input validation used for? a) A. To make the program run faster b) B. To ensure user inputs meet required criteria c) C. To create user interfaces d) D. To sort data 12) Which of these is an example of extreme test data? a) A. Normal expected values b) B. Values at the edge of acceptable range. c) C. Typical user input d) D. Standard numbers 13) What makes code more readable? a) A. Using single-letter variable names b) B. Removing all white space c) C. Meaningful identifier names d) D. Minimal commenting 14) What is the purpose of internal commentary in code? a) A. To make the code run faster b) B. To explain how the code works c) C. To create variables d) D. To declare functions 15) Which loop would you use when you know exactly how many iterations are needed? a) A. While loop b) B. Do-while loop c) C. For loop d) D. If statement 16) What does array traversal mean? a) A. Sorting the array b) B. Creating a new array c) C. Accessing each element of the array d) D. Deleting array elements 17) How is string concatenation performed? a) A. By adding strings together b) B. By dividing strings c) C. By comparing strings d) D. By sorting strings 18) What is the purpose of the random predefined function? a) A. To round numbers b) B. To generate random values c) C. To sort data d) D. To validate input 19) Which of these is an example of efficient use of coding constructs? a) A. Using loops in place of multiple lines of coding b) B. Using appropriate data types for variables c) C. Repeating code multiple times d) D. Using global variables extensively 20) What is pseudocode used for? a) A. To compile the program b) B. To write the final code c) C. To plan program logic in plain language d) D. To test the program
0%
National 5 Computing Science - Software Development Revision
共用
共用
共用
由
Gw22sabbafionaa
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?