Chapter 7 & 8 Quiz

Chapter 7 & 8 Quiz

1st - 5th Grade

6 Qs

quiz-placeholder

Similar activities

Y9 System security

Y9 System security

5th Grade

10 Qs

Computer Coding Words

Computer Coding Words

4th - 5th Grade

11 Qs

Code.org Express Course -> Lesson 3

Code.org Express Course -> Lesson 3

5th - 7th Grade

10 Qs

Year 3.1 Programming

Year 3.1 Programming

3rd Grade

9 Qs

Gr 8 Programming Terms Q1

Gr 8 Programming Terms Q1

4th - 8th Grade

8 Qs

Coding

Coding

1st - 3rd Grade

9 Qs

Pengujian Perangkat Lunak

Pengujian Perangkat Lunak

1st Grade

10 Qs

Lekcja14

Lekcja14

3rd - 6th Grade

10 Qs

Chapter 7 & 8 Quiz

Chapter 7 & 8 Quiz

Assessment

Quiz

Computers

1st - 5th Grade

Medium

Created by

Nicholas Martin

Used 7+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are a defensive programmer if:

You Think testing is a waste of time

Your program protects against a virus

Your program will run even if things go wrong

All of the answers

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

For a program that asks users to input the location of graffiti so that volunteers can clean it up, which of the following are test cases?

Can the user create an account and post a location where graffiti is found?

What happens if the user types the city name into the zip code text box?

Can a user take a picture of the graffiti, upload it, and add it to a post?

What happens if the user types a negative number into the zip code text box?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Use and test cases are used to find ______ in your program

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following would be the best set of numbers to include in a test case for a calculator program?

1, 2, 3, 4

-2, -4, -6, -8

0.4, 0.5, 0.2, 0.6

-2, 0, 0.4, 16

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these are reasons to use documentation? (Choose all that apply.)

Makes it easier to find sections of code you want

Gives credit

Helps you find bugs

Makes it easier to collaborate

All the answers

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

If you wanted to add a note in your code as a reminder to come back and fix an error. you could add the comment _______.