2.4 Logic and Languages Flashcards

1
Q

What are the three Boolean operators?

A
  • AND
  • OR
  • NOT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a truth table?

A
  • Lists outputs for logic gates
  • For all possible inputs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the shape of the AND operator?

A

=D-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the shape of the OR operator?

A

=)>-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the shape of the NOT operator?

A

=>o-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is data validation?

A
  • Ensure the data entered is the correct format
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a range check?

A
  • Number is within sensible range
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is type check?

A
  • Data is right type
  • E.g integer, letter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a length check?

A
  • Text isn’t too long or short
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is presence check?

A
  • Checks data has been entered
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is format check?

A
  • Checks format is correct
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly