Programming Fundimentals - Data Types 0.0 / 5 ? ComputingProgrammingGCSEAQA Created by: Dragon16Created on: 03-07-20 20:19 What is a data type? A data type is an atribute of data which shows how data shoule be handled in a program. 1 of 10 What is an integer? A whole number. E.g: 5, -4, 65, 2^3 2 of 10 what is a real number / float? A number with a decemol value . E.g: 3.15, -34.2, 10.00, 0.1 3 of 10 What is a boolean? Data with two values, usualy True or False. 4 of 10 What is a char / character? A single letter, number or symbol. E.g: 'A', '&', 's', '*' 5 of 10 What is a string? A string is a sequence of characters. E.g: 'Hello world!', 'hi' 6 of 10 What is date / time in a program? A value stating date or time, usually in the form: 00/00/000 or 00:00 7 of 10 What is a record? A collection of related data. E.g: 'person = [Will Robinson]'. 8 of 10 What is an array? A series of values with the same data type. E.g: an array of ten intagers: 1,5,3,9,64,8,4,12,7,2 9 of 10 What is a Pointer? A pointer stores the memory adress of a value or object in the computer memory. 10 of 10
Comments
No comments have yet been made