Computing 9691 · 11

11.3 Structured programming

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

Reset
2013 May-June · Paper 31 · Q7(b)(ii)

Structured programming · 2 marks · official answer ready

(ii) Use the following numbers to label your function header above. 1. Function parameter(s) 2. Where the return data type is stated [2]

2013 May-June · Paper 32 · Q7(b)(ii)

Structured programming · 2 marks · official answer ready

(ii) Use the following numbers to label your function header above. 1. Function parameter(s) 2. Where the return data type is stated [2]

2012 October-November · Paper 21 · Q8(d)(iii)

Structured programming · 39 marks

(iii) State one parameter that would be passed to the procedure AddBikeRecord. [1] 15 16 reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but i…

2012 October-November · Paper 32 · Q8(a)(iv)

Structured programming · 2 marks · official answer ready

(iv) State the parameter identifiers for the function given above. [2] 15

2012 May-June · Paper 21 · Q3(d)(iii)

Structured programming · 18 marks

(iii) State why Gina used a function rather than a procedure. [1]

2012 May-June · Paper 22 · Q3(d)(iii)

Structured programming · 18 marks

(iii) State why Gina used a function rather than a procedure. [1]

2012 May-June · Paper 23 · Q4(b)(i)

Structured programming · 9 marks · official answer ready

(i) State the parameter of the function. [1]

2011 October-November · Paper 31 · Q8(a)(i)

Structured programming · 0 marks · official answer ready

(i) Local variable

2011 October-November · Paper 31 · Q8(a)(iii)

Structured programming · 0 marks · official answer ready

(iii) Parameter passed by value

2011 October-November · Paper 31 · Q8(b)

Structured programming · 4 marks · official answer ready

(b) Explain how a stack is used to handle procedure calling and parameter passing. [4] 11

2009 October-November · Paper 32 · Q4(c)(i)

Structured programming · 2 marks · official answer ready

(i) Explain the difference between a local variable and a global variable. [2]

2009 October-November · Paper 32 · Q4(c)(ii)

Structured programming · 2 marks · official answer ready

(ii) Explain the difference between passing a parameter by value and by reference. [2]

2009 October-November · Paper 32 · Q4(d)(i)

Structured programming · 2 marks · official answer ready

(i) variables to hold the three examination marks, [2]

2009 October-November · Paper 32 · Q4(d)(ii)

Structured programming · 2 marks · official answer ready

(ii) total mark. [2] 3

2009 May-June · Paper 3 · Q2(b)(ii)

Structured programming · 2 marks · official answer ready

(ii) Describe what is meant by a function. [2]

2008 October-November · Paper 3 · Q7(a)(ii)

Structured programming · 2 marks · official answer ready

(ii) a parameter that is passed to a procedure. [2]

2008 October-November · Paper 3 · Q7(b)

Structured programming · 4 marks · official answer ready

(b) Explain how a stack is used to handle procedure calling and parameter passing. [4]

2007 May-June · Paper 3 · Q6(b)(i)

Structured programming · 0 marks · official answer ready

(i) local variable,

2007 May-June · Paper 3 · Q6(b)(ii)

Structured programming · 4 marks · official answer ready

(ii) global variable. [4]

2007 May-June · Paper 3 · Q6(d)

Structured programming · 2 marks · official answer ready

(d) Explain the purpose of a loader in the running of the final program. [2]