Day 3 Flashcards

1
Q

Order of Magnitude

A

comes from the scientific notation of very large numbers in which each order of magnitude is ten times the previous one. (computers use an abridged version to describe how big or fast something is)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
Exa 
Peta
Tera
Giga
Mega
Kilo

Milli
Micro (u)
Nano

A
10^18 --> 2^60 
10^15 --> 2^50
10^12 --> 2^40
10^9 --> 2^30
10^6 --> 2^20
10^3 --> 2^10

10^-3
10^-6
10^-9

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

Digital Logic

A

use of electronic switches to solve Boolean functions.

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

Closed vs Open with circuits

A
Closed = on = T
Open = off = F
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Logic Gates

A

electronic device that performs Boolean operations

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

What is an I/O table

A

lists all possible input signals together with their corresponding output signals

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

Know what the symbols for:

A
AND
OR
NOT
NAND
NOR
XOR
look like
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is current computer architecture derived from ?

A

John Von Neumann’s 1945 draft report on the electronic discrete variable automatic computer (EDVAC)

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

What is a stored-program concept?

A

allows instructions and data to be stored in memory rather than being manually entered every time the program is run.

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

The Harvard Architecture

A

solves bottleneck by having separate memory and I/O for data read, data write, and instruction read. Allows the writing of data to memory while the next instruction is being read.

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

CPU

A

Central processing unit aka processor.
Active part of the computer.
Contains data paths and controls

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

Memory

A

storage area where programs are kept when they are running.

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

I/O

A

How we pass data between the CPU and memory.
input = keyboard, mouse
output = monitor printer

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

Little man Computer

A

created by Stuart Madnick. introduces simplified, but typical set of instructions a computer can perform.

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

Registers

A

small amounts of storage space within the CPU used to perform operations. There are two types GPR (any purpose) and SPR (single/special purpose)

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

Accumulator

A

A - 3 digit GPR used by the arithmetic logic unit. executes arithmetic ops and logic decisions.

17
Q

Program counter (PC)

A

2 digit SPR used to point the CU to the correct memory address of the next instruction

18
Q

Instruction register (IR)

A

3 digit SPR used by the decoder to decode the instruction.

19
Q

Memory Address Register (MAR)

A

2 digit SPR used to point to the correct memory address to read or write.

20
Q

Memory Data Register (MDR)

A

3 digit SPR used to hold data to be read from or written to the ALU or memory. there are 100 memory addresses 0-99; each can hold 3 digits.

21
Q

Memory Management Unit (MMU)

A

manages data passed to or fetched from memory.

22
Q

Control Unit (CU)

A

performs fetch and decode steps by moving data and addressses between the registers and I/O or MMU

23
Q

Instruction Set Architecture (ISA)

A

vocabulary of commands understood by the CPU and the interface that allows all software to run on the hardware.

24
Q

Opcode

A

numeric value that represents an instruction to the CPU

25
Q

Mnemonic

A

(short character sequence) represents each opcode

26
Q

Operand

A

indicates what data the opcode is to work with

27
Q

Fetch-decode-execute (F-D-E) cycle

A

process used by the CPU to retrieve, interpret, and perform each instruction of a program.

28
Q

Machine control

A

HLT 000
PC –> MAR
MDR –> IR

29
Q

Arithmetic (ADD)

A
ADD 1XX
PC --> MAR
MDR --> IR
IR (ADDR) --> MAR
A + MDR --> A
PC + 1 --> PC
30
Q

Arithmetic (SUB)

A
SUB 2XX
PC --> MAR
MDR --> IR
IR (ADDR) --> MAR
A - MDR --> A
PC + 1 --> PC
31
Q

Data Transfer (STA)

A
STA 3XX 
PC --> MAR
MDR --> IR
IR (ADDR) --> MAR
A --> MDR (INTO MEMORY)
PC + 1 --> PC
32
Q

Data Transfer (LDA)

A
LDA 5XX
PC --> MAR
MDR --> IR
IR (ADDR) --> MAR
MDR --> A (OUT OF MEMORY)
PC + 1 --> PC
33
Q

Control Transfer (BRA)

A

BRA 6XX
PC –> MAR
MDR –> IR
IR (ADDR) –> PC

34
Q

Control Transfer (BRZ)

A
BRZ 7XX
PC --> MAR
MDR -->IR
IF A = = 0 THEN
  IR (ADDR) --> PC
ELSE 
PC + 1 --> PC
35
Q

Control Transfer (BRP)

A
BRP 8XX
PC --> MAR
MDR --> IR
IF A >= 0 THEN
   IR (ADDR) --> PC
ELSE 
  PC + 1 --> PC
36
Q

I/O (INP)

A
INP 901 
PC --> MAR
MDR --> IR
INBOX --> A
PC + 1 --> PC
37
Q

I/O (OUT)

A
OUT 902
PC --> MAR
MDR --> IR
A --> OUTBOX
PC + 1 --> PC