1. Home
  2. Explore
  3. Computer Science
  4. Introduction to Programming Languages

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Programming Languages

  • 76Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Language Foundations
A language used to communicate instructions to a computer or other digital device is called a
.

76 questions

  1. 1
    A 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

  2. 2
    In 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

  3. 3
    The 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

  4. 4
    The meaning produced by a programming statement is called its
    _____
    .
    Hint

    This concept concerns what a correctly structured statement means.

    Answer

    semantics

  5. 5
    A 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

  6. 6
    Each 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

  7. 7
    Computers are electronic devices that understand only
    _____
    signals.
    Hint

    These signals are represented by different voltage levels.

    Answer

    electrical

  8. 8
    A 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

  9. 9
    Computers represent high voltage with
    _____
    and low voltage with 0.
    Hint

    This is the other binary digit.

    Answer

    1

  10. 10
    The 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

  11. 11
    The 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

  12. 12
    The first generation of programming languages is known as
    _____
    level language.
    Hint

    This generation uses the computer's native binary instructions.

    Answer

    machine

  13. 13
    The first generation of programming languages was used primarily between
    _____
    and 1959.
    Hint

    This generation began in the 1940s.

    Answer

    1940

  14. 14
    First-generation machine language was used to program early computers based on
    _____
    tubes.
    Hint

    These electronic components preceded widespread transistor use.

    Answer

    vacuum

  15. 15
    Programs written in machine language were generally fast because the computer understood them
    _____
    .
    Hint

    No conversion step was required before execution.

    Answer

    directly

  16. 16
    Machine-language programs did not require the use of
    _____
    before execution.
    Hint

    These programs convert one programming language into machine code.

    Answer

    translators

  17. 17
    Machine-language programs became lengthy because every instruction had to be converted into
    _____
    digits.
    Hint

    These digits are 0 and 1.

    Answer

    binary

  18. 18
    Machine language was difficult for many people to understand because its
    _____
    coding was complex.
    Hint

    It uses combinations of only 0 and 1.

    Answer

    binary

  19. 19
    A 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

  20. 20
    Because machine-language code was lengthy, writing it was very
    _____
    consuming.
    Hint

    The phrase describes the amount of time required.

    Answer

    time

  21. 21
    The second generation of programming languages is called
    _____
    language.
    Hint

    It replaced raw binary instructions with symbolic representations.

    Answer

    assembly

  22. 22
    Assembly language was used during the period from 1959 to
    _____
    .
    Hint

    This generation ended when third-generation languages emerged.

    Answer

    1965

  23. 23
    Assembly language uses symbolic representations of codes known as
    _____
    .
    Hint

    These symbols make instructions easier for programmers to remember.

    Answer

    Mnemonics

  24. 24
    Compared 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

  25. 25
    A program that translates assembly language into machine-level language is called an
    _____
    .
    Hint

    It is a translator specifically designed for assembly code.

    Answer

    assembler

  26. 26
    Assembly 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

  27. 27
    Both machine language and assembly language are
    _____
    dependent.
    Hint

    Programs in these languages are tied to a particular computer's architecture.

    Answer

    machine

  28. 28
    The 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

  29. 29
    The third generation of programming languages was developed in
    _____
    .
    Hint

    It emerged after the period associated with assembly language.

    Answer

    1965

  30. 30
    A 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

  31. 31
    The 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

  32. 32
    Third-generation languages use
    _____
    words to represent variables, programming structures, and commands.
    Hint

    They use familiar human-language terms rather than binary symbols.

    Answer

    English

  33. 33
    A 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

  34. 34
    Because 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

  35. 35
    FORTRAN, 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

  36. 36
    Third-generation languages are also called
    _____
    level languages because they use English words.
    Hint

    This classification contrasts with machine and assembly languages.

    Answer

    high

  37. 37
    A 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

  38. 38
    The 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

  39. 39
    C++, C, C#, and Java are examples of modern
    _____
    generation programming languages.
    Hint

    They are common high-level languages that support general programming.

    Answer

    third

  40. 40
    Fourth-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

  41. 41
    Unlike third-generation languages, fourth-generation languages use common
    _____
    -like syntax and phrases.
    Hint

    Their syntax resembles ordinary communication more closely.

    Answer

    English

  42. 42
    A fourth-generation command can perform
    _____
    common operations at once.
    Hint

    One command may represent several operations.

    Answer

    multiple

  43. 43
    Fourth-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

  44. 44
    Database 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

  45. 45
    A 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

  46. 46
    In 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

  47. 47
    A 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

  48. 48
    Fourth-generation language packages require more disk space and large
    _____
    capacity.
    Hint

    This resource stores program packages and data during operation.

    Answer

    memory

  49. 49
    SQL, 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

  50. 50
    The 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

  51. 51
    The 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

  52. 52
    Fifth-generation languages are used mainly in the development of
    _____
    intelligence research.
    Hint

    The phrase describes computer systems designed to imitate intelligent behavior.

    Answer

    artificial

  53. 53
    Because 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

  54. 54
    OPS5 and MERCURY are examples of
    _____
    generation programming languages.
    Hint

    They are associated with artificial intelligence and automated problem solving.

    Answer

    fifth

  55. 55
    The third, fourth, and fifth generations are collectively known as
    _____
    level languages.
    Hint

    They are more human-oriented and less tied to hardware.

    Answer

    high

  56. 56
    The 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

  57. 57
    Low-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

  58. 58
    A 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

  59. 59
    Programs written in low-level languages can interact
    _____
    with system hardware.
    Hint

    These languages are close to the computer's physical architecture.

    Answer

    directly

  60. 60
    High-level language programs cannot interact
    _____
    with system hardware.
    Hint

    They require translation and abstraction before the hardware can execute them.

    Answer

    directly

  61. 61
    Compared 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

  62. 62
    Compared 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

  63. 63
    A 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

  64. 64
    Language translators are also known as translators and language
    _____
    .
    Hint

    This term emphasizes that they process programming-language source code.

    Answer

    processors

  65. 65
    The three main types of language translators are assembler, compiler, and
    _____
    .
    Hint

    The missing type translates a program one statement at a time.

    Answer

    interpreter

  66. 66
    An assembler converts assembly-language source code into
    _____
    code.
    Hint

    This is the form directly executable by the processor.

    Answer

    machine

  67. 67
    The machine-language output produced by an assembler is called
    _____
    code.
    Hint

    It is the translated form of the original source code.

    Answer

    object

  68. 68
    A compiler generally converts high-level source code into
    _____
    code.
    Hint

    The computer's processor directly executes this form.

    Answer

    machine

  69. 69
    A 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

  70. 70
    Because 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

  71. 71
    An interpreter translates a source program into machine language
    _____
    by statement.
    Hint

    It processes one individual instruction at a time.

    Answer

    statement

  72. 72
    An 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

  73. 73
    A compiler reports errors only after scanning the
    _____
    program.
    Hint

    It first processes the complete source before presenting its error messages.

    Answer

    whole

  74. 74
    An 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

  75. 75
    C and C++ generally use a
    _____
    to translate their source code.
    Hint

    These languages are associated with whole-program translation.

    Answer

    compiler

  76. 76
    Python and Ruby generally use an
    _____
    to translate their source code.
    Hint

    These languages are associated with statement-by-statement translation.

    Answer

    interpreter

1 of 76
Question 1 of 76

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent