CIS 115 All Assignments CIS 115 All Assignments | Page 5

Set EndIf Display Z (Points : 4) 1. (TCO 5) The variable used to create an expression controlling the loop is known as the _____. (Points : 4) 2. (TCO 5) Which of the following statements is false? (Points : 4) 3. (TCO 5) Which control structure is classified as a loop? (Points : 4) 4. (TCO 5) Repetition that loops a certain number of times is typically referred to as _____. (Points : 4) 5. (TCO 5) How many times will the following loop be executed? Set DOWHILE x <> 7 Display x Set + 1 ENDO (Points : 4) 6. (TCO 7) What is a subscript or an index? (Points : 4) 7. (TCO 7) Suppose you have an array named number and two of its elements are number(1) and number(4). You know that _____. (Points : 4) 8. (TCO 7) What is the value of the index used to access the last element in a zero-based array declared as num(12)? (Points : 4) 9. (TCO 7) When loading/initializing the elements of an array, what control structure is used to move through each element within the array? (Points : 4) 10. (TCO 7) A zero-based array named sales has been declared and loaded with the values: 100, 1100, 3400, 5550, 3000, 22300, 1200. What value will be stored in the array element, sales(2)? (Points : 4) 11. (TCO 6) A record contains _____. (Points : 4) 12. (TCO 6) What are the three modes of operation on a file? (Points : 4)