Save
...
OCR Computing
Paper 2
Topic 4: Boolean logic
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Connor McKeown
Visit profile
Cards (23)
What is the primary concern of logic in computer science?
How we make
decisions
based on multiple
conditions
View source
Why is understanding the basics of logic crucial for programming?
It is crucial to
writing well-structured code
View source
What are the two possible values in Boolean Logic?
True
or
false
View source
Who is Boolean Logic named after?
Mathematician George Boole
View source
What principle does Boolean logic
correspond
to in programming?
The
yes
/
no
or on/
off
principle
View source
What are Logic Gates used for?
To implement Boolean
logic
in
hardware
View source
What are the basic types of Logic Gates?
AND
OR
NOT
View source
When does an 'AND' gate output true?
When
both inputs
are
true
View source
When does an 'OR' gate output true?
When at least
one input
is
true
View source
What does a 'NOT' gate output?
The
opposite
of the
input
View source
What are the combined Logic Gates mentioned?
NOR
NAND
XOR
XNOR
View source
When does a 'NOR' gate output true?
Only when
both inputs
are
false
View source
What does a 'NAND' gate output?
True
unless
both
inputs are
true
View source
When does an 'XOR' gate output true?
Only when the
inputs
are
different
View source
When does an 'XNOR' gate output true?
Only when the
inputs
are the
same
View source
What is a Truth Table used for?
To calculate the results of a
logic function
for each possible
combination
of
input
values
View source
Why is understanding truth tables vital?
It is vital for understanding how
logic gates
work
View source
What values do variables in Binary Logic take on?
0
and
1
View source
What do the values 0 and 1 correspond to in Binary Logic?
False
and
true
respectively
View source
What is the significance of Binary Logic in computer science?
It is the
heart
of
digital electronics
and
computer science
View source
What are Logical Operators used for?
To
manipulate true
or
false
values
View source
What are common Logical Operators?
AND
OR
NOT
NAND
NOR
XOR
XNOR
View source
How are Logical Operators used in programming?
To specify multiple
conditions
within a sequence of
code
View source