Exposure Java Exercises - vernonmath.comvernonmath.com/wp/wp-content/uploads/2014/03/Exerci…  ·...

2
PreAPCS Exposure Java Exercises 11.01- 02 Date: Name: Period: 1. List 4 simple/primitive data types. 2. How many values can be stored by a simple data type? 3. What is a data structure? 4. Any data type that can store more than one value is a ________________________. 5. What is another word for an array? 6. Arrays first became popular with what programming language? 7. Refer to your answer to the previous question. What or who was this language designed for? 8. What is an array? 9. A one-dimensional array is frequently also called a _______________. 10. A two-dimensional array is frequently also called a _______________. 11. If you need to store several pieces of data for many people, and you create one array for their names, another array for their addresses, another for their birthdates, another for their social security numbers, etc. What kind of arrays have you created? Exposure Java 2012, PreAPCS Edition Exercises 11.01-02 Page 1 03-27-12

Transcript of Exposure Java Exercises - vernonmath.comvernonmath.com/wp/wp-content/uploads/2014/03/Exerci…  ·...

Page 1: Exposure Java Exercises - vernonmath.comvernonmath.com/wp/wp-content/uploads/2014/03/Exerci…  · Web viewExposure Java 2012, PreAPCS Edition Exercises 11.01-02 Page 2 03-27-12.

PreAPCS Exposure Java Exercises 11.01- 02 Date:Name: Period:1. List 4 simple/primitive data types.

2. How many values can be stored by a simple data type?

3. What is a data structure?

4. Any data type that can store more than one value is a ________________________.

5. What is another word for an array?

6. Arrays first became popular with what programming language?

7. Refer to your answer to the previous question. What or who was this language designed for?

8. What is an array?

9. A one-dimensional array is frequently also called a _______________.

10. A two-dimensional array is frequently also called a _______________.

11. If you need to store several pieces of data for many people, and you create one array for their names, another array for their addresses, another for their birthdates, another for their social security numbers, etc. What kind of arrays have you created?

12. Records first became popular with what programming language?

13. What is a record?

14. What is a file?

15. What does the file data structure allow?

Exposure Java 2012, PreAPCS Edition Exercises 11.01-02 Page 1 03-27-12

Page 2: Exposure Java Exercises - vernonmath.comvernonmath.com/wp/wp-content/uploads/2014/03/Exerci…  · Web viewExposure Java 2012, PreAPCS Edition Exercises 11.01-02 Page 2 03-27-12.

16. What is a stack?

17. What does LIFO stand for?

18. What is one major difference between an array and a record?

19. What is the Improved Data Structure Definition?

20. What is the Improved Array Definition?

21. What do an array and a stack have in common?

22. Refer to the previous question. If they have this in common, why are they considered different data structures?

23. The languages FORTRAN and COBOL have been mentioned in this chapter. What do these language names stand for?

Exposure Java 2012, PreAPCS Edition Exercises 11.01-02 Page 2 03-27-12