Practice test

Data representation - Test Set 4

Review 20 exam-focused questions with detailed explanations, then start the interactive test when you are ready.

20 questions

Questions and explanations

  1. Question 1

    The first programming language developed was
    1. COBOL
    2. FORTRAN
    3. BASIC
    4. Pascal
    View explanation

    Sign In to See Explanations. Sign Up Here

  2. Question 2

    The first high-level programming language was
    1. C++
    2. BASIC
    3. FORTRAN
    4. Pascal
    View explanation

    Sign In to See Explanations. Sign Up Here

  3. Question 3

    Which of the following is a middle-level programming language?
    1. Assembly language
    2. Java
    3. Python
    4. C
    View explanation

    Sign In to See Explanations. Sign Up Here

  4. Question 4

    Which of the following is not a programming language?
    1. HTML
    2. Python
    3. C++
    4. Java
    View explanation

    Sign In to See Explanations. Sign Up Here

  5. Question 5

    Which of the following is not an example of a high-level programming language?
    1. Ruby
    2. Assembly
    3. Python
    4. Java
    View explanation

    Sign In to See Explanations. Sign Up Here

  6. Question 6

    The Python programming language was created by
    1. James Gosling
    2. Dennis Ritchie
    3. Guido van Rossum
    4. Bjarne Stroustrup
    View explanation

    Sign In to See Explanations. Sign Up Here

  7. Question 7

    Python is an example of which type of programming language?
    1. Low-level language
    2. Assembly language
    3. Machine language
    4. High-level language
    View explanation

    Sign In to See Explanations. Sign Up Here

  8. Question 8

    The C programming language was developed by
    1. Dennis Ritchie
    2. James Gosling
    3. Guido van Rossum
    4. Charles Babbage
    View explanation

    Sign In to See Explanations. Sign Up Here

  9. Question 9

    Which of the following is a database query language?
    1. Python
    2. SQL
    3. Java
    4. C++
    View explanation

    Sign In to See Explanations. Sign Up Here

  10. Question 10

    What does IDE stand for in software development?
    1. Internal Data Encoding
    2. Internet Data Explorer
    3. Integrated Development Environment
    4. Intelligent Debugging Engine
    View explanation

    Sign In to See Explanations. Sign Up Here

  11. Question 11

    A programming language that is close to human language is known as
    1. machine language
    2. assembly language
    3. low-level language
    4. high-level language
    View explanation

    Sign In to See Explanations. Sign Up Here

  12. Question 12

    Which of the following is a translator that translates source code into object target code?
    1. Compiler
    2. Assembler
    3. Interpreter
    4. Language processor
    View explanation

    Sign In to See Explanations. Sign Up Here

  13. Question 13

    Which of the following options best describes the truthfulness of the following statements?
    (I) Assembler is a software that converts a program written in assembly language into machine code.
    (II) Compiler converts a high level source code line-by-line into equivalent machine executable form.
    1. (I) FALSE (II) TRUE
    2. (I) TRUE (II) FALSE
    3. (I) TRUE (II) TRUE
    4. (I) FALSE (II) FALSE
    View explanation

    Sign In to See Explanations. Sign Up Here

  14. Question 14

    A/an ____________ converts and executes one statement at a time.
    1. loader
    2. converter
    3. interpreter
    4. compiler
    View explanation

    Sign In to See Explanations. Sign Up Here

  15. Question 15

    Which of the following is an example of a language translator software?
    1. Web browser
    2. Database
    3. Operating system
    4. Compiler
    View explanation

    Sign In to See Explanations. Sign Up Here

  16. Question 16

    The process of converting source code into machine code using a compiler is called
    1. compilation
    2. execution
    3. interpretation
    4. debugging
    View explanation

    Sign In to See Explanations. Sign Up Here

  17. Question 17

    What is the main function of a compiler?
    1. Converts assembly language to binary code
    2. Converts high-level language to machine code
    3. Converts machine code to high-level code
    4. Converts machine language to assembly code
    View explanation

    Sign In to See Explanations. Sign Up Here

  18. Question 18

    What is the role of an interpreter in programming?
    1. Converts machine code back to source code
    2. Converts entire source code into machine code at once
    3. Converts source code into machine code line by line
    4. Converts assembly code to binary
    View explanation

    Sign In to See Explanations. Sign Up Here

  19. Question 19

    Which of the following software is used to translate assembly language into machine code?
    1. Interpreter
    2. Compiler
    3. Debugger
    4. Assembler
    View explanation

    Sign In to See Explanations. Sign Up Here

  20. Question 20

    Which type of translator converts the entire program into machine code at once?
    1. Compiler
    2. Debugger
    3. Interpreter
    4. Assembler
    View explanation

    Sign In to See Explanations. Sign Up Here