Data types and structures
185 questions. Open a question to solve it and check the official answer.
Data types and records · 1 mark · official answer ready
(iii) Explain what is meant by the term parameter. [1]
Files · 1 mark · official answer ready
(ii) State why user files currently being used are stored in RAM. [1]
Data types and records · 8 marks · official answer ready
(c) The responses from each student will be stored as a record consisting of the following For fields: Examiner's Use • FirstName • DateOfBirth • BookType • ReadsNovels Complete t…
Files · 0 marks · official answer ready
(f) The records will be held in a serial file. Give three statements from a high-level language that may be used for the file handling and explain what each does. Language 1
Data types and records · 8 marks · official answer ready
(c) The responses from each student will be stored as a record consisting of the following For fields: Examiner's Use • FirstName • DateOfBirth • BookType • ReadsNovels Complete t…
Files · 0 marks · official answer ready
(f) The records will be held in a serial file. Give three statements from a high-level language that may be used for the file handling and explain what each does. Language 1
Data types and records · 8 marks · official answer ready
(d) The responses from each student will be stored as a record consisting of the following fields: • FirstName • Age • FavouriteSport • ClubMember Complete the following table. On…
Files · 0 marks · official answer ready
(f) The records will be held in a direct access file. For Give four statements from a high-level programming language that may be used for Examiner's Use the file handling and exp…
Arrays · 6 marks
(i) (c + 5)/(b - c) [1]
Arrays · 11 marks
(ii) 3 * 9 - 6 / 2 [2] (c) Describe one benefit of storing an expression in reverse Polish. [1] (d) An expression in reverse Polish can be evaluated on a computer system using a s…
Arrays · 2 marks · official answer ready
(i) Describe the structure of a one-dimensional array. For Examiner's Use [2]
Arrays · 4 marks · official answer ready
(ii) Explain how a simple serial search can be carried out to locate a specific item in a one-dimensional array. [4]
Arrays · 2 marks · official answer ready
(i) Describe the structure of a two-dimensional array. For Examiner's Use [2]
Arrays · 4 marks · official answer ready
(ii) Explain how the contents of a two-dimensional array can be initialised to zero. [4]
Files · 4 marks · official answer ready
6 State an example of each of the following types of storage medium and give a use for each. For Examiner's Use (i) Magnetic Example Use [2] (ii) Solid state Example Use [2] 7
Arrays · 3 marks · official answer ready
5 (a) Describe how the contents of a one-dimensional array can be initialised to zero. For Examiner's Use [3]
Files · 3 marks · official answer ready
(a) File allocation table (FAT) [3]
Files · 2 marks · official answer ready
(d) file handling [2]
Introduction to abstract data types · 5 marks · official answer ready
(b) Explain how interrupts are dealt with by a processor and how interrupted jobs may later be resumed. [5]
Files · 5 marks · official answer ready
7 Backup files and archive files are taken from the STUDENT file. Explain the difference between backing up and archiving a file, making reference to the requirements of this appl…
