Computer Science 9608 · 11

11.2 Constructs

259 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2017 May-June · Paper 43 · Q2(b)(i)

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…

2016 October-November · Paper 12 · Q3

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…

2016 October-November · Paper 12 · Q9(c)

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 …

2016 October-November · Paper 21 · Q12

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…

2016 October-November · Paper 21 · Q12(c)

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…

2016 October-November · Paper 21 · Q19(b)

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…

2016 October-November · Paper 23 · Q1(a)

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

2016 October-November · Paper 23 · Q12

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…

2016 October-November · Paper 23 · Q12(c)

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…

2016 October-November · Paper 23 · Q19(b)

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…

2016 October-November · Paper 23 · Q19(b)(i)

Constructs · 4 marks

(i) Term CHARACTERCOUNT("TSUNAMI") Term ............................................................................................................................[1]

2016 October-November · Paper 23 · Q19(b)(ii)

Constructs · 4 marks

(ii) Answer1 ASC('G') + ASC() Answer1 ......................................................................................................................[1]

2016 October-November · Paper 23 · Q19(b)(iii)

Constructs · 4 marks

(iii) Answer2 CHR(CHARACTERCOUNT("HELLO") + 70) Answer2 ......................................................................................................................[1]

2016 October-November · Paper 31 · Q6(a)(ii)

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…

2016 October-November · Paper 31 · Q6(b)(ii)

Constructs · 4 marks · official answer ready

(ii) Explain how the use of asymmetric key cryptography ensures that only Mariah can read the email. ..............................................................................…

2016 October-November · Paper 31 · Q6(c)(i)

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…

2016 October-November · Paper 31 · Q6(c)(ii)

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…

2016 October-November · Paper 31 · Q6(c)(iii)

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…

2016 October-November · Paper 31 · Q6(c)(iv)

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…

2016 October-November · Paper 32 · Q3(c)(iii)

Constructs · 3 marks · official answer ready

(iii) Explain what happens to Page 1 and Page 3, each time the loop is executed. ..................................................................................................…