IT1708 Types of Computer Programming Quiz

FashionableTransformation avatar
FashionableTransformation
·
·
Download

Start Quiz

Study Flashcards

10 Questions

Low-level Languages – These are the languages that deal with a computer’s ______ components.

hardware

There are two (2) common low-level languages: machine language and ______ language.

assembly

High-level Languages – These are the programming languages that use natural languages, such as the ______ language.

English

Machine Language – It is the language that the computer can directly ______.

understand

Syntax – rules of the language, for example, ______ or write is used to produce an output.

print

Compiler – it is a program that translates a program written in a high-level language into a ______ language before executing the program statements.

low-level

Interpreter – this acts as a compiler, but it translates one (1) program statement at a time, this executes the statement as soon as it is ______.

translated

Syntax errors – these are errors that might be encountered during the process of ______. An example is a misspelled command.

translation

Logical errors – errors that occur when the syntax of the program is correct, but the expected output is ______.

not

An algorithm must be expressed completely in a natural language that anyone can follow, such as directions that can be written in the English ______.

language

Study Notes

Low-Level Languages

  • Deal with a computer's hardware components
  • Two common types are machine language and assembly language

Machine Language

  • The language that a computer can directly understand
  • No need for translation or compilation

High-Level Languages

  • Use natural languages, such as English
  • Require translation or compilation to execute

Compiler

  • Translates a program written in a high-level language into a machine language
  • Translates the entire program before executing the program statements

Interpreter

  • Acts as a compiler, but translates one program statement at a time
  • Executes the statement as soon as it is translated

Errors

Syntax Errors

  • Errors encountered during the process of compilation
  • Examples include misspelled commands

Logical Errors

  • Errors when the syntax of the program is correct, but the expected output is not achieved

Algorithm

  • Must be expressed completely in a natural language that anyone can follow
  • Examples include directions written in English

Test your knowledge about types of computer programming, including computer programs, the process of programming, and low-level languages like machine language and assembly language. Learn about the different aspects of planning, creating, and executing computer programs.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

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