3.4 Lesson Practice

3.4 Lesson Practice

9th - 12th Grade

4 Qs

quiz-placeholder

Similar activities

Inflation

Inflation

11th - 12th Grade

9 Qs

Программирование

Программирование

1st - 12th Grade

4 Qs

Komputer Akuntansi

Komputer Akuntansi

11th Grade

8 Qs

Java Lesson 1

Java Lesson 1

5th Grade - University

5 Qs

Geomatika

Geomatika

10th Grade - University

5 Qs

Moon Phases

Moon Phases

KG - University

9 Qs

Python Lesson 1

Python Lesson 1

5th Grade - University

7 Qs

Java Lesson 5

Java Lesson 5

5th Grade - University

8 Qs

3.4 Lesson Practice

3.4 Lesson Practice

Assessment

Quiz

Other

9th - 12th Grade

Hard

Created by

Charlie Batchelor

Used 22+ times

FREE Resource

4 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

x = 9 % 2


if (x == 1):

  print ("ONE")

else:

  print ("TWO")

ONE

one

One

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For questions 2-4, consider the following code:

if (month ==9):

if (day > 15):

print ("Second half of the month")

else:

print ("First half of the month")

else:

print ("Not in September")

Nothing is output

First half of the month

Second half of the month

Not in September

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output if month = 11 day = 14?

Nothing is output

First half of the month

Second half of the month

Not in September

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output if month = 9 day = 21?

Nothing is output

First half of the month

Second half of the month

Not in September