High Level Language Activity 2
High Level Language Activity 2
1. Johan uses a code editor, a run-time environment and a project manager to aid his
production of game software.
a) State the type of program that will include all the above (1 mark)
High level language - Java
b) Describe each of the components that Johan uses, and explain how they assist
the programmer in producing software
Project manager:
Description (1 mark):
Manager who manages the project
Explanation (1 mark):
The project is managed by the project manager
Code editor:
Description (1 mark):
Tool used by programmers to write, edit and save codes
Explanation (1 mark):
It’s like a word processor but formatting options aren’t provided because formatting
could contaminate the embedded codes. Editors also make the process of writing codes
simpler. The statements that need to be run for a condition or as part of a loop are
indented, and conditional and iterative statements are identified.
Run-time environment:
Description (1 mark):
Allows the user to run a program on a platform that is different from the one in which
it was created.
2
Explanation (1 mark):
Only runs the program but the user can’t edit it. A developer can write a code that can
be executed in many platforms.
c) Name and describe one other type of program that Johan might use to produce
software (2 marks)
2. Madeleine is going on maternity leave. Her co-workers ask her to hand over the
high-level code and machine code of her latest project, so that they can continue to
work on it.
are binary and hexadecimals that only a computer system understands it (a form of low
level languages)
3
d) i) State two types of translation program that could convert the high-level code
into machine code. (2 marks)
4
ii) Give two differences between these two types of translation program (2 marks)
a compiler translates the whole chunk of high level code into machine code while an
interpreter converts line by line
3. Marco is asked to write the driver to interface between his project and the Windows
10 operating system. He must write it in assembly language.
is the language used by only programmers when they are using a special hardware
with instruction sets. The code usually doesn’t take up much space of the memory and
runs quickly.
b) State what type of translator program is required for Marco’s code to run on the CPU
(1 mark)
an assembler
c) Give one reason why driver software is often written in assembly language (1 mark)
because assembly code is utilized with special hardware upon the use of programmers
as the code is small in capacity and can be stored in registers which they could perform
its task quickly.