11.2 Constructs
259 questions in this subtopic. Open a question to solve it and check the official answer.
Constructs · 9 marks · official answer ready
(i) The procedure, InsertRecord, takes as a parameter the customer record to be inserted into the hash table. The procedure makes use of the function Hash. Collisions will be mana…
Constructs · 8 marks · official answer ready
3 When an application program requests a file stored on a hard disk, the computer system reads the file. Use the statement labels A to H to complete the sequence of steps that des…
Constructs · 6 marks · official answer ready
(c) The CLASS table has primary key ClassID and stores the following data: ClassID Description StartDate ClassTime NoOfSessions AdultsOnly DAY01 Yoga beginners 12/01/2016 11:00 5 …
Constructs · 14 marks · official answer ready
12 Is TicketType = 'E' ? Complete the flowchart by putting the appropriate statement number in each flowchart symbol. Statement 5 has been done for you. 3 Start 5 Stop [6] 4 (b) T…
Constructs · 9 marks
12 Is TicketType = 'E' ? Complete the flowchart by putting the appropriate statement number in each flowchart symbol. Statement 5 has been done for you. 3 Start 5 Stop [6] 4 (c) T…
Constructs · 3 marks
19 ENDWHILE 7 (b) Identify the following constructs in the given program, using line numbers. For multi-line constructs give the first line number only. Construct Line number Assi…
Constructs · 0 marks · official answer ready
(a) A program flowchart will document the program. The flowchart will contain the following statements: Statement Statement number 1 Charge 0
Constructs · 14 marks · official answer ready
12 Is TicketType = 'E' ? Complete the flowchart by putting the appropriate statement number in each flowchart symbol. Statement 5 has been done for you. 3 Start 5 Stop [6] 4 (b) T…
Constructs · 9 marks
12 Is TicketType = 'E' ? Complete the flowchart by putting the appropriate statement number in each flowchart symbol. Statement 5 has been done for you. 3 Start 5 Stop [6] 4 (c) T…
Constructs · 3 marks
19 ENDWHILE 7 (b) Identify the following constructs in the given program, using line numbers. For multi-line constructs give the first line number only. Construct Line number Assi…
Constructs · 4 marks
(i) Term CHARACTERCOUNT("TSUNAMI") Term ............................................................................................................................[1]
Constructs · 4 marks
(ii) Answer1 ASC('G') + ASC() Answer1 ......................................................................................................................[1]
Constructs · 4 marks
(iii) Answer2 CHR(CHARACTERCOUNT("HELLO") + 70) Answer2 ......................................................................................................................[1]
Constructs · 2 marks
6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…
Constructs · 4 marks · official answer ready
(ii) Explain how the use of asymmetric key cryptography ensures that only Mariah can read the email. ..............................................................................…
Constructs · 1 mark
6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…
Constructs · 3 marks
6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…
Constructs · 1 mark
6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…
Constructs · 3 marks
6 0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in mem…
Constructs · 3 marks · official answer ready
(iii) Explain what happens to Page 1 and Page 3, each time the loop is executed. ..................................................................................................…
