Title | Logic and Design Quiz 2 17/20 |
---|---|
Course | Computer Programming 1 |
Institution | AMA Computer University |
Pages | 6 |
File Size | 165.7 KB |
File Type | |
Total Downloads | 106 |
Total Views | 134 |
Loops and Auxillary, Programming Logic and Design Quiz 2 for busy people out there get this for reference! Lovelots....
PLD
It is use to execute a body of statements continuously as long as some condition continues to be true. Select one: a. For loop b. While loop c. Do-while loop d. Nested loop
When one loop appears inside another, the loop that contains the other loop is called the? Select one: a. For loop b. Nested loop c. Outer loop d. Inner loop
It provides you with three actions in one compact statement. Select one: a. If statement b. For statement c. Do-while statement d. While statement
One of the common mistakes with loop is using the wrong comparison with the loop control variable. Select one: True False Previous page
One of the common mistakes with loop is always initialize the loop control variable. Select one: True False It is a sequence of instructions that is constantly repeated until a certain condition is reached. Select one: a. Control b. Decision c. Array d. Loop It repeats a statement or group of statements while a given condition is true. Select one: a. For loop b. Nested Loop c. Do-While Loop d. While loop You can use one or more loop inside any another loop. Select one:
a. For loop b. While loop c. Do-while loop d. Nested loop While loop tests the condition before executing the loop body. Select one: True False For loop tests the condition at the end of the loop body. Select one: True False It is a sequence or list of values in computer memory. Select one: a. Control b. Statement c. Array d. Loop
Each array element is different from the others with a unique subscript, also called a/an? Select one: a. Value b. Constant
c. Index d. Length
It indicates the number of elements an array will hold. Select one: a. Condition b. Index c. Value d. Size All array elements have the same group name, but each individual element also has a unique subscript. Select one: True False When working with arrays, you can use constants as the Size of an Array. Select one: True False Question 17 Not yet answered Marked out of 1.00
Flag question
Question text It is simply a group of data types. Select one:
a. Statement b. Looping c. Condition d. Array
Once an array is created, its size can be change. Select one: True False
The size should be either a numeric constant or a symbolic constant in a one-dimensional array. Select one: True False
A variable which represent the list of items using two index. Select one: a. One-dimensional arrays b. Two-dimensional arrays c. Multi-dimensional arrays d. None of the above
This means trying to prepare for all possible errors before they occur. Select one: a. Alternative programming
b. Defensive programming c. Minimum programming d. Aggressive programming...