Evolution of High-Level Language Programming Quiz

StellarTigerSEye avatar
StellarTigerSEye
·
·
Download

Start Quiz

Study Flashcards

6 Questions

Which type of languages require separate programs like an assembler to translate instructions to machine code?

High-level languages

What type of translator translates high-level instructions into machine code, line by line as the program is running?

Interpreter

Which programming languages allow programmers to use English commands to carry out instructions?

High-level languages

What is the function of a compiler in programming?

Translates the entire program into machine code before running the program

What is the purpose of an assembler in programming?

Translates assembly language into machine code

High-Level Language Programming in machine and assembly languages are too tedious and require highly trained programmers. It is necessary for both languages to have numerous instructions to accomplish even the simplest task. To speed up the programming process, high-level languages were developed. High- level languages allowed programmers to use English commands to carry out instructions. Examples are: BASIC, COBOL, Pascal, FORTRAN, C, etc. These languages require separate programs like an ______ to translate instructions to machine code. The translators used were an interpreter or compiler. An interpreter translates high-level instructions into machine code, line by line as the program is running, while a compiler translates the entire program into machine code before running the program.

assembler

Study Notes

Low-Level Languages and the Need for Translation

  • Machine and assembly languages are too tedious and require highly trained programmers.
  • These languages require numerous instructions to accomplish even the simplest task.

Development of High-Level Languages

  • High-level languages were developed to speed up the programming process.
  • These languages allow programmers to use English commands to carry out instructions.

Examples of High-Level Languages

  • BASIC
  • COBOL
  • Pascal
  • FORTRAN
  • C

Translation of High-Level Languages

  • High-level languages require separate programs to translate instructions to machine code.
  • Two types of translators are used: interpreter and compiler.

Function of Interpreter

  • An interpreter translates high-level instructions into machine code, line by line as the program is running.

Function of Compiler

  • A compiler translates the entire program into machine code before running the program.
  • A compiler is a type of translator that translates high-level instructions into machine code.

Function of Assembler

  • An assembler is a type of translator that translates instructions to machine code.
  • It is necessary for low-level languages like machine and assembly languages.

Test your knowledge of high-level language programming with this quiz! Explore the evolution from machine and assembly languages to high-level languages and their benefits. Identify examples of high-level languages and understand how they have revolutionized programming.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser