Logical Operations

Logical Operations

11th Grade

25 Qs

quiz-placeholder

Similar activities

AP CS A Unit 3 Review

AP CS A Unit 3 Review

11th - 12th Grade

20 Qs

Karel Quiz

Karel Quiz

8th - 12th Grade

22 Qs

Java logic control structures

Java logic control structures

9th - 12th Grade

20 Qs

National 5 Programming

National 5 Programming

10th - 12th Grade

20 Qs

U1L06 CSD Understanding Processing Types in Coding

U1L06 CSD Understanding Processing Types in Coding

9th - 12th Grade

20 Qs

QUIZZIZ - Resistor Colour Codes

QUIZZIZ - Resistor Colour Codes

9th - 12th Grade

20 Qs

AP CS Exam Review

AP CS Exam Review

11th - 12th Grade

20 Qs

Pseudocode

Pseudocode

9th - 12th Grade

20 Qs

Logical Operations

Logical Operations

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Carven Mark Viado

Used 3+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement best describes the AND logical operation?

It returns TRUE if at least one input is TRUE.

It returns TRUE only if all inputs are TRUE.

It returns FALSE if one input is FALSE.

It returns FALSE only if all inputs are FALSE.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents the truth table of the OR operation?

Only one input needs to be TRUE for the output to be TRUE.

Both inputs need to be TRUE for the output to be TRUE.

The output is TRUE only when both inputs are FALSE.

The output is always FALSE unless both inputs are TRUE.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Boolean expression A AND B is only TRUE when:

A is FALSE and B is TRUE

A is TRUE and B is FALSE

Both A and B are TRUE

Both A and B are FALSE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Boolean expression A OR B is FALSE only when:

A is TRUE and B is FALSE

A is FALSE and B is TRUE

Both A and B are TRUE

Both A and B are FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logic gate is associated with the AND operation?

XOR

NOT

NAND

AND

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A security system is designed to activate an alarm only when both motion is detected AND a window is open. What logical operation is being used?

AND

OR

NOT

XOR

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A website requires a user to log in using either an email or username, along with the correct password. What logical operation is used to check the email/username condition?

AND

OR

NOT

XOR

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?