J277 - basic testing and errors

J277 - basic testing and errors

9th - 12th Grade

22 Qs

quiz-placeholder

Similar activities

Lists and Tuples

Lists and Tuples

11th Grade

19 Qs

Data Types

Data Types

9th - 12th Grade

20 Qs

Intro to Python Programming - Year 8

Intro to Python Programming - Year 8

8th Grade - University

20 Qs

Java Summative Assessment 2

Java Summative Assessment 2

12th Grade

20 Qs

Python Basics Review

Python Basics Review

10th Grade

18 Qs

PCEP 30-02 Practice Exam

PCEP 30-02 Practice Exam

10th Grade

18 Qs

Python 3 Review Part 1

Python 3 Review Part 1

9th - 12th Grade

20 Qs

Python basic

Python basic

9th Grade

21 Qs

J277 - basic testing and errors

J277 - basic testing and errors

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?