Podcast
Questions and Answers
Low-level Languages – These are the languages that deal with a computer’s ______ components.
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.
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.
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 ______.
Machine Language – It is the language that the computer can directly ______.
Syntax – rules of the language, for example, ______ or write is used to produce an output.
Syntax – rules of the language, for example, ______ or write is used to produce an output.
Compiler – it is a program that translates a program written in a high-level language into a ______ language before executing the program statements.
Compiler – it is a program that translates a program written in a high-level language into a ______ language before executing the program statements.
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 ______.
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 ______.
Syntax errors – these are errors that might be encountered during the process of ______. An example is a misspelled command.
Syntax errors – these are errors that might be encountered during the process of ______. An example is a misspelled command.
Logical errors – errors that occur when the syntax of the program is correct, but the expected output is ______.
Logical errors – errors that occur when the syntax of the program is correct, but the expected output is ______.
An algorithm must be expressed completely in a natural language that anyone can follow, such as directions that can be written in the English ______.
An algorithm must be expressed completely in a natural language that anyone can follow, such as directions that can be written in the English ______.
Flashcards are hidden until you start studying
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.