Font size
WorksheetsCS Edexcel Topic 1 Computational Thinking EVERYTHING!!
Total questions: 76
Worksheet time: 38mins
Computational thinking is an approach to what?
Problem solving
Creating algorithms
Identifying the techniques needed
Understanding the complexity of a problem
Why is algorithmic thinking important in problem-solving?
It makes problem-solving more confusing
It helps develop creative solutions
It provides a systematic approach
It slows down problem-solving
Can all problems be solved computationally?
True
False
Which technique in computational thinking involves detailed, step-by-step procedures?
Decomposition
Algorithms
Abstraction
Pattern Recognition
What is the purpose of using top-down diagrams in decomposition?
To merge multiple problems into one
To breakdown problems into smaller components
To avoid addressing subproblems individually
To make problems more complicated
Which computational thinking technique focuses on simplifying complex problems?
Pattern recognition
Decomposition
Abstraction
Algorithms
What is the crucial element of algorithmic thinking?
Creative thinking
Chaotic thinking
Illogical thinking
Logical thinking
What role does abstraction play in computational thinking?
To complicate problems
To focus on irrelevant details
To simplify complex problems
To ignore important elements
What does decomposition achieve in the process of problem-solving?
It makes problems more complex
It avoids addressing subproblems individually
It combines subproblems into a larger problem
It breaks down large problems into manageable ones
What is the primary purpose of subprograms in programming?
To make debugging more challenging
To create more complex code
To slow down the programme execution
To enhance code organisation and reusability
Tick all examples of abstraction from the four possible examples below
The “London Underground” map
A google map in satellite mode
An arial map of “Piccadilly Circus”
A Google map in traffic mode
What is Pseudocode?
A programming language
A detailed algorithm
A high-level description of an algorithm
A type of software
A flowchart is a diagram that represents a process or algorithm using (a) .
In a flowchart, what does this symbol represent?
Decision
Input / Output
Terminator
Process
In a flowchart, what does this symbol represent?
Decision
Input / Output
Terminator
Process
In a flowchart, what does this symbol represent?
Decision
Input / Output
Terminator
Process
In a flowchart, what does this symbol represent?
Decision
Input / Output
Terminator
Process
What is the main purpose of testing a program?
To speed up the execution of the program
To add more features
To make the program look good
To ensure it meets the needs of the end-user
What type of error is harder to detect because the program compiles and runs but produces unexpected results?
Runtime error
Syntax error
Logic error
Design error
Which type of error occurs when the code does not follow the rules of the programming language?
Logic error
Runtime error
Syntax error
Compilation error
Which of the following is a strategy that tests only the inputs and outputs of a program?
White box testing
Acceptance testing
Black box testing
Alpha testing
What is the purpose of white box testing?
To ensure that the algorithm functions correctly without focusing on inputs and outputs
To test the program against the requirements of the user
To check for syntax errors in the code only
To evaluate how the program handles invalid inputs
Name a common example of a runtime error
Incorrect assignment statement
Dividing by zero
Incorrect syntax
Incorrect output
What is a trace table used for?
To list all the syntax errors found
To outline the user interface design
To identify what the final output will be
To document the outputs and variables during a dry run
What does acceptance testing ensure?
The program is free of syntax errors
The program meets the user's requirements
The code is optimised for performance
The program has no logic errors
During which phase should testing be carried out?
Only at the end of development
Ongoing throughout the development process
Before the program is provided to the end user
What is an example of a logic error?
Missing a closing bracket
Assigning a variable incorrectly
Using the wrong formula for calculation
Forgetting to declare a variable
What is an example of a syntax error?
Missing a closing bracket
Assigning a variable incorrectly
Using the wrong formula for calculation
Forgetting to declare a variable
What is the purpose of alpha testing?
To ensure the program runs faster
To gather user feedback on the interface
To find all syntax errors
To test the program under real-world conditions
What is the purpose of beta testing?
To test the program under everyday conditions
To gather feedback from real users before final release
To ensure the code meets syntax rules
To check for logic errors in the code
What do we do with the sorted pairs once they are formed in a merge sort?
What is one way to evaluate the efficiency of an algorithm?
By the number of lines of code
By the time it takes to execute
By the programming language used
Why might comparing algorithms based on time taken not be useful?
Computers are getting slower
Hardware and processing power is improving in computers
Algorithms are all the same speed
Time is not a measurable factor
Which is more efficient - linear or binary search?
Linear
Binary
What is the more efficient strategy with search and sort algorithms?
Divide and conquer
Compare in order
Which is the more efficient sorting algorithm?
Bubble sort
Merge sort
Which logic gate is shown here?
OR
NOT
AND
NAND
What will this gate's output be?
0
1
What will this gate's output be?
0
1
What will this gate's output be?
0
1
Choose the correct circuit for the following expression: P = (A OR B) AND (NOT C)
AND
OR
NOT
Which gate inverts the input signal?
NOT
OR
NAND
AND
What would the OUTPUT(x) be in the following scenario:
A = 1
B = 0
C= 0
0
1
What is the output Y of this logic cricuit if A = 1, B = 1, and C = 1
0
1
