Lesson 1.2.3

1.2.3 Software development lifecycles and methodologies Quiz: OCR Computer Science, Unit 2

20 questions

In partnership with Revision Ninja

Lesson 1.2.3, Software development lifecycles and methodologies: 20 multiple choice questions for the OCR Computer Science (H446), Unit 2: Software and software development, 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. Which software development model follows strict sequential phases where each stage must be completed before the next?

    • Agile methodology
    • Extreme programming
    • Waterfall model
    • Spiral model
  2. What is a core practice of Extreme Programming aimed at improving code quality through constant peer review?

    • Pair programming
    • Direct addressing
    • Waterfall planning
    • Lexical analysis
  3. Which software lifecycle model explicitly focuses on risk analysis at every iteration?

    • Agile methodology
    • Waterfall model
    • Rapid application development
    • Spiral model
  4. Which methodology relies heavily on prototyping and continuous user feedback to quickly develop software?

    • Waterfall model
    • Lexical analysis
    • Assembly language
    • Rapid application development
  5. Which stage of compilation removes comments and replaces keywords with tokens?

    • Lexical analysis
    • Syntax analysis
    • Code optimisation
    • Code generation
  6. Which stage of compilation checks token streams against the grammatical rules of the programming language?

    • Code optimisation
    • Lexical analysis
    • Syntax analysis
    • Code generation
  7. Which stage of compilation aims to make executable code run faster and use less memory?

    • Syntax analysis
    • Linker processing
    • Lexical analysis
    • Code optimisation
  8. In assembly language, which addressing mode specifies the actual data operand directly inside the instruction?

    • Indexed addressing
    • Direct addressing
    • Immediate addressing
    • Indirect addressing
  9. Which addressing mode holds the memory address of the required data directly in the instruction operand?

    • Indexed addressing
    • Immediate addressing
    • Indirect addressing
    • Direct addressing
  10. Which addressing mode uses an operand that points to a memory location containing the target address?

    • Direct addressing
    • Indirect addressing
    • Immediate addressing
    • Indexed addressing
  11. Which addressing mode calculates target memory addresses by adding a constant offset to an index register?

    • Direct addressing
    • Indirect addressing
    • Indexed addressing
    • Immediate addressing
  12. In the Little Man Computer instruction set, which mnemonic accepts input from the user into the accumulator?

    • LDA
    • OUT
    • INP
    • STA
  13. Which object-oriented concept restricts direct access to internal data by wrapping attributes and methods?

    • Abstraction
    • Encapsulation
    • Polymorphism
    • Inheritance
  14. Which object-oriented feature allows a subclass to acquire attributes and methods from a parent superclass?

    • Encapsulation
    • Compilation
    • Inheritance
    • Polymorphism
  15. Which object-oriented principle allows methods with the same name to behave differently depending on the object?

    • Inheritance
    • Compilation
    • Encapsulation
    • Polymorphism
  16. Which programming paradigm focuses on writing step-by-step instructions telling the computer how to solve a problem?

    • Logic paradigm
    • Declarative paradigm
    • Functional paradigm
    • Procedural paradigm
  17. Which type of library code is linked to an executable file at runtime rather than during compilation?

    • Static library
    • Lexical library
    • Dynamic library
    • Source library
  18. Which utility software combines separate object code files into a single executable programme?

    • Linker
    • Loader
    • Interpreter
    • Compiler
  19. Which lossless compression technique replaces consecutive repeated data values with a single count and value?

    • Lossy compression
    • Run-length encoding
    • Dictionary coding
    • Asymmetric coding
  20. Which ACID property ensures that database transactions are either fully completed or completely cancelled?

    • Atomicity
    • Isolation
    • Durability
    • Consistency

All OCR Computer Science quizzes