Data types and structures
29 questions. Open a question to solve it and check the official answer.
Data types and records · 4 marks · official answer ready
(a) Write program code for the procedure PrintNameLine(Symbol, Name) Programming language .........................................................................................…
Files · 5 marks · official answer ready
(e) Zara wants to save the contents of the data structure Puzzle to a sequential file Puzzle.TXT Write program code for the procedure SavePuzzleToFile(Puzzle). Programming languag…
Data types and records · 5 marks · official answer ready
1 (a) A college provides courses for the local community. The Computing teacher, Ravi, wants to develop a program to keep details of the courses. One way of storing this data will…
Data types and records · 10 marks · official answer ready
(iii) Write program code to implement the pseudocode given in part (b). Remember to declare variables before you use them. The code is repeated here so that you do not need to tur…
Data types and records · 5 marks · official answer ready
1 (a) A college provides courses for the local community. The Computing teacher, Ravi, wants to develop a program to keep details of the courses. One way of storing this data will…
Data types and records · 10 marks · official answer ready
(iii) Write program code to implement the pseudocode given in part (b). Remember to declare variables before you use them. The code is repeated here so that you do not need to tur…
Data types and records · 18 marks · official answer ready
(a) Define the term multi-programming. ............................................................................................................................................…
Data types and records · 19 marks · official answer ready
(b) Suggest two items of systems software (A and B) that are currently loaded in main memory. A ...................................................................................…
Data types and records · 20 marks · official answer ready
(c) Describe three characteristics of batch processing. 1 .........................................................................................................................…
Data types and records · 19 marks · official answer ready
(i) Explain what is meant by the term ‘round-robin’. ..............................................................................................................................…
Data types and records · 22 marks · official answer ready
(ii) The program USER21 starts its time slice at time zero. The scheduler puts programs that are ready into the RUNNING state in the same order as the rows in the following diagra…
Data types and records · 18 marks · official answer ready
(iii) State what could have caused USER46 to become suspended. ....................................................................................................................…
Data types and records · 18 marks · official answer ready
(a) Define the term multi-programming. ............................................................................................................................................…
Data types and records · 19 marks · official answer ready
(b) Suggest two items of systems software (A and B) that are currently loaded in main memory. A ...................................................................................…
Data types and records · 20 marks · official answer ready
(c) Describe three characteristics of batch processing. 1 .........................................................................................................................…
Data types and records · 19 marks · official answer ready
(i) Explain what is meant by the term ‘round-robin’. ..............................................................................................................................…
Data types and records · 22 marks · official answer ready
(ii) The program USER21 starts its time slice at time zero. The scheduler puts programs that are ready into the RUNNING state in the same order as the rows in the following diagra…
Data types and records · 18 marks · official answer ready
(iii) State what could have caused USER46 to become suspended. ....................................................................................................................…
Files · 5 marks · official answer ready
(a) The table below shows five applications. For each application, choose the most appropriate storage medium from the list. Application Storage medium A programming text book pro…
Data types and records · 3 marks · official answer ready
(b) A date is stored in the format DDMMYYYY in the string variable TodaysDate. Use the function MID to separate the day, month and year. ThisDay ← ................................…
