Components Of Computer Language Instruction?

10 Questions | Total Attempts: 196

Settings
Please wait...
Computer Programming Quizzes & Trivia

There are five elements you need to be well informed with so that you can understand the different programming languages. The programming languages ad discussed in class include input, output, arithmetic, conditional, and looping. Take the short quiz below and get a chance to review what you have understood about components of computer language instructions so far! All the best!


Questions and Answers
  • 1. 
    When a programmer writes a program, the code is known as __________.
    • A. 

      Source code

    • B. 

      Object code

    • C. 

      Object module

    • D. 

      Load module

  • 2. 
    A compiler (or an assembler) converts source code into a ____________.
    • A. 

      Load module

    • B. 

      Excutable program

    • C. 

      Object module

    • D. 

      Source code

  • 3. 
    A linkage editor (linker) converts a set of object modules into a
    • A. 

      Structured design

    • B. 

      Source module

    • C. 

      Lunar module

    • D. 

      Load module, also known as an executable program

  • 4. 
    The advantage of a linked list over a basic list (array) is:
    • A. 

      It is easier to dynamically add and delete elements from a linked list.

    • B. 

      The linked list occupies less memory

    • C. 

      The linked list can be saved to disk easily

    • D. 

      There is no advantage over the basic list.

  • 5. 
    When modifying a queue, new elements are added only to the _____________ of the queue, and elements are removed only from the __________ of the queue.
    • A. 

      Front, front

    • B. 

      Front, rear

    • C. 

      Rear, rear

    • D. 

      Rear, front

  • 6. 
    This computer component links the other internal components, providing a pathway for data between the components.
    • A. 

      Memory

    • B. 

      Interface board

    • C. 

      Bus

    • D. 

      CPU

  • 7. 
    The act of physically transferring a unit of data between the memory and a peripheral device.
    • A. 

      Logical I/O

    • B. 

      Physical I/O

    • C. 

      Access I/O

    • D. 

      Peripheral I/O

  • 8. 
    A record is composed of one or more __________ which hold the data values.  
    • A. 

      Files

    • B. 

      Grooves

    • C. 

      Fields

    • D. 

      Nodes

  • 9. 
    • A. 

      Operation code and operands

    • B. 

      ASCII code and operands

    • C. 

      Relative address and physical I/O

    • D. 

      Interpreter and assembler

  • 10. 
    In a microcomputer, the responsibility for performing device specific tasks is assigned to a software routine called a ____________.  
    • A. 

      Channel

    • B. 

      Device driver

    • C. 

      Object module

    • D. 

      Service