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

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

9th Grade - University

35 Qs

quiz-placeholder

Similar activities

Python L1 Concepts

Python L1 Concepts

1st - 12th Grade

40 Qs

Python Conditionals Review

Python Conditionals Review

9th - 12th Grade

31 Qs

Python- if -ifelse-elif

Python- if -ifelse-elif

9th - 12th Grade

30 Qs

C++ Revision

C++ Revision

12th Grade

30 Qs

Python (Week 7)

Python (Week 7)

9th Grade

30 Qs

DFC20113 Programming Fundamentals Set B

DFC20113 Programming Fundamentals Set B

University

30 Qs

2.2 j277 computer science programming techniques (iteration)

2.2 j277 computer science programming techniques (iteration)

9th - 10th Grade

30 Qs

Super Karel Java Script Control Structures

Super Karel Java Script Control Structures

12th Grade

30 Qs

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

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

Assessment

Quiz

Computers

9th Grade - University

Medium

Created by

Tommy Nguyen

Used 59+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?