J277 - basic testing and errors

J277 - basic testing and errors

9th - 12th Grade

22 Qs

quiz-placeholder

Similar activities

Python Lists

Python Lists

11th Grade

20 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

SST Yr 8 - NCCE - Algorithmic Thinking 2

SST Yr 8 - NCCE - Algorithmic Thinking 2

9th Grade

20 Qs

Python Programming Quiz

Python Programming Quiz

9th Grade - University

20 Qs

Python Basic II

Python Basic II

11th Grade - University

20 Qs

Beginner Python KS3 Revision

Beginner Python KS3 Revision

8th - 10th Grade

26 Qs

Python

Python

11th Grade

20 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?