🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

IT1708 Types of Computer Programming Quiz
10 Questions
1 Views

IT1708 Types of Computer Programming Quiz

Created by
@FashionableTransformation

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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 ______.

<p>understand</p> Signup and view all the answers

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

<p>print</p> Signup and view all the answers

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

<p>low-level</p> Signup and view all the answers

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 ______.

<p>translated</p> Signup and view all the answers

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

<p>translation</p> Signup and view all the answers

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

<p>not</p> Signup and view all the answers

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

<p>language</p> Signup and view all the answers

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

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Description

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.

Use Quizgecko on...
Browser
Browser