
J277 - basic testing and errors
Authored by Jenny Sharp
Computers
9th - 12th Grade
Used 56+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?