Search Header Logo

Python Conditionals 2024

Authored by Bryan Campbell

Computers

9th - 12th Grade

Used 10+ times

Python Conditionals 2024
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What are the three main control structures in programming?

Sequence, selection, iteration

Structured, object-oriented, procedural

Java, Python, JavaScript

Machine, assembly, high-level

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Will the code block inside of the if statement execute?

Yes, since the conditional statement is True.

No, since the conditional statement is False.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output once the code is run?

Tim Berners-Lee

Alan Turing

Tim Berners-Lee

Alan Turing

Grace Hopper

Ada Lovelace

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output once the code is run?

Grace Hopper

Tim Berners-Lee

Alan Turing

Tim Berners-Lee

Alan Turing

Grace Hopper

Tim Berners-Lee

Ada Lovelace

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output once the code is run?

Grace Hopper

Tim Berners-Lee

Alan Turing

Charles Babbage

Charles Babbage

Grace Hopper

Tim Berners-Lee

Alan Turing

Charles Babbage

Grace Hopper

Tim Berners-Lee

Ada Lovelace

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will print when this program is executed?

Dallas

Houston

Fort Worth

Austin

Nothing will print

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output once the code is run?

Alan Turing

Charles Babbage

Grace Hopper

Grace Hopper

Tim Berners-Lee

Ada Lovelace

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?