Your code should accept integers between 1 and 100 (inclusive), otherwise print "invalid number".
100 would be suitable normal test data.
J277 - basic testing and errors
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jenny Sharp
Used 52+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your code should accept integers between 1 and 100 (inclusive), otherwise print "invalid number".
100 would be suitable normal test data.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your code should accept integers between 1 and 100 (inclusive), otherwise print "invalid number".
"a" would be suitable invalid test data.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your code should accept integers between 1 and 100 (inclusive), otherwise print "invalid number".
0 would be suitable boundary data?
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your code should accept integers between 1 and 50 (inclusive), otherwise print "invalid number".
50 would be suitable boundary test data.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your code should accept numbers between 1 and 100 (inclusive), otherwise print "invalid number".
105 would be suitable erroneous test data.
True
False
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Your code should accept numbers between 1 and 100 (inclusive), otherwise print "invalid number".
What would suitable boundary data be (choose 2)?
1
100
0
101
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Your code should accept integers between 1 and 100 (inclusive), otherwise print "invalid number".
Suitable invalid data would be...
-1
104
1
101
20 questions
End of year quiz: Python
Quiz
•
9th Grade
20 questions
OCR GCSE CS MCQs 2.3 Defensive Design
Quiz
•
10th - 11th Grade
20 questions
Python Basics & Syntax
Quiz
•
10th - 12th Grade
20 questions
Python year 9
Quiz
•
8th - 11th Grade
17 questions
Python KS3
Quiz
•
6th - 9th Grade
25 questions
Python Class 9
Quiz
•
9th - 10th Grade
20 questions
LETS PLAY QUIZ - PYTHON CBSE CLASS XII
Quiz
•
11th - 12th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University