J277 - basic testing and errors

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jenny Sharp
Used 53+ 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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
20 questions
Python Quiz 1

Quiz
•
9th - 12th Grade
20 questions
SST Yr 8 - NCCE - Algorithmic Thinking 2

Quiz
•
9th Grade
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
20 questions
Reviewer Computer 9 - 4th Quarter

Quiz
•
9th Grade
20 questions
Programming Quiz 4

Quiz
•
9th - 10th Grade
20 questions
Iteration Recap Final

Quiz
•
9th Grade
20 questions
Python Sem. Review P1

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade