Python Conditionals

Python Conditionals

University

21 Qs

quiz-placeholder

Similar activities

Gerencia Comercial - Practica Calificada

Gerencia Comercial - Practica Calificada

University

20 Qs

Project Management - Midterm Exam

Project Management - Midterm Exam

University

20 Qs

Keusahawan

Keusahawan

1st Grade - University

20 Qs

REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]

REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]

1st Grade - University

20 Qs

Revisão - Empreendedorismo Criativo

Revisão - Empreendedorismo Criativo

University

20 Qs

SM_1

SM_1

University

18 Qs

QUIZ 4 : TOPIC 10 [STANDARD COSTING & VARIANCE ANALYSIS]

QUIZ 4 : TOPIC 10 [STANDARD COSTING & VARIANCE ANALYSIS]

1st Grade - University

20 Qs

Python Conditionals

Python Conditionals

Assessment

Quiz

Business

University

Practice Problem

Hard

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?