Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Revision OCR - A Level

Total questions: 63

Worksheet time: 27mins

Name
Class
Date
1.

What is the primary purpose of thinking logically about conditions and decisions in programming?

a)
To increase program speed
b)
To determine the outcome of a decision
c)
To reduce the number of loops
d)

To optimise memory usage

2.

How should you check if decisions and conditions have been set correctly in an algorithm?

a)
Run the program and see if it works
b)
Hand-trace the algorithm using a trace table
c)
Use a debugger tool
d)
Ask a colleague for feedback
3.
What is the purpose of a trace table in programming?
a)
To write pseudocode
b)
To identify variables in the program
c)
To debug code
d)
To track variable values as the program executes
4.

When completing a trace table, what should you include?

a)

Variables

b)

Iteration conditions

c)

Outputs

d)

Selection conditions

5.
What is the purpose of a validation routine in programming?
a)
To make the program run faster
b)
To check if the computer is working correctly
c)

To check user input for processing

d)
To generate random numbers
6.
What can human error potentially cause in validation routines?
a)
Improved accuracy
b)
Faster execution
c)
Problems with the final solution
d)
Smoother user experience
7.
What is concurrent processing in the context of programming?
a)
Running multiple programs simultaneously
b)
Processing data concurrently
c)

Switching between threads of processes at different times

d)
Running code in parallel
8.
What is a benefit of concurrent processing in programming?
a)
Lower program throughput
b)
Reduced efficiency for complex problems
c)
Higher program throughput and reduced idle time
d)
Reduced complexity in code
9.
What is a drawback of concurrent processing?
a)

Multiple threads may be stored in different storage locations

b)
One thread may require another to complete – causing a deadlock
c)

It requires a small amount of memory

d)

It speeds up program execution

10.
What does a trace table help you with in programming?
a)
Debugging complex algorithms
b)
Identifying the purpose of an algorithm
c)
Finding out why an algorithm is not working correctly
d)

Good code maintenance

11.
What is the main purpose of identifying variables in a trace table?
a)
To make the code more aesthetically pleasing
b)

To optimise memory usage

c)
To track changes in variable values during program execution
d)
To determine the outcome of a decision
12.
In concurrent processing, what happens when multiple threads share the same storage location?
a)
It improves program efficiency
b)
It reduces the chance of deadlocks
c)

It can lead to data corruption or synchronisation issues

d)
It speeds up program execution
13.
What is the drawback of one thread requiring another to complete in concurrent processing?
a)
It increases program throughput
b)
It can cause a deadlock
c)
It reduces program efficiency
d)
It simplifies program design
14.
What is the primary benefit of using a validation routine in programming?
a)
It eliminates the need for conditional statements
b)
It ensures that user input is always correct
c)
It checks that user input is suitable for processing
d)
It speeds up program execution
15.
Why is thinking logically about conditions and decisions important in programming?
a)
It makes the code more aesthetically pleasing
b)
It reduces the need for documentation
c)
It helps determine how decisions affect program flow
d)
It simplifies the debugging process
16.
When using concurrent processing, what is the advantage of higher program throughput?
a)
It increases idle time
b)
It simplifies program design
c)
It allows multiple processes to execute seemingly simultaneously
d)
It reduces the number of threads needed
17.
In an e-commerce website, what is the purpose of a validation routine for user registration?
a)
To make the registration process faster
b)
To ensure that users provide a valid email address
c)

To optimise database storage

d)
To generate random passwords
18.
In a traffic control system, what is the advantage of higher program throughput for traffic signal management?
a)
It increases traffic congestion
b)
It allows for faster response to changing traffic conditions
c)
It reduces the number of traffic signals
d)
It simplifies traffic management
19.
In a medical clinic's appointment system, what can human error potentially cause if not validated properly?
a)
Improved patient care
b)
Overbooking and scheduling conflicts
c)
Accurate diagnosis
d)
Reduced patient wait times
20.
In a social media platform, what is the purpose of concurrent processing for handling user interactions?
a)
To reduce user engagement
b)
To increase server load
c)

To handle a large number of user comments and activity

d)
To limit user activity
21.
In a restaurant's online ordering system, what is a potential drawback of concurrent processing for order fulfillment?
a)
Reduced wait time for customers
b)
Increased chances of orders being mixed up
c)
Improved order accuracy
d)
Reduced workload for restaurant staff
22.
In a gaming application, why is concurrent processing used to handle user input and game logic?
a)
To slow down the game for a better user experience
b)
To increase the complexity of game logic
c)
To make the game more challenging and competitive
d)
To improve overall game performance
23.

