Computer Science 9608 · 19

Computational thinking and problem-solving

11 questions. Open a question to solve it and check the official answer.

Reset
2016 October-November · Paper 31 · Q6(d)

Algorithms · 4 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 33 · Q6(d)

Algorithms · 4 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 May-June · Paper 41 · Q2(a)(ii)

Recursion · 1 mark · official answer ready

(ii) Write the line number from the pseudocode shown in part (b) that shows the procedure X is recursive. .............................. [1]

2016 May-June · Paper 41 · Q2(b)(i)

Recursion · 4 marks · official answer ready

(i) Complete the trace table for the dry-run of the pseudocode for the procedure CALL X(1, 9). MyList Index Item 1 2 3 4 5 6 7 8 9 10 [4]

2016 May-June · Paper 41 · Q2(b)(ii)

Recursion · 1 mark · official answer ready

(ii) State the purpose of procedure X when used with the array MyList. ............................................................................................................…

2016 May-June · Paper 42 · Q2(a)(ii)

Recursion · 1 mark · official answer ready

(ii) Write the line number from the pseudocode shown in part (b) that shows the procedure X is recursive. .............................. [1]

2016 May-June · Paper 42 · Q2(b)(i)

Recursion · 4 marks · official answer ready

(i) Complete the trace table for the dry-run of the pseudocode for the procedure CALL X(1, 9). MyList Index Item 1 2 3 4 5 6 7 8 9 10 [4]

2016 May-June · Paper 42 · Q2(b)(ii)

Recursion · 1 mark · official answer ready

(ii) State the purpose of procedure X when used with the array MyList. ............................................................................................................…

2016 May-June · Paper 43 · Q2(a)(ii)

Recursion · 1 mark · official answer ready

(ii) Write the line number from the pseudocode shown in part (b) that shows the procedure X is recursive. .............................. [1]

2016 May-June · Paper 43 · Q2(b)(i)

Recursion · 4 marks · official answer ready

(i) Complete the trace table for the dry-run of the pseudocode for the procedure CALL X(1, 9). MyList Index Item 1 2 3 4 5 6 7 8 9 10 [4]

2016 May-June · Paper 43 · Q2(b)(ii)

Recursion · 1 mark · official answer ready

(ii) State the purpose of procedure X when used with the array MyList. ............................................................................................................…