Preview

05 - High Level Languages

 1. Which of the following in the list are valid features of High Level Languages?
1. Easier to write
2. Easier to read
3. Easier to maintain
4. Portable: can work across different CPU families
5. Supports a wide range of data types
6. Is incredibly fast (faster than assembly language) to execute
7. Is the oldest generation of language *hence the term 'high'*

  All of them

  None of them

  1,4,6,

  1,2,3,4,5

 2. High level languages were designed to be closer to human languages and are therefore easier to use/understand/ work with

  TRUE

  FALSE

 3. High level languages have been around for thousands of years and there about 10 of them in total (including machine code)

  FALSE

  TRUE

 4. Which of the following from the list are high level languages?
1.Python
2.VB.Net
3.Java
4.C
5.Assembly Language
6.Binary

  None of these are high level languages - they are low level!

  All of them except Assembly language and C

  All of them except Python and Java

  All of them except Assembly language and Binary

 5. An application is needed to convert High Level languages to machine code. What is this called?

  The computer

  The translator

  There is no such thing - but computer scientists are working on it as we speak

  The monitor

 6. A translator converts low level commands into a set of high level machine code instructions.

  FALSE

  TRUE

 7. What is 'portable code'?

  None of the above

  High level software can be written once and it will run on a number of different CPUs

  High level software is portable because it can be carried around on a flash drive

  High level software is not portable but machine code is (because it is smaller and easier to port)

 8. There are two types of translator - the compiler and the interpreter. What does the compiler do?

  Takes the source code and combines it with the CPUs electrical signals

  Takes the machine code and re-interprets it as Binary

  Takes the source code and destroys it

  Takes the source code and converts it all at once into machine code

 9. The following list is describing the….
Faster program development – it is less time consuming to write and then test the program. 

It is not necessary to remember the registers of the CPU and mnemonic instructions. 

Portability of a program from one machine to other. 

Each assembly language is specific to a particular type of CPU, 
but most high-level programming languages are generally portable 
across multiple architectures.

  The disadvantages of high level languages

  the advantages of high level languages

  None of the above

  the disadvantage of using a high level language for the internet

 10. High level languages are called ‘high-level’ because they are closer to human languages and are further removed from machine languages than assembly language

  TRUE

  FALSE