In a video streaming service, how does concurrent processing benefit the user experience?

a)

It increases buffering time

b)

It allows users to watch videos while they are still uploading

c)

It decreases video quality

d)

It reduces the number of available videos

24.

In an online multiplayer game, what is the advantage of using concurrent processing for player interactions?

a)

It causes lag and delays in player actions

b)

It allows players to interact in real-time

c)

It restricts the number of players in the game

d)

It simplifies game mechanics and rules

25.

How can concurrent processing be used in a transportation system to enhance efficiency and reduce congestion?

a)

By controlling traffic signals at intersections

b)

By reducing the number of vehicles on the road

c)

By increasing the speed limits on highways

d)

By eliminating traffic rules and regulations

26.

What is the first stage of thinking procedurally?

a)

Taking the problem defined by the user and breaking it down into its constituent parts

b)

Developing a solution

c)

Testing a solution

d)

Analysing a problem

27.

What is the purpose of problem decomposition?

a)

To make complex problems easier to solve and more manageable by allowing tasks to be divided between a group of people according to individual skill sets.

b)

The process of separating ideas from specific instances of those ideas at work

c)

Any situation in the design or programming of a system when you would want more than one thing happening at the same time

d)

Letting the problem rot away

28.

State another name given to top-down design.

a)

Stepwise refinement

b)

Problem Recognition

c)

Divide and Conquer

d)

Problem Decomposition

e)

Backtracking

29.

What is the purpose of top-down design?

a)

Continually break problems down into subproblems until each subproblem can be represented as a single task and ideally a self-contained subroutine.

b)

The analysis of a large amount of data in a data warehouse to provide new information.

c)

An algorithm for finding a complete solution. This is a refined brute force methodology. It is a very general algorithm for finding all (or some) solutions to computational problems.

d)

The process of separating ideas from specific instances of those ideas at work

30.

What are the benefits of using top-down design?

a)

Problems can be solved and modules developed by different people

b)

Tasks can be tested separately. Modules are self-contained

c)

Uses abstraction to create algorithms and prototypes

d)

Wireframe designs are required before development can take place

31.

What sort of problems is top-down design suited to?

a)

Large, complex problems

b)

Small, complex problems

c)

Large, simple problems

d)

Small, simple problems

32.

What is the second stage of thinking procedurally in software development?

a)

Identifying components of a solution

b)

Taking the problem defined by the user and breaking it down into its constituent parts

c)

Developing a solution

d)

Testing a solution

33.

What are the lowest level subproblems in top-down design in code?

a)

self-contained modules or subroutines

b)

Machine Code

c)

High Level Language

d)

Flow Chart

34.

What do software developers need to consider when recombining components of a solution?

a)

The order in which subroutines are executed, and how they interact with each other, based on their role in solving the problem.

b)

Who the original author of the component was

c)

Will they fit together

35.

What must a software developers do before designing a subroutine to solve a particular problem?

a)

See whether it is possible for an already existing subroutine or module to be used.

b)

Taking the problem defined by the user and breaking it down into its constituent parts

c)

Developing a solution

d)

Testing a solution

e)

Analysing a problem

36.

State advantages of utilising reusable components.

a)

More reliable than newly-coded components, as they have already been tested.

b)

This saves time, money and resources.

c)

Accuracy of the algorithms used

d)

Effectiveness of algorithm in managing the cache

e)

Content can be loaded without delay

37.

What is SDLC

a)

Software Developed Life Cycle

b)

Software Development Life Cycle

c)

Step Development Life Cycle

d)

Step Defined Life Cycle

38.

Pick the correct flow of STLC (Software Testing Life Cycle)

a)

Requirement Analysis

Test Planning

Test Case Development

Test Cycle Closure

b)

Requirement Analysis

Test Planning

Test Case Development

Test Execution

Test Cycle Closure

c)

Requirement Analysis

Test Planning

Test Case Development

Environment Setup

Test Execution

Test Cycle Closure

d)

Test Planning

Test Case Development

Requirement Analysis

Environment Setup

Test Execution

Test Cycle Closure

39.

What does RAD stand for?

a)

Required Automated Database

b)

