Introduction to Programming Languages
- 76Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
76 questions
- 1A language used to communicate instructions to a computer or other digital device is called a_____.
Hint
It plays a role for computers similar to the role English plays in human communication.
Answer
programming language
- 2In programming, a sequence of rules used to perform a specific task is called an_____.
Hint
It describes the steps or procedure for completing a task.
Answer
algorithm
- 3The rules that determine the structure in which a programming command is written are called_____.
Hint
This is concerned with how code is written rather than what it means.
Answer
syntax
- 4The meaning produced by a programming statement is called its_____.
Hint
This concept concerns what a correctly structured statement means.
Answer
semantics
- 5A programming language consists of a vocabulary and a set of_____rules for instructing a computer.
Hint
The word is related to grammar and describes rules for organizing instructions.
Answer
grammatical
- 6Each programming language has its own unique set of_____used in program instructions.
Hint
These are reserved or significant words provided by a language.
Answer
keywords
- 7Computers are electronic devices that understand only_____signals.
Hint
These signals are represented by different voltage levels.
Answer
electrical
- 8A high signal in a computer refers to a high_____, while a low signal refers to a low one.
Hint
The signal level is measured by the amount of electrical potential.
Answer
voltage
- 9Computers represent high voltage with_____and low voltage with 0.
Hint
This is the other binary digit.
Answer
1
- 10The digits 0 and 1 used to represent computer signals are called_____digits.
Hint
The term refers to a system based on two values.
Answer
binary
- 11The programming language formed from combinations of 0 and 1 and directly understood by a computer is_____language.
Hint
It is the most direct form of instructions for the processor.
Answer
machine
- 12The first generation of programming languages is known as_____level language.
Hint
This generation uses the computer's native binary instructions.
Answer
machine
- 13The first generation of programming languages was used primarily between_____and 1959.
Hint
This generation began in the 1940s.
Answer
1940
- 14First-generation machine language was used to program early computers based on_____tubes.
Hint
These electronic components preceded widespread transistor use.
Answer
vacuum
- 15Programs written in machine language were generally fast because the computer understood them_____.
Hint
No conversion step was required before execution.
Answer
directly
- 16Machine-language programs did not require the use of_____before execution.
Hint
These programs convert one programming language into machine code.
Answer
translators
- 17Machine-language programs became lengthy because every instruction had to be converted into_____digits.
Hint
These digits are 0 and 1.
Answer
binary
- 18Machine language was difficult for many people to understand because its_____coding was complex.
Hint
It uses combinations of only 0 and 1.
Answer
binary
- 19A program written for one machine could not generally run on another in machine language because the machines had different coding and_____.
Hint
The word refers to the physical components of the computers.
Answer
hardwares
- 20Because machine-language code was lengthy, writing it was very_____consuming.
Hint
The phrase describes the amount of time required.
Answer
time
- 21The second generation of programming languages is called_____language.
Hint
It replaced raw binary instructions with symbolic representations.
Answer
assembly
- 22Assembly language was used during the period from 1959 to_____.
Hint
This generation ended when third-generation languages emerged.
Answer
1965
- 23Assembly language uses symbolic representations of codes known as_____.
Hint
These symbols make instructions easier for programmers to remember.
Answer
Mnemonics
- 24Compared with machine language, assembly language was easier to write and understand and therefore was less_____prone.
Hint
The phrase describes a lower likelihood of mistakes.
Answer
error
- 25A program that translates assembly language into machine-level language is called an_____.
Hint
It is a translator specifically designed for assembly code.
Answer
assembler
- 26Assembly language required more time to execute than machine language because it first had to be converted into_____code.
Hint
This is the form directly understood by the computer.
Answer
machine
- 27Both machine language and assembly language are_____dependent.
Hint
Programs in these languages are tied to a particular computer's architecture.
Answer
machine
- 28The first and second generations of programming languages are collectively called_____level languages.
Hint
They are close to the computer's hardware and difficult for humans to use.
Answer
low
- 29The third generation of programming languages was developed in_____.
Hint
It emerged after the period associated with assembly language.
Answer
1965
- 30A major goal of third-generation languages was to allow programs to run on different computers, making them machine_____.
Hint
The opposite of machine dependent describes this feature.
Answer
independent
- 31The ability of a program to run on another computer with little or no modification is called_____.
Hint
This describes how easily software can be moved between systems.
Answer
portability
- 32Third-generation languages use_____words to represent variables, programming structures, and commands.
Hint
They use familiar human-language terms rather than binary symbols.
Answer
English
- 33A programming approach that divides a large program into smaller sections, each performing a specific task, is called_____programming.
Hint
It organizes a complex program into manageable parts.
Answer
structured
- 34Because they were easier for programmers to use, third-generation languages were also called_____friendly languages.
Hint
The phrase describes who benefits from the language's accessibility.
Answer
programmer
- 35FORTRAN, ALGOL, and COBOL were among the first_____generation programming languages.
Hint
They were early high-level languages that followed machine and assembly languages.
Answer
third
- 36Third-generation languages are also called_____level languages because they use English words.
Hint
This classification contrasts with machine and assembly languages.
Answer
high
- 37A translator is needed for a third-generation language because the computer directly understands only_____language.
Hint
This language consists of the computer's native instructions.
Answer
machine
- 38The need to translate third-generation code into machine code makes its program execution more_____taking.
Hint
The translation step adds time before execution.
Answer
time
- 39C++, C, C#, and Java are examples of modern_____generation programming languages.
Hint
They are common high-level languages that support general programming.
Answer
third
- 40Fourth-generation languages are closer to_____language than third-generation languages.
Hint
They are designed to be accessible even to people without formal programming training.
Answer
human
- 41Unlike third-generation languages, fourth-generation languages use common_____-like syntax and phrases.
Hint
Their syntax resembles ordinary communication more closely.
Answer
English
- 42A fourth-generation command can perform_____common operations at once.
Hint
One command may represent several operations.
Answer
multiple
- 43Fourth-generation languages can process large collections of information rather than focusing only on bits and_____.
Hint
A byte is a small unit of digital information.
Answer
bytes
- 44Database management, report generation, mathematical optimization, GUI development, and web development are applications of_____generation languages.
Hint
These languages are designed to handle large collections of information and common operations.
Answer
fourth
- 45A programming language that specifies what should be done while leaving how it is done to the language is called_____procedural.
Hint
It contrasts with a language that explicitly specifies the procedure.
Answer
non
- 46In fourth-generation programming, the programmer specifies the task and the_____used to carry it out is left to the language.
Hint
This refers to the implementation procedure rather than the desired result.
Answer
method
- 47A disadvantage of fourth-generation languages is that programmer control over the program and its_____is limited.
Hint
These include system capabilities used by the program.
Answer
resources
- 48Fourth-generation language packages require more disk space and large_____capacity.
Hint
This resource stores program packages and data during operation.
Answer
memory
- 49SQL, NATURAL, M-POWER, and LANSA are examples of_____generation languages.
Hint
These languages are used for tasks such as database management and report generation.
Answer
fourth
- 50The fifth generation of programming languages aims to make a computer solve a problem without the help of the_____.
Hint
The goal is to automate problem solving for the person writing the request.
Answer
programmer
- 51The concept of fifth-generation programming languages was first introduced in Japan in the early_____.
Hint
This refers to the early years of the 1990s.
Answer
90s
- 52Fifth-generation languages are used mainly in the development of_____intelligence research.
Hint
The phrase describes computer systems designed to imitate intelligent behavior.
Answer
artificial
- 53Because fifth-generation languages use automated systems, their development and maintenance are more_____.
Hint
Automation increases the complexity of creating and maintaining these systems.
Answer
complicated
- 54OPS5 and MERCURY are examples of_____generation programming languages.
Hint
They are associated with artificial intelligence and automated problem solving.
Answer
fifth
- 55The third, fourth, and fifth generations are collectively known as_____level languages.
Hint
They are more human-oriented and less tied to hardware.
Answer
high
- 56The first and second generations are machine dependent, whereas the third through fifth generations are machine_____.
Hint
High-level programs can generally move between different systems.
Answer
independent
- 57Low-level languages use binary digits or symbolic representations called_____, whereas high-level languages use English words and phrases.
Hint
Assembly language uses these symbols instead of raw binary instructions.
Answer
Mnemonics
- 58A program written in a high-level language can usually run on another computer, so high-level languages are considered_____.
Hint
This property means software can be moved between systems.
Answer
portable
- 59Programs written in low-level languages can interact_____with system hardware.
Hint
These languages are close to the computer's physical architecture.
Answer
directly
- 60High-level language programs cannot interact_____with system hardware.
Hint
They require translation and abstraction before the hardware can execute them.
Answer
directly
- 61Compared with high-level languages, low-level languages are more_____to learn and implement.
Hint
Binary and symbolic machine-oriented instructions are harder for humans.
Answer
difficult
- 62Compared with low-level languages, high-level languages are_____to learn and implement.
Hint
They use English words and phrases and hide hardware details.
Answer
easy
- 63A program that converts source code from another programming language into machine code is called a language_____.
Hint
It changes human-written code into object code that a computer can execute.
Answer
translator
- 64Language translators are also known as translators and language_____.
Hint
This term emphasizes that they process programming-language source code.
Answer
processors
- 65The three main types of language translators are assembler, compiler, and_____.
Hint
The missing type translates a program one statement at a time.
Answer
interpreter
- 66An assembler converts assembly-language source code into_____code.
Hint
This is the form directly executable by the processor.
Answer
machine
- 67The machine-language output produced by an assembler is called_____code.
Hint
It is the translated form of the original source code.
Answer
object
- 68A compiler generally converts high-level source code into_____code.
Hint
The computer's processor directly executes this form.
Answer
machine
- 69A compiler translates the_____program and produces machine code as a whole.
Hint
It does not normally translate only one statement at a time.
Answer
entire
- 70Because a compiler translates the program as a whole, compiled programs generally take_____time to execute than interpreted programs.
Hint
The comparison concerns the additional translation performed during execution.
Answer
less
- 71An interpreter translates a source program into machine language_____by statement.
Hint
It processes one individual instruction at a time.
Answer
statement
- 72An interpreter generally takes more overall time to execute a program because it translates the code_____by statement.
Hint
The repeated, incremental translation increases execution time.
Answer
statement
- 73A compiler reports errors only after scanning the_____program.
Hint
It first processes the complete source before presenting its error messages.
Answer
whole
- 74An interpreter stops execution when it encounters the_____error while translating the program.
Hint
It processes statements sequentially and does not continue past an encountered error.
Answer
first
- 75C and C++ generally use a_____to translate their source code.
Hint
These languages are associated with whole-program translation.
Answer
compiler
- 76Python and Ruby generally use an_____to translate their source code.
Hint
These languages are associated with statement-by-statement translation.
Answer
interpreter

Ask anything
We've read this whole study set, so questions about it get the best answers.