Boolean Logic

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

True
Explanation: OR is true if either value is true.

True OR False = ?

2
New cards

False
Explanation: AND is only true if both values are true.

True AND False = ?

3
New cards

No
Explanation: Both conditions must be true with AND.

A user must enter the correct username AND password to log in.

If the username is correct but the password is wrong, is access granted?

4
New cards

Yes
Explanation: NOT approved = blocked.

A firewall is set to block traffic if it's NOT from an approved IP range.

If a packet is from an unapproved IP, is it blocked?

5
New cards

No
Explanation: OR needs at least one true to trigger; both false = no alert.

An alert is triggered if a file is marked suspicious OR if it's run from an unknown location. If both are false, will an alert trigger?

6
New cards

No
Explanation: AND requires both conditions true.

A system only grants access if the user is an admin AND has 2FA enabled. A user has 2FA but is not an admin. Access?

7
New cards

Yes
Explanation: True AND True = True → traffic flagged.

An intrusion detection system flags traffic if it's NOT encrypted AND it comes from a known threat IP. If both are true, is it flagged?

8
New cards

No
Explanation: OR requires at least one true.

A user can access sensitive files if they're in the "HR" group OR they have a special clearance flag. A user has neither—can they access the file?

9
New cards

No
Explanation: AND is false if one part is false.

A login is blocked if the attempt is from a foreign country AND it's outside business hours. It's from a foreign country but during business hours. Blocked?

10
New cards

Yes
Explanation: OR is true if either or both are true.

An alert system will log activity if a USB device is inserted OR if a new process launches. If both happen, will it log activity?

11
New cards

Yes
Explanation: OR → only one condition needs to be true.

You must disable access if a user is inactive for 30+ days OR has failed 5 login attempts. A user has failed 5 times but was active today—disable access?

12
New cards

No
Explanation: AND → one false makes the whole condition false.

An account lockout is triggered when login attempts exceed 5 AND password has not been reset. If a user hits 6 attempts but reset the password—lockout?