Podcast Beta
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 ______.
Signup and view all the answers
Syntax – rules of the language, for example, ______ or write is used to produce an output.
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.
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 ______.
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.
Signup and view all the answers
Logical errors – errors that occur when the syntax of the program is correct, but the expected output is ______.
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 ______.
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.
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.