
CS Edexcel 1.2b Testing and Errors
Authored by Stuart Smith
Computers
9th - 10th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name a common example of a runtime error
Incorrect assignment statement
Dividing by zero
Incorrect syntax
Incorrect output
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Google SketchUp Tool
Quiz
•
KG - University
15 questions
Google Tips and Tricks
Quiz
•
7th - 9th Grade
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
20 questions
HTML QUIZ # 3
Quiz
•
10th Grade
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
15 questions
tik kelas 7
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade