0% found this document useful (0 votes)
79 views

High Level Language Activity 2

1. Johan uses various software development tools to aid in game software production, including a code editor, runtime environment, and project manager. The code editor assists with writing and formatting code, the runtime environment allows running the program on different platforms, and the project manager oversees the project. 2. Madeleine is going on leave and needs to hand over the high-level code and machine code of her latest project. High-level code is written in programming languages and is portable and human-readable, while machine code consists of binary instructions only understandable by computers. 3. Marco must write a driver in assembly language, which is a low-level language close to machine code. An assembler is needed

Uploaded by

TeeNam
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

High Level Language Activity 2

1. Johan uses various software development tools to aid in game software production, including a code editor, runtime environment, and project manager. The code editor assists with writing and formatting code, the runtime environment allows running the program on different platforms, and the project manager oversees the project. 2. Madeleine is going on leave and needs to hand over the high-level code and machine code of her latest project. High-level code is written in programming languages and is portable and human-readable, while machine code consists of binary instructions only understandable by computers. 3. Marco must write a driver in assembly language, which is a low-level language close to machine code. An assembler is needed

Uploaded by

TeeNam
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Practice Exam Questions: Translators and Languages

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)

C++. A high-level language, an object-oriented programming language (OOP) that


many consider to be the finest one for making big applications. The C language is a
superset of C++. Java, a closely comparable programming language, is based on C++
and is tailored for the distribution of program objects across a network like the
Internet.

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.

a) Explain what is meant by ‘high-level code’ (3 marks)

enable programmers to write programs for a computer without knowledge of the


hardware and instructions. It’s portable. It’s easy for humans to understand

b) Explain what is meant by ‘machine code’ (3 marks)

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)

compiler and interpreter

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.

a) Explain what is meant by ‘assembly language’ (2 marks)

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.

You might also like