Boolean Basics
Truth tables and canonical form
Karnaugh maps
Arduino Logic and common errors
Pop Culture
100

What is the result of the Boolean operation A · B when A = 1 and B = 1?

a) 0
b) 1
c) A
d) B

b) 1

100

How many rows does a truth table with 2 inputs have?

a) 2
b) 4
c) 6
d) 8

b) 4

100

What is the main purpose of a Karnaugh map?

a) Build truth tables
b) Program Arduino
c) Simplify Boolean functions
d) Define sensors

c) Simplify Boolean functions

100

Which Arduino operator represents logical AND?

a) &
b) +
c) &&
d) ||

c) &&

100

1. Which movie was the first superhero film to be nominated for Best Picture at the Oscars?
A) The Dark Knight
B) Black Panther
C) Joker
D) Avengers: Endgame

B) Black Panther

200

Which Boolean operator represents OR?

a)&&
b) !
c)||
d) |

c) ||

200

How many possible input combinations exist for 3 variables?

a) 3
b) 6
c) 8
d) 16

c) 8

200

In a Karnaugh map, groups must contain how many cells?

a) Powers of two
b) Odd numbers only
c) Even numbers only
d) Prime numbers

a) Powers of two

200

Which operator represents logical NOT in Arduino?

a) ~
b) !
c) '
d) ^

b) !

200

2. Which company originally developed the video-sharing platform YouTube before it was acquired by Google?
A) PayPal
B) Yahoo
C) Meta
D) Microsoft

A) PayPal

300

What is the complement of the variable A?

a) A
b) A + 1
c) A·A
d) A'

d) A'

300

Which notation represents a canonical sum of minterms?

a) Σ
b) Π
c) ∧
d) ⊕

a) Σ

300

Which grouping is NOT valid in a Karnaugh map?

a) 32 cell
b) 16 cells
c) 6 cells
d) 1 cells

c) 6 cells

300

What is the main danger of omitting parentheses in Arduino logic expressions?

a) The program will not upload
b) Variables will reset
c) The logic may be evaluated incorrectly
d) The output will always be 0

c) The logic may be evaluated incorrectly

300

3. Which artist holds the record for the most Grammy Awards won by any individual?
A) Michael Jackson
B) Beyoncé
C) Quincy Jones
D) Taylor Swift

B) Beyoncé

400

Which expression is equivalent to A || 0?

a) 0
b) 1
c) A
d) A'

c) A

400

A minterm corresponds to:

a) A row where the output is 0
b) A simplified expression
c) A row where the output is 1
d) A complemented variable

c) A row where the output is 1

400

When grouping cells in a Karnaugh map, the goal is to:

a) Maximize the number of groups
b) Use diagonal groups
c) Eliminate the truth table
d) Minimize the number of literals

d) Minimize the number of literals

400

Which Arduino expression correctly represents A · (B + C)?

a) (A && B || C)
b) A && (B || C)
c) (A && B) || C
d) (A || B) && C

b) A && (B || C)

400

4. Which TV series finale became one of the most-watched television events in history in 2019?
A) Breaking Bad
B) Friends
C) The Big Bang Theory
D) Game of Thrones

D) Game of Thrones

500

Which expression is equivalent to A + A' + B + C?

a) BC
b) B+C
c) A+B+C
d) A'+B+B

b) B+C

500

If a function is defined as F = Σm(1,3,5), how many rows of the truth table have F = 1?

a) 1
b) 3
c) 5
d) 8

b) 3

500

What happens to a variable when it changes within a Karnaugh group?

a) It is complemented
b) It is eliminated
c) It is duplicated
d) It becomes constant

b) It is eliminated

500

Given the Boolean function F = (A + B)'C, which Arduino expression is correct?

a) !(A || B) && C
b) !A || !B && C
c) !A && !B || 'C
d) !(A && B) && 'C

a) !(A || B) && C

500

5. Which global brand changed its name to “Meta” in 2021?
A) Google
B) Facebook
C) Amazon
D) Twitter

B) Facebook

M
e
n
u