Data types and structures test questions

1

When you store data in a program it is stored in which of the following?

2

Whole numbers are stored using which data type?

3

Text is stored using which data type?

4

Numbers with decimal places are stored using which of the following data types?

5

By using different data types to store data in our programs, it is possible to do which of the following?

6

Which of the following pieces of data would be stored as an integer?

7

What are arrays used for?

8

What data type would you use if you were going to store a person's age in a program and then use it calculate how many years it is until they were 100 years old?

9

What would be the best data type to use if a program were to store the values true or false?

10

Which data type is most appropriate for storing the student_mark variable used in the code shown below.

SEND “Please enter your test percentage as a whole number” TO DISPLAY

RECEIVE student_mark FROM (INTEGER) KEYBOARD