Search Header Logo

Python lesson 2 quiz

Authored by Mr Rostock

Computers

8th - 9th Grade

Used 1+ times

Python lesson 2 quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type would 45.1 be?

int

floating-point number

string

boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type would 89 be?

int

floating-point number

string

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type would "hello" be?

int

floating-point number

string

boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Predict the output if age = 50 and people =

150

5000

2700

Were older than a robot

Were younger than a robot

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you wanted to multiply variable1 by variable2, what would be the correct way of doing this?

variable1 * variable2

variable2 ÷ variable1

variable1 ÷ variable2

variable1 / variable2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A list of characters to complete an objective

A step-by-step list of instructions to solve a problem

Code that can be repeated to allow instructions to process

A step-by-step index of characters

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When checking for equality, which symbol would you use?

=

==

===

.equal

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?