wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

SLR5 & 6 Revision Starter Quiz

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What is an application in the context of computer programs?

a)

A program that can be run on a computer to carry out specific tasks

b)

A translator that converts high-level language to machine code

c)

A program that links object code files together

d)

A collection of programs that are already compiled

2.

What does an assembler do?

a)

Converts high-level language to machine code

b)

Converts assembly language into machine code

c)

Links compiled programs together

d)

Removes extra spaces and comments from source code

3.

What is closed source software?

a)

Software that is free to use and modify

b)

Software sold with a license and restrictions on usage

c)

Software that converts high-level language to machine code

d)

Software that links object code files together

4.

What is the role of a compiler?

a)

Converts assembly language into machine code

b)

Converts high-level language into machine code

c)

Checks syntax errors line by line

d)

Links compiled programs together

5.

What does an interpreter do?

a)

Converts high-level language into machine code

b)

Checks a source program for syntax errors line by line, translates it to machine code, and executes the line

c)

Links object code files together

d)

Removes extra spaces and comments from source code

6.

What is lexical analysis?

a)

The process of linking compiled programs together

b)

The first stage of compilation where extra spaces and comments are removed from the source code

c)

The process of converting high-level language to machine code

d)

The final stage of compilation where machine code is produced

7.

What are libraries in programming?

a)

Programs that convert high-level language to machine code

b)

Programs that are already compiled and can be loaded into a program when required

c)

Programs that check syntax errors line by line

d)

Programs that link object code files together

8.

What is the role of a linker?

a)

Converts high-level language to machine code

b)

Places appropriate machine addresses in the call and links object code files together

c)

Removes extra spaces and comments from source code

d)

Checks syntax errors line by line

9.

Which stage of compilation involves removing extra spaces and comments from the source code?

a)

Code Generation

b)

Lexical Analysis

c)

Compilation

d)

Linking

10.

What is the final stage of compilation called?

a)

Lexical Analysis

b)

Code Optimisation

c)

Linking

d)

Interpretation

11.

What is the main function of interpreters?

a)

To convert assembly language into machine code

b)

To check syntax errors line by line and execute the program

c)

To link object code files together

d)

To remove extra spaces and comments from source code

12.

What is the difference between a compiler and an interpreter?

a)

A compiler converts high-level language to machine code, while an interpreter checks syntax errors line by line and executes the program

b)

A compiler links object code files together, while an interpreter removes extra spaces from source code

c)

A compiler checks syntax errors line by line, while an interpreter converts high-level language to machine code

d)

A compiler removes comments from source code, while an interpreter links object code files together

13.

What is the main purpose of code generation?

a)

To remove extra spaces and comments from source code

b)

To produce an equivalent machine code program

c)

To check syntax errors line by line

d)

To link object code files together

14.

What is the first stage of compilation?

a)

Code Generation

b)

Lexical Analysis

c)

Linking

d)

Interpretation

15.

What is the main function of an assembler?

a)

To convert high-level language to machine code

b)

To convert assembly language into machine code

c)

To link object code files together

d)

To check syntax errors line by line

16.

What is the purpose of lexical analysis in compilation?

a)

To produce machine code

b)

To remove extra spaces and comments, and tokenize the source code.

c)

To link object code files together

d)

To check syntax errors line by line

17.

What is the main function of a compiler?

a)

To convert high-level language to machine code

b)

To check syntax errors line by line

c)

To link object code files together

d)

To remove extra spaces and comments from source code

18.

What is the role of libraries in programming?

a)

To provide pre-compiled programs that can be loaded and run when required

b)

To convert high-level language to machine code

c)

To check syntax errors line by line

d)

To link object code files together

19.

What is the difference between an assembler and a compiler?

a)

An assembler converts assembly language to machine code, while a compiler converts high-level language to machine code

b)

An assembler checks syntax errors line by line, while a compiler links object code files together

c)

An assembler removes comments from source code, while a compiler produces machine code

d)

An assembler links object code files together, while a compiler removes extra spaces from source code

20.

What is the purpose of optimization during code generation?

a)

To add more redundancies to the code.

b)

To make the object code as efficient as possible by removing redundancies.

c)

To convert code from one language to another.

d)

To check for syntax errors in the code.

21.

What happens during syntax analysis in compilation?

a)

Statements, expressions, and tokens are checked for syntax errors using syntax diagrams.

b)

Code is converted from one language to another.

c)

The executable object program is loaded into memory.

d)

The performance of the computer is optimized.

22.

What is the Software Development Life Cycle (SDLC)?

a)

A process for converting code from one language to another.

b)

The various stages in designing and implementing a new computer system.

c)

A method for optimizing the performance of a computer.

d)

A type of Agile Methodology.

23.

What does methodology in software development refer to?

a)

How programmers move from one phase of SDLC to another.

b)

How code is optimized during generation.

c)

How syntax errors are checked in code.

d)

How executable programs are loaded into memory.

24.

What is the main focus of Agile Methodologies?

a)

Producing incremental prototypes of software over short, fast-paced sprints.

b)

Checking for syntax errors in code.

c)

Converting code from one language to another.

d)

Optimizing the performance of the computer.

25.

What is the main feature of Rapid Application Development?

a)

Clearly defined stages completed in linear order

b)

Speedy responses to changes through prototyping and evaluations

c)

Focus on risks and iterative refinement of prototypes

d)

Frequent software releases and checkpoints

26.

Which model focuses on risks and iterative refinement of prototypes until the final product is complete?

a)

Agile Development

b)

Spiral Model

c)

Waterfall Lifecycle

d)

Rapid Application Development

27.

In which methodology do user requirements need to be clear from the start?

a)

Waterfall Lifecycle

b)

Spiral Model

c)

Agile Development

d)

Rapid Application Development

28.

What is the first cycle in the Spiral Model focused on?

a)

Producing a refined prototype

b)

Creating a reduced-functionality mock-up

c)

Developing an initial prototype

d)

Completing the final product

29.

What is the main focus of the Spiral Model?

a)

Frequent software releases

b)

Refining and repeating stages with prototypes

c)

Completing stages in linear order

d)

Speedy responses to changes

30.

Which methodology does not require user requirements to be clear at the start?

a)

Waterfall Lifecycle

b)

Spiral Model

c)

Agile Development

d)

Rapid Application Development