When you store data in a program it is stored in which of the following?
Loop
If statement
Variable
Whole numbers are stored using which data type?
Integer
String
Graphical objects
Text is stored using which data type?
Numbers with decimal places are stored using which of the following data types?
Real
By using different data types to store data in our programs, it is possible to do which of the following?
Check that the right sort of data has been entered
Check your code is going to work
Run your program faster
Which of the following pieces of data would be stored as an integer?
23.45
I like programming more than I like ice cream!
-872
What are arrays used for?
Storing numbers that can't be stored using an integer
To make sure your data is entered correctly (data validation)
Storing lists of data of the same data type
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?
Boolean
What would be the best data type to use if a program were to store the values true or false?
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