J277 - basic testing and errors

J277 - basic testing and errors

9th - 12th Grade

22 Qs

quiz-placeholder

Similar activities

Unit 2.3 Robust Programs MCQs L1

Unit 2.3 Robust Programs MCQs L1

10th - 11th Grade

20 Qs

Python Strings

Python Strings

11th Grade

21 Qs

OCR GCSE CS MCQs 2.3 Defensive Design

OCR GCSE CS MCQs 2.3 Defensive Design

10th - 11th Grade

20 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python outputs

Python outputs

7th - 11th Grade

20 Qs

2.3 Lesson 9 Testing

2.3 Lesson 9 Testing

9th - 12th Grade

20 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python - lists,loops,basics

Python - lists,loops,basics

9th - 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 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

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?