CS Edexcel 1.2b Testing and Errors

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
Stuart Smith
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Translators

Quiz
•
9th - 12th Grade
17 questions
SEAC3 LO4 K-8 Testing and Documentation

Quiz
•
9th Grade
14 questions
Python

Quiz
•
9th Grade
16 questions
algorithms and programming

Quiz
•
8th - 10th Grade
14 questions
S3 SDD Unit 2 - 5. Testing

Quiz
•
9th Grade
13 questions
2.5 Translators & Facilities - OCR GCSE Computer Science

Quiz
•
7th - 12th Grade
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade