CIS 115 Final Exam 1 CIS 115 Final Exam 1 | Page 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) 13. (TCO 8) Many algorithms require direct communication from users. These types of algorithms are called _____. (Points : 4) 14. (TCO 9) What type of error occurs when an array subscript’s value goes beyond the total number of elements in the array? (Points : 4) 15. (TCO 2) What type of variable can be accessed by any module within the design? (Points : 4)