[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

CodeChef (Secret Snippet)

CodeChef (Secret Snippet)

University

35 Qs

Python. Основы языка

Python. Основы языка

9th - 12th Grade

35 Qs

IGCSE 0478 Standards Computer Science

IGCSE 0478 Standards Computer Science

10th Grade

30 Qs

Weekly Test 4

Weekly Test 4

University

30 Qs

Nesne Tabanlı Programlama

Nesne Tabanlı Programlama

10th Grade

37 Qs

Remidi - XI

Remidi - XI

11th Grade

30 Qs

Boolean Logic, Comparison Operators, and Loops Review Quiz

Boolean Logic, Comparison Operators, and Loops Review Quiz

10th Grade

31 Qs

JavaScript_Revision

JavaScript_Revision

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?