J277 - basic testing and errors

J277 - basic testing and errors

9th - 12th Grade

22 Qs

quiz-placeholder

Similar activities

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

20 Qs

Python. Функції

Python. Функції

9th Grade

17 Qs

UH 1 Teknologi wan

UH 1 Teknologi wan

12th Grade

20 Qs

ON TAP TIN 11

ON TAP TIN 11

1st - 12th Grade

20 Qs

ICT

ICT

1st Grade - University

20 Qs

Ulangan Harian - Jaringan Komputer & Analisis Data

Ulangan Harian - Jaringan Komputer & Analisis Data

10th Grade

20 Qs

PTS PWPB Kelas 11 Sem 1

PTS PWPB Kelas 11 Sem 1

11th Grade

21 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

J277 - basic testing and errors

J277 - basic testing and errors

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Jenny Sharp

Used 55+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?