WorksheetsRevision OCR - A Level
Total questions: 63
Worksheet time: 27mins
What is the primary purpose of thinking logically about conditions and decisions in programming?
To optimise memory usage
How should you check if decisions and conditions have been set correctly in an algorithm?
When completing a trace table, what should you include?
Variables
Iteration conditions
Outputs
Selection conditions
To check user input for processing
Switching between threads of processes at different times
Multiple threads may be stored in different storage locations
It requires a small amount of memory
It speeds up program execution
Good code maintenance
To optimise memory usage
It can lead to data corruption or synchronisation issues
To optimise database storage
To handle a large number of user comments and activity
In a video streaming service, how does concurrent processing benefit the user experience?
It increases buffering time
It allows users to watch videos while they are still uploading
It decreases video quality
It reduces the number of available videos
In an online multiplayer game, what is the advantage of using concurrent processing for player interactions?
It causes lag and delays in player actions
It allows players to interact in real-time
It restricts the number of players in the game
It simplifies game mechanics and rules
How can concurrent processing be used in a transportation system to enhance efficiency and reduce congestion?
By controlling traffic signals at intersections
By reducing the number of vehicles on the road
By increasing the speed limits on highways
By eliminating traffic rules and regulations
What is the first stage of thinking procedurally?
Taking the problem defined by the user and breaking it down into its constituent parts
Developing a solution
Testing a solution
Analysing a problem
What is the purpose of problem decomposition?
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.
The process of separating ideas from specific instances of those ideas at work
Any situation in the design or programming of a system when you would want more than one thing happening at the same time
Letting the problem rot away
State another name given to top-down design.
Stepwise refinement
Problem Recognition
Divide and Conquer
Problem Decomposition
Backtracking
What is the purpose of top-down design?
Continually break problems down into subproblems until each subproblem can be represented as a single task and ideally a self-contained subroutine.
The analysis of a large amount of data in a data warehouse to provide new information.
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.
The process of separating ideas from specific instances of those ideas at work
What are the benefits of using top-down design?
Problems can be solved and modules developed by different people
Tasks can be tested separately. Modules are self-contained
Uses abstraction to create algorithms and prototypes
Wireframe designs are required before development can take place
What sort of problems is top-down design suited to?
Large, complex problems
Small, complex problems
Large, simple problems
Small, simple problems
What is the second stage of thinking procedurally in software development?
Identifying components of a solution
Taking the problem defined by the user and breaking it down into its constituent parts
Developing a solution
Testing a solution
What are the lowest level subproblems in top-down design in code?
self-contained modules or subroutines
Machine Code
High Level Language
Flow Chart
What do software developers need to consider when recombining components of a solution?
The order in which subroutines are executed, and how they interact with each other, based on their role in solving the problem.
Who the original author of the component was
Will they fit together
What must a software developers do before designing a subroutine to solve a particular problem?
See whether it is possible for an already existing subroutine or module to be used.
Taking the problem defined by the user and breaking it down into its constituent parts
Developing a solution
Testing a solution
Analysing a problem
State advantages of utilising reusable components.
More reliable than newly-coded components, as they have already been tested.
This saves time, money and resources.
Accuracy of the algorithms used
Effectiveness of algorithm in managing the cache
Content can be loaded without delay
What is SDLC
Software Developed Life Cycle
Software Development Life Cycle
Step Development Life Cycle
Step Defined Life Cycle
Pick the correct flow of STLC (Software Testing Life Cycle)
Requirement Analysis
Test Planning
Test Case Development
Test Cycle Closure
Requirement Analysis
Test Planning
Test Case Development
Test Execution
Test Cycle Closure
Requirement Analysis
Test Planning
Test Case Development
Environment Setup
Test Execution
Test Cycle Closure
Test Planning
Test Case Development
Requirement Analysis
Environment Setup
Test Execution
Test Cycle Closure
What does RAD stand for?
Required Automated Database
Rapid Application Development
Rocks Are Dangerous
Rotate At Distance
The 6 stages of the waterfall method are?
Analysis, development, creation, testing, production, up keeping
Interview, make, code, validate, check, prototype, fix
This, one's, just, six, random, words
Analysis, design, implement, test, install, maintain
Which of these statements about agile is correct
There is a continuous delivery of software from the early stages of the software
someone who is agile can do sick flips
agile is a software development method
agile is linear approach to software development
What is the top benefit of adopting Agile ?
Cost reduction
Team Morale
Ability to change priorities
Breaking Silos
The waterfall method is suitable for making...
software for small companies
a purchase method for a large company like amazon
software that needs to be completed in a few weeks
systems with constantly changing user requirements
Select words which can be used to describe the waterfall method. [2 Words Max]
Rigid
Dynamic
Thorough
Fluid
Partial
Select the real methodologies:
Agile
XP
XD
Spiral
Waterfall
This methodology is:
XP
Agile
Waterfall
Spiral
RAD
This methodology is:
XP
Agile
Waterfall
Spiral
RAD
This methodology is:
XP
Agile
Waterfall
Spiral
RAD
What is black box testing primarily concerned with?
The efficiency of the code
Whether an input produces the expected output
Testing the algorithm in the code
The internal structure of the program
What is NOT a focus of white box testing?
Checking the overall efficiency of the code
Ensuring inputs return the desired outputs regardless of code efficiency
Making sure all parts of the algorithms function as intended
Identifying and testing all possible paths of execution
Which testing strategy involves testing the algorithm and code structure?
Alpha testing
Beta testing
Black box testing
White box testing
What is the main goal of alpha and beta testing?
To check the efficiency of the code
To test the software as a complete solution
To identify all possible paths of execution
To ensure the program works in all cases
Which testing is NOT concerned with the code's efficiency?
White box testing
Beta testing
Black box testing
Alpha testing
What is a key difference between alpha and beta testing?
Alpha testing focuses on code efficiency
Beta testing is only performed by internal employees
Alpha testing occurs first and is limited to a smaller group
Beta testing does not test the complete solution
Why is it often not feasible to test every possible input in black box testing?
It is actually feasible with modern tools
Because the code is not accessible
Because it focuses on the algorithm
Due to the infinite number of possible inputs
What does white box testing focus on that black box testing does not?
User experience and interface design
The expected output for given inputs
The internal structure and efficiency of the code
The external functionality of the program
In the context of software testing, what is a 'path of execution'?
A specific set of inputs to test a program
The documentation path for software testing
A sequence of user interactions with the software
The sequence of operations performed by the program
What is the purpose of selecting appropriate test data in black box testing?
To cover a range of situations
To understand the algorithm better
To test the efficiency of the code
To make the testing process faster
Which type of testing is typically done through a sign-up program?
Alpha testing
Beta testing
White box testing
Black box testing
What aspect of a program is NOT directly tested in black box testing?
Input/output correctness
Algorithm correctness
User interface design
Code efficiency
During which testing phase is load balancing typically tested?
Black box testing
Beta testing
White box testing
Alpha testing
Who typically performs alpha testing?
Internal employees and their extended friends and family
External testers only
A wide community of users
Automated testing tools
What is a common goal of both alpha and beta testing?
To focus on the internal code structure
To check the program with every possible input
To test the software with a limited audience
To identify bugs and issues before official launch
