Mod 4 Flashcards
What are the rules that apply to drawing circuits?
Never combine 2 input lines.
Input lines can be split as input for 2 separate gates.
Output line can be used as an input line.
Output of a gate cannot feed back into that gate
What is 8^3?
512
What is 8^4?
4096
What is 16^2?
256
What is 16^3?
4096
What is 8^5?
32,768
What is 16^4?
65,536
What is the order of magnitude?
Scientific notation of very large numbers. Each order of magnitude is 10 times the previous one.
What is the prefix for thousand?
Kilo (10^3) or (2^10)
What is the prefix for million?
Mega (10^6) or (2^20)
What is the prefix for billion?
Giga (10^9) or (2^30)
What is the prefix for trillion?
Tera (10^12) or (2^40)
What is the prefix for quadrillion?
Peta (10^15) or (2^50)
What is the prefix for quintillion?
Exa (10^18) or (2^60)
What is the prefix for thousandth?
Milli (10^-3)
What is the prefix for millionth?
Micro (10^-6)
What is the prefix for billionth?
Nano (10^-9)
What is the prefix for trillionth?
Pico (10^-12)
What is the prefix for quadrillionth?
Femto (10^-15)
What is the prefix for quintillionth?
Atto (10^-18)
In order of magnitude when is the power of 2 used and when is the power of 10 used?
Power of 2 is used for data storage while power of 10 is used for time and speed
How large of an integer can a byte hold?
An integer of 0-255 (one less than 2^8)
How large of of an integer can a word hold?
0-65,535 (one less than 2^16)
How large of an integer can a double word hold?
0 to (2^32)-1
How large of an integer can a quad word hold?
0 to (2^64)-1
How big is a nibble?
4 bits
How big is a byte?
8 bits
How big is a word?
16 bits
How big is a double word?
32 bits
How big is a quad word?
64 bits
What are logical shifts used for?
To divide or multiply unsigned integers.
What is SHL?
Shift logical left. Moves n bits in binary to the left and clears each empty bit. Used to multiply by 2^n where n is the number of bits shifted.