WorksheetsLLL & HLL
Total questions: 20
Worksheet time: 10mins
Which of the following is NOT a property of a High Level Language?
Enables programs to be developed quickly
Commands resemble "natural" language
Commands are translated into machine code before they can be run
Enable the programmer to directly control system hardware
Which of the following statements about COMPILERS is TRUE?
Each line of the program needs to be translated each time it is run
Enables programs to be easily re-edited
Outputs the finished code into a complete machine code program
Each time an error is encountered, it stops the program and reports it
Which one of the following statements is FALSE?
Different types of microprocessors might have different instruction sets
Not every type of high level language is suitable for every task
Assembly language can be understood by computers
Low level language programs require less memory than high level languages
Which of the following is an example of a Low Level Language
JavaScript
Python
Assembly
C++
Which of the following is not an example of a Translator?
Compiler
Editor
Assembler
Interpreter
One advantage of programming in a high level language is.
Eliminates bugs
Easier to understand
Executes faster than other levels
Useful for programming device drivers
Define the relationship between low and high level languages.
One to One (One high level instruction = one low level)
One to Two (Each high level instruction has two low level instructions)
One to Many (Each high level instruction has many low level instructions)
Many to One (Many high level instruction has only one low level instruction)
What is used to translate assembly code.
Assembler
Compiler
Interpreter
Router
What is used to translate the entire source code in one go.
Assembler
Compiler
Interpreter
Router
QBasic, Java PASCAL are _______ level languages.
High
Low
Assembly
Assembly langauge is written using...
Binary/hexadecimal
English-like key words
Plain English
Abbreviated mnemonic keywords
What must you do if "Syntax Error" appears?
Check for flaws, edit, and rerun.
It may be a programmer's error.
Close the programme
Delete it
None of the above
A program written originally by a programmer using a high level programming language is
Object code
Machine code
Source program
Interactive programs
Choose the BEST word to complete this sentence:
A high-level programming language lets the programmer write code with a large amount of _____________ from the actual machine instructions of the processor.
memory
lines
abstraction
complexity
Choose the BEST word to complete this sentence:
Assembly code uses short, simple codes called ___________ to represent the instructions of a processor's instruction set.
mnemonics
opcodes
acronyms
abbreviations
Select all the High-level programming languages ...
Python
C#
PHP
Assembly
Select all the Low-level programming code ...
What is another name for the original untranslated program code?
Source code
Object code
Machine code
Assembly code