Rapid Application Development

c)

Rocks Are Dangerous

d)

Rotate At Distance

40.

The 6 stages of the waterfall method are?

a)

Analysis, development, creation, testing, production, up keeping

b)

Interview, make, code, validate, check, prototype, fix

c)

This, one's, just, six, random, words

d)

Analysis, design, implement, test, install, maintain

41.

Which of these statements about agile is correct

a)

There is a continuous delivery of software from the early stages of the software

b)

someone who is agile can do sick flips

c)

agile is a software development method

d)

agile is linear approach to software development

42.

What is the top benefit of adopting Agile ?

a)

Cost reduction

b)

Team Morale

c)

Ability to change priorities

d)

Breaking Silos

43.

The waterfall method is suitable for making...

a)

software for small companies

b)

a purchase method for a large company like amazon

c)

software that needs to be completed in a few weeks

d)

systems with constantly changing user requirements

44.

Select words which can be used to describe the waterfall method. [2 Words Max]

a)

Rigid

b)

Dynamic

c)

Thorough

d)

Fluid

e)

Partial

45.

Select the real methodologies:

a)

Agile

b)

XP

c)

XD

d)

Spiral

e)

Waterfall

46.

This methodology is:

a)

XP

b)

Agile

c)

Waterfall

d)

Spiral

e)

RAD

47.

This methodology is:

a)

XP

b)

Agile

c)

Waterfall

d)

Spiral

e)

RAD

48.

This methodology is:

a)

XP

b)

Agile

c)

Waterfall

d)

Spiral

e)

RAD

49.

What is black box testing primarily concerned with?

a)

The efficiency of the code

b)

Whether an input produces the expected output

c)

Testing the algorithm in the code

d)

The internal structure of the program

50.

What is NOT a focus of white box testing?

a)

Checking the overall efficiency of the code

b)

Ensuring inputs return the desired outputs regardless of code efficiency

c)

Making sure all parts of the algorithms function as intended

d)

Identifying and testing all possible paths of execution

51.

Which testing strategy involves testing the algorithm and code structure?

a)

Alpha testing

b)

Beta testing

c)

Black box testing

d)

White box testing

52.

What is the main goal of alpha and beta testing?

a)

To check the efficiency of the code

b)

To test the software as a complete solution

c)

To identify all possible paths of execution

d)

To ensure the program works in all cases

53.

Which testing is NOT concerned with the code's efficiency?

a)

White box testing

b)

Beta testing

c)

Black box testing

d)

Alpha testing

54.

What is a key difference between alpha and beta testing?

a)

Alpha testing focuses on code efficiency

b)

Beta testing is only performed by internal employees

c)

Alpha testing occurs first and is limited to a smaller group

d)

Beta testing does not test the complete solution

55.

Why is it often not feasible to test every possible input in black box testing?

a)

It is actually feasible with modern tools

b)

Because the code is not accessible

c)

Because it focuses on the algorithm

d)

Due to the infinite number of possible inputs

56.

What does white box testing focus on that black box testing does not?

a)

User experience and interface design

b)

The expected output for given inputs

c)

The internal structure and efficiency of the code

d)

The external functionality of the program

57.

In the context of software testing, what is a 'path of execution'?

a)

A specific set of inputs to test a program

b)

The documentation path for software testing

c)

A sequence of user interactions with the software

d)

The sequence of operations performed by the program

58.

What is the purpose of selecting appropriate test data in black box testing?

a)

To cover a range of situations

b)

To understand the algorithm better

c)

To test the efficiency of the code

d)

To make the testing process faster

59.

Which type of testing is typically done through a sign-up program?

a)

Alpha testing

b)

Beta testing

c)

White box testing

d)

Black box testing

60.

What aspect of a program is NOT directly tested in black box testing?

a)

Input/output correctness

b)

Algorithm correctness

c)

User interface design

d)

Code efficiency

61.

During which testing phase is load balancing typically tested?

a)

Black box testing

b)

Beta testing

c)

White box testing

d)

Alpha testing

62.

Who typically performs alpha testing?

a)

Internal employees and their extended friends and family

b)

External testers only

c)

A wide community of users

d)

Automated testing tools

63.

What is a common goal of both alpha and beta testing?

a)

To focus on the internal code structure

b)

To check the program with every possible input

c)

To test the software with a limited audience

d)

To identify bugs and issues before official launch