Which type of translator converts high-level source code into machine code one line at a time, executing each line immediately?
- Linker
- Compiler
- Interpreter
- Assembler
8 mixed-difficulty practice questions in the style of real OCR GCSE papers — answers, mark-scheme-style explanations, and the official exam structure all on one page.
Take a Mini Mock →Mixed-difficulty questions from across the Computer Science syllabus. Tap "Show answer" after each to check yourself.
Which type of translator converts high-level source code into machine code one line at a time, executing each line immediately?
A developer notices that her program produces incorrect results but does not crash or display any error messages. What type of error does this most likely indicate?
A student writes a Python program on her school computer. She wants to run the same program at home without installing Python. Which translator should she have used instead?
Which of the following is a feature of an Integrated Development Environment (IDE) that helps a programmer identify errors before running the program?
A program written in a low-level language is ported to a new processor architecture. Which statement best explains why the program may not work on the new processor?
Which of the following best describes the purpose of syntax analysis during compilation?