Programming Logic & Design Unit 3 Test QUESTIONS AND ANSWERS BY DR. A
Which of the following is true of structured logic? Any task can be described using some combination of the three structures: sequence, selection, and loop. Which of the following attributes do all three basic structures share? They all have one entry and one exit point Placing a structure within another structure is called the ... structures nesting Snarled program logic is called ... code. spaghetti Which of the following is not another term for a selection structure? loop structure To take action as long as a condition remains true, you use a... loop When you input data in a loop within a program, the input statement that precedes the loop... is called a priming input In a selection structure, the structure-controlling condition is... tested once at the beginning of the structure A ... expression has one of two values, often expressed as true or false. Boolean Which of the following is acceptable in a structured program? All of these are acceptable When you must perform one action when a condition is true and a different one when it is false, you use a... dual-alternative selection The three structures of structured programming are... sequence, selection, and loop A group of statements that executes as a unit is a... block Which of the following is not a reason for enforcing structure rules in computer programs?
Document information
- Uploaded on
- July 30, 2023
- Number of pages
- 3
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers