APCSP Boolean Expressions/If-Else (After Exam)

APCSP Boolean Expressions/If-Else (After Exam)

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will happen if the condition in the code evaluates FALSE?

Media Image

Back

nothing will happen/the block of statements does NOT run

2.

FLASHCARD QUESTION

Front

What will happen if the condition in the code evaluates TRUE? Options: the first block of statements runs, the second block of statements runs, nothing will happen/the blocks of statements do NOT run

Media Image

Back

the first block of statements runs

3.

FLASHCARD QUESTION

Front

What will happen if the condition in the code evaluates FALSE? Options: the first block of statements runs, the second block of statements runs, nothing will happen/the blocks of statements do NOT run

Media Image

Back

the second block of statements runs

4.

FLASHCARD QUESTION

Front

If the value of score1 is 350 and the value of score2 is 210, what will be the value of result after the code segment is executed?

Media Image

Back

5

5.

FLASHCARD QUESTION

Front

What is 7 MOD 2?

Back

1

6.

FLASHCARD QUESTION

Front

What is 6 MOD 2?

Back

0

7.

FLASHCARD QUESTION

Front

What is the output after executing the following code segment:

Media Image

Back

EVEN

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?