Search Header Logo

[AP CSP] Programming with Conditionals [If, Elif, Else]

Authored by Tommy Nguyen

Computers

9th Grade - University

Used 59+ times

[AP CSP] Programming with Conditionals [If, Elif, Else]
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

The second part of if, that is executed when the condition is false

if
else
for
input

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which statement will check to see if a is equal to b?

if a == b
if a = b:
if a != b:
if a == b:

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will be printed to the screen?

Nothing
Success
Failure
Success
 Failure

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will be printed to the screen?

Success
Failure
Part of the way there!
Nothing

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will be printed to the screen?

Failure

Part of the way there!

Success

Nothing

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which statement will check to see if a is both less than b and less than c?

if a < b < c:
if a < b and a < c:
if a < b and c:
if a < b and b < c

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following are comparators

Equal to (==)
Not equal to (!=)
Less than or equal to (<=)
All of the above

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?