Quiz 2

Quiz 2

5th Grade

10 Qs

quiz-placeholder

Similar activities

Fundamentos de la Programacion

Fundamentos de la Programacion

5th Grade

10 Qs

Technology Morning Tea Quiz

Technology Morning Tea Quiz

KG - Professional Development

11 Qs

Year 5 Day Scratch Activity

Year 5 Day Scratch Activity

5th Grade

12 Qs

Android1

Android1

1st Grade - University

10 Qs

Minecraft Quiz

Minecraft Quiz

5th - 6th Grade

15 Qs

Moj prvi program 5.r

Moj prvi program 5.r

5th Grade

10 Qs

e14 styczeń 2017

e14 styczeń 2017

1st - 5th Grade

13 Qs

Third Month Quiz

Third Month Quiz

2nd - 8th Grade

10 Qs

Quiz 2

Quiz 2

Assessment

Quiz

Computers

5th Grade

Practice Problem

Hard

Created by

Ethan Wu

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a string literal?

42

3.14

True

"Hello, world!"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a boolean literal in Python?

A type of variable that can only store true or false values

A variable that can store any number

A variable that can store text

A variable that can store both text and numbers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of an integer literal?

"Hello"

2.718

False

42

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a float literal?

7

True

3.14159

"Python"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a boolean literal?

"42"

2.718

False

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements correctly declares a variable with the value of 42?

variable = 42

variable == 42

42 = variable

42 == variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

123count

_count123

count$123

count 123

Access all questions and much more by creating a free account

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?