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
2018 May-June · Paper 33 · Q7(a)(iv)

Programming basics · 5 marks

7 …………… [3] (a) A Boolean expression produces the following truth table. INPUT OUTPUT A B C X 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0 (iv) Write the simpli…

2018 May-June · Paper 33 · Q7(b)(i)

Programming basics · 7 marks

7 …………… [3] (b) A logic circuit with four inputs produces the following truth table. INPUT OUTPUT A B C D X 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 1 0 1 1 0 1 0…

2018 May-June · Paper 33 · Q7(b)(ii)

Programming basics · 5 marks

7 …………… [3] (b) A logic circuit with four inputs produces the following truth table. INPUT OUTPUT A B C D X 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 1 0 1 1 0 1 0…

2018 May-June · Paper 33 · Q7(b)(iii)

Programming basics · 5 marks

7 …………… [3] (b) A logic circuit with four inputs produces the following truth table. INPUT OUTPUT A B C D X 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 1 0 1 1 0 1 0…

2017 October-November · Paper 13 · Q5(a)(i)

Programming basics · 3 marks · official answer ready

(i) Name three components of a speaker. 1 ........................................................................................................................................ …

2017 October-November · Paper 22 · Q1(a)(iii)

Programming basics · 2 marks · official answer ready

(iii) An experienced programmer is presented with program code in an unfamiliar high-level language. State two features of the code that the programmer should be able to recognise…

2017 October-November · Paper 22 · Q10(c)

Programming basics · 11 marks

10 22 2 11 (c) The procedure is developed and run using the call TestRandom(200). No system errors are produced. To ensure that the procedure works correctly, you need to check th…

2017 October-November · Paper 31 · Q3(b)

Programming basics · 6 marks · official answer ready

(b) Complete the Backus-Naur Form (BNF) for the syntax diagrams shown. has been done for you. ::= .................................................................................…

2017 October-November · Paper 33 · Q3(b)

Programming basics · 6 marks · official answer ready

(b) Complete the Backus-Naur Form (BNF) for the syntax diagrams shown. has been done for you. ::= .................................................................................…

2017 May-June · Paper 11 · Q6(a)

Programming basics · 3 marks · official answer ready

6 (a) The operating system (OS) contains code for performing various management tasks. The appropriate code is run when the user performs various actions. Draw a line to link each…

2017 May-June · Paper 13 · Q6(a)

Programming basics · 3 marks · official answer ready

6 (a) The operating system (OS) contains code for performing various management tasks. The appropriate code is run when the user performs various actions. Draw a line to link each…

2017 May-June · Paper 21 · Q5

Programming basics · 10 marks · official answer ready

5 A multi-user computer system records user login information in a text file, LoginFile.txt. Each time a user successfully logs into the system, the following information is recor…

2017 May-June · Paper 23 · Q5

Programming basics · 10 marks · official answer ready

5 A multi-user computer system records user login information in a text file, LoginFile.txt. Each time a user successfully logs into the system, the following information is recor…

2017 May-June · Paper 31 · Q1(c)(i)

Programming basics · 1 mark · official answer ready

(i) @Temp2 .........................................................................................................................[1]

2017 May-June · Paper 31 · Q1(c)(ii)

Programming basics · 1 mark · official answer ready

(ii) IntPointer .................................................................................................................[1]

2017 May-June · Paper 31 · Q1(c)(iii)

Programming basics · 1 mark · official answer ready

(iii) IntPointer^ ...............................................................................................................[1]

2017 May-June · Paper 31 · Q1(c)(iv)

Programming basics · 1 mark · official answer ready

(iv) IntPointer^ = Temp2 + 6 .....................................................................................[1] 4

2017 May-June · Paper 32 · Q1(c)(i)

Programming basics · 1 mark · official answer ready

(i) IPointer .....................................................................................................................[1]

2017 May-June · Paper 32 · Q1(c)(ii)

Programming basics · 1 mark · official answer ready

(ii) IPointer^ ...................................................................................................................[1]

2017 May-June · Paper 32 · Q1(c)(iii)

Programming basics · 1 mark · official answer ready

(iii) @MyInt1 ......................................................................................................................[1]