Computer Science 9608 · 11

11.1 Programming basics

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

Reset
2021 October-November · Paper 11 · Q7(a)(ii)

Programming basics · 2 marks · official answer ready

(ii) State two input/output device management tasks performed by the OS. 1 ........................................................................................................…

2021 May-June · Paper 31 · Q4(a)(iii)

Programming basics · 2 marks · official answer ready

(iii) The K-map can be used to simplify the expression in part (a)(i). Draw loops around appropriate groups of 1s in the table in part (a)(ii) to produce an optimal sum-of-product…

2021 May-June · Paper 31 · Q4(a)(iv)

Programming basics · 2 marks · official answer ready

(iv) Write the simplified sum-of-products expression for your answer to part (a)(iii). X = ........................................................................................…

2021 May-June · Paper 31 · Q5(a)

Programming basics · 3 marks · official answer ready

(a) Give reasons why each of these statements is invalid. X = XY + 21 .............................................................................................................…

2021 May-June · Paper 31 · Q5(b)

Programming basics · 5 marks · official answer ready

(b) Complete the Backus-Naur Form (BNF) for the syntax diagrams shown. has been completed for you. ::= X|Y|Z ::= ..................................................................…

2021 May-June · Paper 31 · Q5(c)(ii)

Programming basics · 3 marks · official answer ready

(ii) Give the BNF for the revised variable. .......................................................................................................................................…

2021 May-June · Paper 31 · Q7(a)(ii)

Programming basics · 2 marks · official answer ready

(ii) Justify your answer to part (i). ........................................................................................................................................... .…

2021 May-June · Paper 32 · Q4(a)(iii)

Programming basics · 2 marks · official answer ready

(iii) The K-map can be used to simplify the expression in part (a)(i). Draw loops around appropriate groups of 1s in the table in part (a)(ii) to produce an optimal sum-of-product…

2021 May-June · Paper 32 · Q4(a)(iv)

Programming basics · 2 marks · official answer ready

(iv) Write the simplified sum-of-products expression for your answer to part (a)(iii). X = ........................................................................................…

2021 May-June · Paper 32 · Q6(a)

Programming basics · 3 marks · official answer ready

(a) Give reasons why each of these statements is invalid. X1 = Y - 21 .............................................................................................................…

2021 May-June · Paper 32 · Q6(b)

Programming basics · 5 marks · official answer ready

(b) Complete the Backus-Naur Form (BNF) for the syntax diagrams shown. has been completed for you. ::= X|Y|Z ::= ..................................................................…

2021 May-June · Paper 32 · Q8(a)(ii)

Programming basics · 2 marks · official answer ready

(ii) Justify your answer to part (i). ........................................................................................................................................... .…

2021 May-June · Paper 33 · Q4(a)(iii)

Programming basics · 2 marks · official answer ready

(iii) The K-map can be used to simplify the expression in part (a)(i). Draw loops around appropriate groups of 1s in the table in part (a)(ii) to produce an optimal sum-of-product…

2021 May-June · Paper 33 · Q4(a)(iv)

Programming basics · 2 marks · official answer ready

(iv) Write the simplified sum-of-products expression for your answer to part (a)(iii). X = ........................................................................................…

2021 May-June · Paper 33 · Q5(a)

Programming basics · 3 marks · official answer ready

(a) Give reasons why each of these statements is invalid. X = XY + 21 .............................................................................................................…

2021 May-June · Paper 33 · Q5(b)

Programming basics · 5 marks · official answer ready

(b) Complete the Backus-Naur Form (BNF) for the syntax diagrams shown. has been completed for you. ::= X|Y|Z ::= ..................................................................…

2021 May-June · Paper 33 · Q5(c)(ii)

Programming basics · 3 marks · official answer ready

(ii) Give the BNF for the revised variable. .......................................................................................................................................…

2021 May-June · Paper 33 · Q7(a)(ii)

Programming basics · 2 marks · official answer ready

(ii) Justify your answer to part (i). ........................................................................................................................................... .…

2019 October-November · Paper 13 · Q6(a)(iii)

Programming basics · 1 mark · official answer ready

(iii) Identify the line number of the JavaScript code that takes data the user has input and stores it in a variable. .............................................................…

2019 October-November · Paper 31 · Q4(c)

Programming basics · 2 marks · official answer ready

(c) Draw loops around appropriate groups in the K-map in part (b) to produce an optimal sum-of- products. [2]