Save
...
Paper 2
2.5 Languages & IDEs
2.5.1 Languages & Translators
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Arun Ananthasekaram
Visit profile
Cards (24)
What are the two types of programming languages used within computer systems?
High-Level Languages
and
Low-Level Languages
View source
Why do programmers use high-level languages?
They are easier to understand and use, resembling natural human language.
View source
What is a key advantage of using high-level languages over low-level languages?
High-level languages lead to fewer errors and allow for more complex commands.
View source
What must happen to high-level languages before they can be run?
They must be translated into
machine code
(
binary
).
View source
Name three popular high-level programming languages.
Python
,
C++
, and
Java
View source
What do low-level languages not closely resemble?
A
natural human language
View source
When are low-level languages typically used?
When a
program
must be executed quickly or interacts directly with
hardware
.
View source
What are the two types of low-level languages?
Machine Code
and
Assembly Language
View source
What is machine code?
Pure
binary code
that
computers
can directly process and execute.
View source
Why is machine code difficult for humans to understand?
It is
extremely
tedious and complex.
View source
What is an advantage of using machine code?
It executes faster than
high-level
programs
.
View source
What does assembly language use to perform actions?
Specialised command
mnemonics
View source
Why do many programmers prefer assembly language over machine code?
It is easier to understand and spot
errors
.
View source
What is the function of a translator in programming?
It changes a program written in one
language
into another language.
View source
What are the two main types of translator?
Interpreter
and
Compiler
View source
How does an interpreter work?
It converts high-level language one line at a time into
machine code
and executes it.
View source
What is a key difference in execution speed between an interpreter and a compiler?
An interpreter is slower because it
reinterprets
code each time the program runs.
View source
What is one advantage of using a compiler?
It produces an
executable
file that can run on other
machines
without needing the compiler.
View source
How does error reporting differ between interpreters and compilers?
An interpreter reports errors immediately and stops the program from running.
View source
What must happen to compiled programs after changes are made?
They must be re-compiled.
View source
How do high-level languages compare to low-level languages in terms of ease of understanding?
High-level languages are easier to understand than low-level languages.
View source
Which type of language requires translation: high-level or low-level?
High-level
languages require translation.
View source
Which type of language is quicker to execute: high-level or low-level?
Low-level
languages are quicker to execute.
View source
What are the key features to compare between interpreters and compilers?
Execution Method
Execution Speed
Complexity
Error Reporting
Repetition
View source