Lesson 2.5.1

2.5.1 Languages Quiz: OCR Computer Science, Unit 11

20 questions

In partnership with Revision Ninja

Lesson 2.5.1, Languages: 20 multiple choice questions for the OCR GCSE Computer Science (J277), Unit 11: Programming languages and Integrated Development Environments, written with Revision Ninja.

Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.

Host this setFree Play

The 20 questions

  1. What is a key characteristic of a high-level programming language?

    • Machine code
    • Platform independent
    • Binary format
    • Processor specific
  2. How do low-level programming languages relate to hardware?

    • Uncompiled code
    • Human readable
    • Platform independent
    • Processor specific
  3. What is the main function of a language translator in programming?

    • Designing circuits
    • Executing hardware
    • Storing databases
    • Converting source code
  4. Which translator converts whole high-level code into machine code before execution?

    • Editor
    • Interpreter
    • Assembler
    • Compiler
  5. Which translator executes high-level source code line by line?

    • Linker
    • Assembler
    • Compiler
    • Interpreter
  6. What is a major advantage of using a compiler over an interpreter?

    • Faster execution
    • Easier debugging
    • Instant translation
    • Smaller file
  7. What is a primary advantage of using an interpreter during software development?

    • Faster execution
    • Machine code file
    • Standalone executable
    • Line-by-line debugging
  8. What is a main drawback of using an interpreter?

    • Slower execution
    • Requires source code
    • No error reporting
    • Complex setup
  9. A teacher wants students to see errors as they type code and to run it line by line. Which translator is suitable?

    • Operating system
    • Interpreter
    • Encryption program
    • Compiler
  10. A company distributes a finished game and wants it to run quickly without sharing its source code. Which translator is most suitable?

    • Compiler
    • Text editor
    • Debugger
    • Interpreter
  11. Which type of language is most likely to be used to write code that closely controls hardware?

    • Spreadsheet formula language
    • Visual block language
    • Low-level
    • High-level
  12. Why can high-level languages run on different computer processors?

    • Processor independent
    • Already compiled
    • Hardware specific
    • Written in binary
  13. What translator converts high-level source code into machine code all at once?

    • Compiler
    • Interpreter
    • Editor
    • Assembler
  14. What does a translator produce from high-level programming code?

    • Machine code
    • Assembly language
    • High-level text
    • Source code
  15. Which of these is an advantage of low-level languages?

    • Easier to read
    • Hardware control
    • Portable code
    • Quicker to write
  16. Which translator translates and executes source code one line at a time?

    • Assembler
    • Editor
    • Interpreter
    • Compiler
  17. Why do developers typically use an interpreter during software development?

    • Smaller file sizes
    • Faster final programs
    • Easier testing
    • Complete distribution
  18. Why can a compiled executable run without needing the original source code?

    • Written in English
    • Stored in RAM
    • Contains machine instructions
    • Uses an interpreter
  19. What is a major drawback of low-level languages for beginners?

    • Too many libraries
    • Platform independent
    • Slow execution speed
    • Hard to learn
  20. Why must high-level programming code be translated before a processor can execute it?

    • To save storage
    • To add comments
    • Computers need binary
    • To format syntax

All OCR Computer Science quizzes