Search Header Logo

Quiz for Week 03!

Authored by Liang Vivian

Computers

University

Used 8+ times

Quiz for Week 03!
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the following code, print(98.6), What is "98.6"?

A constant
A conditional statement
An iteration / loop statement
A variable

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following code print out? print("123" + "abc")

123+abc
This is a syntax error because you cannot add strings
123abc
hello world

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following variables is the "most mnemonic"?

x
x1q3z9ocd
hours
variable_173

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following elements of a mathematical expression in Python is evaluated first?

Multiplication *
Parentheses ( )
Addition +
Subtraction -

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a Python reserved word?

for
else
speed
if

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?