Python Conditionals

Python Conditionals

University

21 Qs

quiz-placeholder

Similar activities

Strategic Management Course

Strategic Management Course

University

16 Qs

SM25 - c3e4

SM25 - c3e4

University

16 Qs

CHP 3: SHORT RUN COSTS

CHP 3: SHORT RUN COSTS

University

16 Qs

ELEMENTI DEL PATRIMONIO

ELEMENTI DEL PATRIMONIO

10th Grade - University

20 Qs

International Economy

International Economy

University

20 Qs

IAE ORG THR S1 Classical Theories: Taylor's Scientific Org

IAE ORG THR S1 Classical Theories: Taylor's Scientific Org

University

20 Qs

VENTAS -   GENERALIDADES

VENTAS - GENERALIDADES

University

17 Qs

google colaboratory latihan

google colaboratory latihan

4th Grade - University

17 Qs

Python Conditionals

Python Conditionals

Assessment

Quiz

Business

University

Hard

Used 3+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to check equality of numbers in python?

=

==

?

#

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type holds true/false data?

str

float

int

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would this print to the screen?

'\'H\\\'E\\R\t\"M'

'H\ERtM

'H\'E\R "M

error

'H\'\Rt"M

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

!= means

about equal to

exactly equal to

not equal to

help

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the error in this code?

missing colon

incorrect quotations

undefined variable

5<6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If statements can be placed within if statements

this be true

this be false

this be true sometimes

this be true some false times

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the error in this code?

batAvg is a bad identifier

batAvg is never given a value

elseif isn't a thing

it's okay code

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?