Unit 3 Booleans and Conditional Statements

Unit 3 Booleans and Conditional Statements

12th Grade

25 Qs

quiz-placeholder

Similar activities

Chapter 5-Boolean Expressions and If Statements-Ch 5 Rev. Drill

Chapter 5-Boolean Expressions and If Statements-Ch 5 Rev. Drill

Conditional Review Quizizz

Conditional Review Quizizz

Z'yon Computer Science

Z'yon Computer Science

Topic 3.3 Video 1

Topic 3.3 Video 1

Unit 3 If Statements

Unit 3 If Statements

Praxis 5652 Computer Science Prep Mod 6 Basic Boolean Logic

Praxis 5652 Computer Science Prep Mod 6 Basic Boolean Logic

Unit 3 Booleans and Conditional Statements

Unit 3 Booleans and Conditional Statements

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Eric Schumacher

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the value of x after the code segment executes?

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

apple

orange

apple

pear

orange

pear

pear

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is printed as a result of executing the code segment?

false false false

false false true

true false false

true false true

true true true

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the code?

9

10

11

12

13

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output when the code is executed?

A

D

ABD

ABCD

ABCDE

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Assume grade is an int variable. Which of the following is equivalent to grade <= 95?

!(grade < 95)

!grade < !90

!grade <= !90

!(grade <= 95)

!(grade > 95)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The Boolean expression A <= B is equivalent to which of the following expressions?

!(B >= A)

!(A <= B)

!(A != B)

!(B < A)

B >= A

Create a free account and access millions of resources

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?