Search Header Logo

AP CSP 3.5 Boolean Expressions Pt. 2

Authored by Herman Galioulline

Computers

9th - 12th Grade

Used 11+ times

AP CSP 3.5 Boolean Expressions Pt. 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Directions: For the question or incomplete statement below, two of the suggested answers are correct. For this question, you must select both correct choices to earn credit. No partial credit will be earned if only one correct choice is selected. Select the two that are best in each case.


Which of the following Boolean expressions are equivalent to the expression


num ≥ 15


Select two answers.

(num > 15) AND (num = 15)

(num > 15) OR (num = 15)

NOT (num < 15)

NOT (num < 16)

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In a certain country, a person must be at least 16 years old to drive a car and must be at least 18 years old to vote. The variable age represents the age of a person as an integer.


Which of the following expressions evaluates to true if the person is old enough to drive but not old enough to vote, and evaluates to false otherwise?


I. (age ≥ 16) AND (age ≤ 18)

II. (age ≥ 16) AND (NOT(age ≥ 18))

III. (age < 18) AND (NOT(age < 16))

II only

I and II only

I and III only

II and III only

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

(onFloor1 AND callTo2) AND (onFloor2 AND callTo1)

(onFloor1 AND callTo2) OR (onFloor2 AND callTo1)

(onFloor1 OR callTo2) AND (onFloor2 OR callTo1)

(onFloor1 OR callTo2) OR (onFloor2 OR callTo1)

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

The output will be true no matter what the value of input B is.

The output will be false no matter what the value of input B is.

The output will be true if input B is true; otherwise it will be false.

The output will be false if input B is true; otherwise it will be true.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Input A must be true.

Input A must be false.

Input A can be either true or false.

There is no possible value of input A that will cause the circuit to have the output true.

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?