OCR GCSE COMPUTER SCIENCE - DATA TYPES AND STRUCTURES TEST QUESTIONS AND ANSWERS
Which data type will only use whole numbers? Integer Which data type will use whole numbers as well as decimals? Float (Real) Which data type will only work with sections of text? String Which data type stores single letters, numbers and symbols as text? Character Which data type will store a true or false value? Boolean What is an array? Arrays allow for us to store multiple items of information on a given topic under one name. Example: name = ["John", "Joe", "James"] What is a multidimensional array? This is where an array contains other arrays each with separate information stored. Example: students = [["1", "James"],["2", "John"],["3", "Joe"]]
Escuela, estudio y materia
- Institución
- OCR GCSE COMPUTER SCIENCE
- Grado
- OCR GCSE COMPUTER SCIENCE
Información del documento
- Subido en
- 28 de diciembre de 2023
- Número de páginas
- 1
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
ocr gcse computer science data types
Documento también disponible en un lote