CB30: Unit 3 Quiz Review

CB30: Unit 3 Quiz Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Network topologies

Network topologies

8th Grade - University

20 Qs

J808 LO4.1.4 Hacking, 5 DDOS, 6 Pharming

J808 LO4.1.4 Hacking, 5 DDOS, 6 Pharming

10th - 11th Grade

15 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

Cyber Security and Social Engineering

Cyber Security and Social Engineering

9th - 11th Grade

18 Qs

Programming: Which Loop?

Programming: Which Loop?

9th - 12th Grade

20 Qs

Android AsyiQuizz

Android AsyiQuizz

11th Grade

20 Qs

Coding Basics SC-1

Coding Basics SC-1

7th - 12th Grade

20 Qs

TIN 10 _CD_F8_CÂU LỆNH LẶP

TIN 10 _CD_F8_CÂU LỆNH LẶP

10th Grade

20 Qs

CB30: Unit 3 Quiz Review

CB30: Unit 3 Quiz Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output if kangaroo is the input?

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an if-then statement used for?

When you need something to happen when the if condition is false

As a variable for a function

To allow programs to make decisions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can the following code be rewritten:

if (75 <= y <= 100):

if (75 <= y and <= 100):

if 75 <= y and <= 100):

if (75 <= y and y <= 100):

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true when a is 4 and b is 8?

a < b and a == b

a < b and a != b

a > b or a == b

b <= a or a > b

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code could be rewritten using:

if (num1 == 17):

if ( num2 < 20):

not

or

and

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To test if x is less than or equal to y:

if (x __ y):

>

<

<=

>=

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For if statements to work in Python you must ________________ them.

indent

make decisions about

add an else to

use input commands with

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?