Computer Science - 9210 OxfordAQA

Classification Of Programming Languages

Aperçu

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.

Objectifs

  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.

Carte mentale

Ce theme est schematise pour montrer comment les idees se relient.

Ouvrez la carte mentale dans l'application

Note de cours

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.

Fiche complete disponible sur l'application Green Bridge

Installez l'application Green Bridge CBT sur votre telephone ou votre ordinateur pour acceder a toute la bibliotheque IGCSE : sujets d'examen, baremes, cartes mentales, fiches memo et lecons audio.

Notes de cours complètes avec diagrammes
Assistant d'apprentissage piloté par l'IA
Des examens blancs chronometres, corriges des que vous terminez
Disponible sur Android, Windows, macOS et Linux Application iOS bientot disponible

Évaluation de la leçon

Félicitations, vous avez terminé la leçon sur Classification Of Programming Languages. Maintenant que vous avez exploré le concepts et idées clés, il est temps de mettre vos connaissances à lépreuve. Cette section propose une variété de pratiques des questions conçues pour renforcer votre compréhension et vous aider à évaluer votre compréhension de la matière.

Vous rencontrerez un mélange de types de questions, y compris des questions à choix multiple, des questions à réponse courte et des questions de rédaction. Chaque question est soigneusement conçue pour évaluer différents aspects de vos connaissances et de vos compétences en pensée critique.

Utilisez cette section d'évaluation comme une occasion de renforcer votre compréhension du sujet et d'identifier les domaines où vous pourriez avoir besoin d'étudier davantage. Ne soyez pas découragé par les défis que vous rencontrez ; considérez-les plutôt comme des opportunités de croissance et d'amélioration.

  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

Travaillez ces questions dans l'application

Travaillez ces questions dans l'application

Pratiquez des questions blanches

Vous voulez vous entraîner sur des questions blanches sur Classification Of Programming Languages ? Téléchargez lapplication Green Bridge CBT pour accéder à des questions blanches et à des évaluations complètes sur ce sujet.

Téléchargez l'application sur Google Play.

Tout ce dont vous avez besoin pour exceller au JAMB, WAEC et NECO.

Green Bridge CBT Mobile App
Assistant de chat d'apprentissage personnalisé par IA
Plus de 200 000 questions d'examen IGCSE, JAMB, WAEC et NECO.
Plus de 1200 notes de cours
Assistance Hors Ligne - Apprenez à Tout Moment, Partout
Horaire du Pont Vert
Résumés littéraires et questions potentielles
Suivez vos performances et votre progression
Explications Approfondies pour un Apprentissage Complet