Computer Science - 9210 OxfordAQA

Classification Of Programming Languages

Overview

A processor understands one thing: patterns of bits that name an operation and the data it acts on. It has never seen a variable, a loop or the word IF. Everything you have written on this course had to be turned into those bit patterns before anything happened, and something did the turning.

This lesson is about the ladder between what you write and what the machine runs. You will meet the two levels of programming language that the specification names, low-level and high-level, and the two low-level forms, machine code and assembly language, which have a one-to-one correspondence with each other. You will learn why machine code is expressed in binary and is specific to a processor or family of processors, why almost every program is nevertheless written in a high-level language, and what the three common types of translator do: the interpreter, the compiler and the assembler.

Objectives

  1. Know that there are different levels of programming language:
  2. low-level language
  3. high-level language.
  4. Explain the main differences between low-level and high-level languages. Know that machine code and assembly language are considered to be low-level languages and explain the differences between them.
  5. Understand that ultimately all programming code written in high-level or assembly languages must be translated into machine code. Understand that machine code is expressed in binary and is specific to a processor or family of processors. Understand the advantages and disadvantages of low-level language programming compared with high-level language programming. Understand that there are three common types of program translator:
  6. interpreter
  7. compiler
  8. assembler.
  9. Explain the main differences between these three types of translator. Understand when it would be appropriate to use each type of translator.

Mind map

This topic is mapped out so you can see how the ideas connect.

Open the mind map in the app

Lesson Note

The specification says there are different levels of programming language and names two: low-level language and high-level language. The word level describes distance from the hardware, not difficulty and not quality.

Complete Note Available on the Green Bridge App

Get the Green Bridge CBT app on your phone or computer for the complete IGCSE library: past papers, mark schemes, mind maps, flashcards and audio lessons.

Full lesson notes with diagrams
AI-powered learning assistant
Timed mock exams marked the moment you finish
Available on Android, Windows, macOS, and Linux iOS app coming soon

Lesson Evaluation

Congratulations on completing the lesson on Classification Of Programming Languages. Now that youve explored the key concepts and ideas, its time to put your knowledge to the test. This section offers a variety of practice questions designed to reinforce your understanding and help you gauge your grasp of the material.

You will encounter a mix of question types, including multiple-choice questions, short answer questions, and essay questions. Each question is thoughtfully crafted to assess different aspects of your knowledge and critical thinking skills.

Use this evaluation section as an opportunity to reinforce your understanding of the topic and to identify any areas where you may need additional study. Don't be discouraged by any challenges you encounter; instead, view them as opportunities for growth and improvement.

  1. Which of these is a low-level language? A. Assembly language B. C# C. Python 3 D. Visual Basic Answer: A
  2. Machine code is: A. Expressed in binary and specific to a processor or family B. The same on every type of processor C. Written using English-like keywords D. Translated by an interpreter before it can run Answer: A
  3. Which translator converts assembly language into machine code? A. An assembler B. A compiler C. An interpreter D. A linker Answer: A
  4. Which statement about an interpreter is correct? A. It translates the whole program before any of it runs B. It produces an executable file that can be run later C. It translates and carries out one statement at a time D. It is not needed on the machine that runs the program Answer: C
  5. What is meant by saying that assembly language has a one-to-one correspondence with machine code? A. Each assembly instruction becomes one machine code instruction B. Assembly language and machine code look identical C. Each assembly program produces one file D. Assembly language runs at the same speed as a high-level language Answer: A

Work through these questions in the app

Work through these questions in the app

Practice Mock Questions

Want to practice mock questions on Classification Of Programming Languages? Download the Green Bridge CBT app to access mock questions and full practice assessments for this topic.

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning