Logical Operations Flashcards

1
Q

Absolute Error

A

the difference between the actual number and the nearest representable value

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

Absolute Value

A

also known as the magnitude, can be found by taking a negative binary number and switching all the 0s to 1s and all the 1s to 0s

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

And

A

a conjunction. Only when both statements are true is the combined compound statement true

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

Arithmetic Shift Function

A

multiplications of bit patterns, which involves moving the bits in a specified direction, either left or right, by a specified number of places

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

Boolean

A

can be true or false, can be shortened to bool

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

Absorptive Law

A

allows a reduction in complicated expression to a simpler one by absorbing terms

A+(A.B)=A
A(A+B)=A

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

Annulment Law

A

a law that states and always equals 1/or always equals 0. A variable and 0 is always equal to 0

A.0=0
A+1=1

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

Associative Law

A

this is a biconditional equivalence as long as they all use conjunction and disjunction i.e. not a continuation

A+(B+C)=(A+B)+C=A+B+C
A(B.C)

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

Commutative Law

A

the order for conjunctions or disjunctions does not matter

A.B=B.A
A+B=B+A

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

Complement Law

A

a term and’d with its complement equals 0/ a term or’d with its complement equals 1

A.NotA=0
A+NotA=1.

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

Distributive Law

A

a non-associate law i.e. the order of brackets matter, however the contents of the brackets are commutative -you can multiply out an expression

A(B+C)=A.B+A.C
A+(B.C)=(A+B).(A+C)

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

Double Complement Law

A

the double complement of a variable is always equal to the variable

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

Idempotent Law

A

an input that is and’d or or’d with itself is equal to the input

A+A=A
A.A=A

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

Identity Law

A

a law that states if a term is or’d with a 0 it will always be a 0/ if a term is and’d with a 1 it will always be a 1

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

De Morgan’s Law

A

the law that gives the relation between and, or, negation and complements in set theory

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

Buffer Overflow

A

where a data structure is not large enough for certain values of data to be passed into it causing data to spill out of the field and into nearby memory, overwriting program instructions

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

Buffer Underflow

A

where the data structure is not large enough for the values to be passed into it

18
Q

Cyclic Shift

A

where, during a shift, the least significant bit is moved to a free space at the start of the string, causing no data to be lost, often used in modular arithmetic

19
Q

Excessive Overflow

A

when a value overflows the data structure

20
Q

Implication

A

the relationship between two statements

21
Q

Most Significant Bit

A

the bit right at the beginning of the binary number, that has the most effect, because it shows whether a number is positive or negative

22
Q

Negation

A

a unary argument i.e it is not

23
Q

Normalisation

A

converting from fixed point to floating point

24
Q

Operand

A

the number that the instruction is being done to

25
Q

Operation

A

an action that is carried out to achieve a task

26
Q

Arithmetic Operation

A

allow numerical operations to be performed on values, e.g. integer division

27
Q

Boolean Operation

A

a form of algebra where all values are either True or False

28
Q

Logic Operation

A

a special symbol or word that connects two or more phrases of information

29
Q

String Operation

A

an operation that involves manipulating strings, e.g. concatenation

30
Q

Operator

A

the instruction that is being carried out

31
Q

Or

A

a disjunction. If one or more statement is true, the combined compound statement is true

32
Q

Order of Precedence

A

BODMAS for Boolean algebra: brackets, not, xor, and, or

33
Q

Overflow

A

occurs when a number resulting from a calculation is too small to be represented

34
Q

Precision

A

maximum number of significant digits that can be represented

35
Q

Propositional Logic

A

a statement that will either end in true or false, considering the way statements interact with each other and following mathematical rules

36
Q

Propositional Logic Symbols

A

uses symbols to represent logic links

37
Q

Radix Complement

A

methods of manipulating binary numbers, e.g. two’s complement

38
Q

Relative Error

A

absolute error divided by the actual number

39
Q
A
40
Q

Truth Table

A

a diagram that shows all possible logical inputs and their associated outputs

41
Q

Two’s Complement

A

the law that states that the most significant bit should show whether a number is positive or negative, with 1 as negative and 0 as positive

42
Q

Underflow

A

occurs when a number resulting from a calculation is too small to be represented