Data is stored differently depending on its type. Numbers are stored as integers or real numbers, text as string or characters. Lists of the same type of data can be stored in an array.
When you store data in a program it is stored in which of the following?
Whole numbers are stored using which data type?
Text is stored using which data type?
Numbers with decimal places are stored using which of the following data types?
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?
I like programming more than I like ice cream!
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?
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