Skip to main content

Back to the full dot-point answer

EnglandComputer ScienceQuick questions

2.2 Problem solving and programming

Quick questions on Programming constructs, subroutines, scope, parameters and recursion - OCR A-Level Computer Science H446

3short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.

What is q1?
Show answer
State the difference between a count-controlled and a condition-controlled loop. [2 marks]
What is q2?
Show answer
State what every recursive subroutine must have to avoid infinite recursion. [1 mark]
What is q3?
Show answer
Explain one advantage of passing a parameter by reference. [2 marks]

Have a question we have not covered?

This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.

All Computer ScienceQ&A pages