Skip to main content

Back to the full dot-point answer

EnglandComputer ScienceQuick questions

2.2 Programming fundamentals

Quick questions on Subprograms: procedures and functions - OCR GCSE Computer Science J277

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 procedure and a function. [1 mark]
What is q2?
Show answer
State what a parameter is. [1 mark]
What is q3?
Show answer
Write a line that generates a random whole number from 1 to 100 and stores it in a variable called target. [1 mark]

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