Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).

Knowledge/A Level/H446/01 Computer systems/Types of Programming Language/Procedural languages

Procedural languages

Procedural languages.

1.2.4 Types of Programming Language

Practise exam questions

Types of Programming Language — Note 2 of 5

Candidates need to have knowledge and experience of using a procedural programming language for example Python, VB.NET etc. Candidates need to be experienced in using procedural programming features such as (but not limited to) variables, constants, selection, iteration, sequence, subroutines, string handling, file handling, Boolean and arithmetic operators. Candidates need to be able to read, trace, amend and write procedural program code.

What you need to know

Procedural languages structure a program as a sequence of instructions, grouped into procedures and functions that can be called when needed. Most programming you do in Python follows this paradigm.

What to know

  • Features: variables and constants, selection, iteration, sequence, subroutines, string handling, file handling, and Boolean and arithmetic operators, including MOD (the remainder: 17 MOD 5 = 2) and DIV (the whole-number quotient: 17 DIV 5 = 3).
  • Programs are executed top-down, calling subroutines as needed.
  • Subroutines make code reusable, easier to test and easier to maintain.
  • Data and the code that processes it are kept separate (unlike OOP, where they are combined in objects).
  • Suitable for problems that can be broken into a clear sequence of steps.

Code examples

Procedural code in Python
python
def calculate_total(prices):
    total = 0
    for price in prices:
        total = total + price
    return total

basket = [2.50, 1.20, 4.00]
print("Total:", calculate_total(basket))

Key terms

Procedural language

A language in which a program is a series of step-by-step instructions, broken down into subroutines (procedures and functions).

Variable

A named location in memory holding a value that can change while the program runs. 'An identifier' on its own does not describe what a variable is.

Exam technique

  • Tip:You need practical experience of reading, tracing, amending and writing procedural code.
  • Tip:Any real language or pseudocode is accepted if the logic works; structured English is not. When asked for the PURPOSE of a line, say what it achieves in this program, not what kind of statement it is.
  • Mistake:Printing the answer inside a function instead of RETURNING it. A function returns a value to the code that called it; a procedure does not. If the question gives you a function, call it with a parameter rather than rewriting it.
  • Mistake:Turning a for loop into a while loop by just changing the keyword. Set the counter before the loop, increase it inside the loop, and check the condition covers exactly the same values (watch for off-by-one errors).

Past exam questions

  • June 2024Paper 2Q1(a)(i)2marks
  • June 2024Paper 2Q1(a)(ii)1mark
  • June 2023Paper 1Q5(a)1mark
  • June 2023Paper 1Q5(b)5marks
  • June 2023Paper 2Q4(a)(i)1mark
  • June 2023Paper 2Q4(b)3marks
  • June 2022Paper 1Q5(a)(i)1mark
  • June 2022Paper 1Q5(a)(ii)1mark
  • June 2022Paper 1Q5(a)(iii)1mark
  • June 2022Paper 2Q1(b)(i)2marks
  • November 2021Paper 1Q6(c)4marks
  • November 2021Paper 2Q8(b)(ii)2marks
  • June 2019Paper 1Q2(d)5marks
  • June 2019Paper 1Q8(a)1mark
  • June 2019Paper 1Q8(e)2marks
  • June 2019Paper 2Q3(a)(v)2marks
  • June 2018Paper 1Q1(b)(iii)3marks
  • June 2018Paper 1Q8(c)4marks
  • June 2018Paper 2Q6(b)(vii)2marks
  • June 2017Paper 1Q7(e)4marks
  • June 2017Paper 1Q10(b)6marks
  • June 2017Paper 2Q3(b)4marks

Ready to test yourself?

Practise 1.2.4 questions
← Previous noteThe need for and characteristics of a variety of programming paradigms1.2.4 Types of Programming LanguageNext note →Assembly language and the Little Man Computer instruction set1.2.4 Types of Programming Language

Back to Types of Programming Language

Types of Programming Language

Note 2 of 5

  1. 1The need for and characteristics of a variety of programming paradigms
  2. 2Procedural languages
  3. 3Assembly language and the Little Man Computer instruction set
  4. 4Modes of addressing memory: immediate, direct, indirect and indexed
  5. 5Object-oriented languages: classes, objects, methods, attributes, inheritance, encapsulation, polymorphism
Topic overview