PreAP Computer Science Quiz 11.01- 02 Take out a piece of paper and PEN. The quiz starts ONE minute after the tardy bell rings. You will have 30 or 45 seconds per question.
Title the quiz as shown below The quiz starts in ONE minute. Name Period Date Quiz 11.01-02 1. 8. 2. 9. 3. 10. 4. 11. 5. 12. 6. 13. 14. EC.
Question 01 Which of the following is a primitive data type? int double char boolean All of the above
Question 02 A primitive data type is any data type that can store one value only. more than one value. numbers only. letters only.
Question 03 A data structure is any data type that can store one value only. more than one value. numbers only. letters only.
Question 04 Which is the first historical data structure? array record stack file
Question 05 The language FORTRAN introduced the array. record. stack. file.
Question 06 The language COBOL introduced the array. record. stack. file.
Question 07 An array is a data structure that stores elements of the same data type. Every element can be accessed directly. stores elements of the same data type. Elements can only be accessed at one end in a LIFO manner. stores elements of the same or different data types. allows transfer between internal and external storage.
Question 08 A record is a data structure that stores elements of the same data type. Every element can be accessed directly. stores elements of the same data type. Elements can only be accessed at one end in a LIFO manner. stores elements of the same or different data types. allows transfer between internal and external storage.
Question 09 A file is a data structure that stores elements of the same data type. Every element can be accessed directly. stores elements of the same data type. Elements can only be accessed at one end in a LIFO manner. stores elements of the same or different data types. allows transfer between internal and external storage.
Question 10 A stack is a data structure that stores elements of the same data type. Every element can be accessed directly. stores elements of the same data type. Elements can only be accessed at one end in a LIFO manner. stores elements of the same or different data types. allows transfer between internal and external storage.
Question 11 A one-dimensional array is frequently called a file. matrix. record. stack. vector.
Question 12 A two-dimensional array is frequently called a file. matrix. record. stack. vector.
Question 13 A class is a ______ that can also store methods. file matrix record stack vector
Question 14 Without the _______ data structure, it would be impossible to save anything for later use. file matrix record stack vector
Extra Credit In the improved data structure definition what characterizes a data structure? The amount of data stored The type of data stored The order of the data stored The manner in which data is stored and retrieved