2.5 Programming Languages and IDEs Flashcards
Define a high level language
The source
code is easy for humans to write
as the instructions are very similar
to English and Maths we use.
Give an example of a high level language
Python
Define a low level language
Low Level Languages are more
difficult for humans to read and
write. They use commands which
are close to the computer’s
instruction set.
Define machine code
Machine code is the set of
instructions that a CPU
understands directly. A program
written in machine code would
consist of only 0s and 1s
Define assembly language
Assembly language sits between
machine code and high-level
languages. Assembly language
uses mnemonics Each mnemonic
equals a machine code instruction.
What do translators do?
Translators convert programming
languages into machine code. This
needs to be done so that the
computer can execute the
instructions.
What does a compiler do?
A Compiler translates all of the
source code at the same time and
creates an executable file. When
compiling is complete it will return
a list of errors for the program.
What does an interpreter do?
An Interpreter translates and runs
the source code one instruction at
a time. You need the interpreter
every time you run the program.
What does IDE stand for?
Integrated Development Environment
What is an IDE?
The IDE is a piece of software that
provides features to help a
programmer to develop their
program.
Give an example of an IDE
IDLE Python
What is a code editor?
This is the part of the IDE where
the code is written. Most code
editors will have line numbering,
auto-colouring, auto-indentation
and auto-complete.
What does a Run Time Environment do?
This allows the code to be run
quickly within the IDE. This is
usually done using a run button.
What is a break point and what does it do?
‘Breakpoints’ can be placed in the
code and when that point is
reached in the program as it runs,
it stops and allows you to see
variable values at that instant.
What does Error Diagnostics and Bugging do?
This helps you to find and fix
errors in a program. It will tell you
the location of the error and
suggest ways to fix it.