Computer Organization and Architecture Flashcards
What is the file format of a file with the signature “{\rtf”
.rtf (Rich Text Format)
What is the file format of a file with the signature “ID3”
.mp3 (MPEG Audio Layer-3)
What is the file format of a file with the signature “RIFF”
.wav (Wave)
What is the file format of a file with the signature “BM”
.bmp (Bitmap Image)
What is the file format of a file with the signature “……JFIF”
.jpeg (Joint Photographic Experts Group)
What is the file format of a file with the signature “ID3”
.mpeg (Moving Picture Experts Group)
AND
.mp3 (MPEG Audio Layer-3)
What is the file format of a file with the signature “MZ”
.exe (Executable File Format)
What is the file format of a file with the signature “.ELF”
.elf (Executable and Linkable Format)
What is the file format of a file with the signature “…”
.gz (GZIP)
What is the file format of a file with the signature “PK”
.zip (ZIP)
What are file format signatures written in?
Hexadecimal
What is the Prefix and Symbol for Quintillion?
Exa (E)
What is the Prefix and Symbol for Quadrillion?
Peta (P)
What is the Prefix and Symbol for Trillion?
Tera (T)
What is the Prefix and Symbol for Billion?
Giga (G)
What is the Prefix and Symbol for Million?
Mega (M)
What is the Prefix and Symbol for Thousand?
Kilo (K)
What is the Prefix and Symbol for Thousandth?
milli (m)
What is the Prefix and Symbol for Millionth?
micro (μ)
What is the Prefix and Symbol for Billionth?
nano (n)
What is the Prefix and Symbol for Trillionth?
pico (p)
What is the Prefix and Symbol for Quadrillionth?
femto (f)
What is the Prefix and Symbol for Quintillionth?
atto (a)
Time and frequency have a base of 10 and the exponent increases by intervals of ___?
3
Data Storage has a base of 2 and the exponent increases by intervals of __?
10
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for Halt (HLT)?
000
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for ADD?
1XX
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for SUBTRACT? (SUB)
2XX
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for STORE? (STA)
3XX
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for LOAD? (LDA)
5XX
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for BRANCH UNCONDITIONAL? (BRA)
6XX
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for BRANCH ON ZERO? (BRZ)
7XX
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for BRANCH ON POSITIVE? (BRP)
8XX
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for INPUT? (INP)
901
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for OUTPUT? (OUT)
902
For the LMC what is the 1 Digit Opcode and 2 Digit Operand for DATA?
there isn’t one
What F-D-E Instruction is being described here and what is the code?
PC -> MAR
MDR -> IR
000, HLT
What F-D-E Instruction is being described here and what is the code?
PC -> MAR MDR -> IR IR[ADDR] -> MAR A + MDR -> A PC + 1 -> PC
1XX, ADD
What F-D-E Instruction is being described here and what is the code?
PC -> MAR MDR -> IR IR[ADDR] -> MAR A - MDR -> A PC + 1 -> PC
2XX, SUB
What F-D-E Instruction is being described here and what is the code?
PC -> MAR MDR -> IR IR[ADDR] -> MAR A -> MDR PC + 1 -> PC
3XX, STA
What F-D-E Instruction is being described here and what is the code?
PC -> MAR MDR -> IR IR[ADDR] -> MAR MDR -> A PC + 1 -> PC
5XX, LDA
What F-D-E Instruction is being described here and what is the code?
PC -> MAR
MDR -> IR
IR[ADDR] -> PC
6XX, BRA
What F-D-E Instruction is being described here and what is the code?
PC -> MAR MDR -> IR IF A == 0 THEN IR[ADDR] -> PC ELSE PC + 1 -> PC
7XX, BRZ
What F-D-E Instruction is being described here and what is the code?
PC -> MAR MDR -> IR IF A >= 0 THEN IR[ADDR] -> PC ELSE PC + 1 -> PC
8XX, BRP