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"]]
Written for
- Institution
- OCR GCSE COMPUTER SCIENCE
- Course
- OCR GCSE COMPUTER SCIENCE
Document information
- Uploaded on
- December 28, 2023
- Number of pages
- 1
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
ocr gcse computer science data types
Also available in package deal