Unit 4 : CPU and Memory Flashcards

1
Q

List out the major components of CPU ( 2 )

A
  1. ALU ( Arithmetic Logic Unit )
  2. CU ( Control Unit )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the subcomponents in CPU? ( 2 )

A
  1. Memory Management Unit
  2. I/O Interface
  • Memory Management Unit - supervises instructions and data from memory
  • I/O Interface - Sometimes combined with memory management unit as Bus Interface Unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the usage in ALU ?

A
  1. Performs calculations and comparisons
    1. Logical Operation
    2. Math Calculation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the usage in CU? ( 2 )

A
  1. Access program instructions and issues commands to the ALU
  2. Moves data to and from CPU registers and other hardware components
    1. Contols the movement of data in/out of the CPU
    2. Controls all other component of the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is registers?

A
  1. It is a small,permanent storage locations within the CPU used for a particular purpose
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What unit controls registers directly ?

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

What are the digits registers stores

A
  1. Bits or Bytes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the part for fetching and decoding

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

What are the part for executing?

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

What are the part for storing?

A
  1. Registers
  • Registers are like pockets in our shirts where we store things for disposal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

List out the type of registers ( 2 )

A
  1. General Purpose Registers
  2. Special-Purpose Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

List out all the special-purpose registers ( 5 )

A
  1. Program Count Register ( PC )
  2. Instruction Register ( IR )
  3. Memory Address Register ( MAR )
  4. Memory Data Register ( MDR )
  5. Status Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is also called Instruction Pointer?

A
  1. Program Count Register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What stores instruction fetched from memory?

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

What stores the address of what is to be fetched by the CPU?

A
  1. Memory Address Register ( MAR )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What stores the data that is fetched?

A
  1. Memory Data Registers ( MDR )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What stores the current content of the CPU?

A
  1. Status Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

List out the operations of register ( 4 )

A
  1. Sotres values from other locations ( regisers and memory )
  2. Addition and subtraction
  3. Shift or rotate data
  4. Test contents for condtition such as zero or positive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the usage of registers?

A
  1. Scratchpad for currently executing program
    • Holds data needed quickly or frequently
  2. Stores information about status of CPU and currently executing program
    • Address of next program instruction
    • Signals from external devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Is it correct that each memory location has a unique address?

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

Which is a two way register?

A
  1. Memory Data Register ( MDR )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the transfer take place?

A
  1. Between MDR and Memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the 2 factors for determine memory capacity?

A
  1. Number of bits in the MAR
  2. Size of the address portion of the instruction
    • 4 bits allows 16 locations
    • 8 bits allows 256 locations
    • 32 bits allows 4,292,967,296 or 4 GB
24
Q

List out the types of RAM ( 2 )

A
  1. DRAM ( Dynamic RAM )
  2. SRAM ( Static RAM )
25
Q

What RAM is the most common, cheap,less electtical power, less heat, smaller space?

A
  1. DRAM
26
Q

What is the tem Volatile

A
  1. Must be refreshed ( recharged with power ) 1000 times each second
27
Q

Which RAM is faster and more expensive?

A
  1. SRAM
28
Q

What are the usage of SRAM?

A
  1. Cache Memory
29
Q

What is stored inside ROM ( Read-Only Memory )

A
  1. Holds software that is not expected to change over the life of the system
30
Q

What is the full name of EEPROM?

A
  1. Electrically Erasable Programmable ROM
31
Q

Which memory is faster than disk but more expensive, users hot carrier injection to store bits of data, slow rewrite time compared to RAM and useful for nonvolatile portable computer storage?

A
  1. Flash Memory
32
Q

List out the 4 kinds of signals

A
  1. Data
  2. Addressing
  3. Control Signals
  4. Power ( Sometimes )
33
Q

What is a bus?

A
  1. A physical connection that makes it possible to transfer data from one location in the computer system to another
  2. Group of electrical or optical conductors for carrying signals from one location to another
34
Q

What are the characteristics of bus ? ( 10 )

A
  1. Number of separate conductors
  2. Data width in bits carried simultaneously
  3. Addressing capacity
  4. Lines on the bus are for a single type of signal or shared
  5. Throughput - data transfer rate in bits per second
  6. Distance between 2 endpoints
  7. Number and type of attachments supported
  8. Type of control required
  9. Definied purpose
  10. Features and capabilities
35
Q

How does bus categorizate? ( 3 )

A
  1. Parallel vs Serial Bus
  2. Direction of Transmission
  3. Method of Interconnection
36
Q

List out the 3 direction of transmission for bus

A
  1. Simplex
    • Undirectional
  2. Half Duplex
    • Bidirectional, One direction at a time
  3. Full Duplex
    • Bidirectional simultaneously
37
Q

List out the 2 method of interconnection

A
  1. Point-to-point
    • Single source to single destination
  2. Multipoint bus
    • Also broadcast bus or multidrop bus
    • Connect multiple points to one another
  • Cables - Point-to-point buses that connect to an external device
38
Q

How many bits transmitted at a time when bus interface uses serial method?

A
  1. 1 but at a time
39
Q

What is serial method at bus interface ?

A
  1. Single data line pair and a few control lines
40
Q

How many bits transmitted at a time when bus interface uses parallel method?

A
  1. High throughput because all bits of a word are transmitted simultaneously
41
Q

Which buses ( parallel , serial ) is expensive and require a lot of space?

A
  1. Parallel Buses
42
Q

Which buses ( parallel , serial ) is generally used for short distances ( CPU buses and Computer Motherboards ) ?

A
  1. Parallel
  • Subject to radio generated electrical interface which limits their speed and length
43
Q

List out all the classification of instructions ( 8 )

A
  1. Data Movement ( Load, Store )
  2. Arithmetic
  3. Boolean Logic
  4. Single Operand Manipultion Instructions
  5. Bit Manipulation Instructions
  6. Shift and Rotate
  7. Stack Instructions
  8. I/O and Machine Control
44
Q

Which classification of instructions involve most common, greatest flexibility?

A
  1. Data Movement ( Load, Store )
  • It also the most common and provide greatest flexibility
45
Q

What classification of instructions uses operator ( + - * / ) , integers and floating point?

A
  1. Arithmetic
46
Q

Which classification of instructions often includes at least AND, XOR and NOT?

A
  1. Boolean Logic
47
Q

Which classifications of instructions provides negating, decrementing, incrementing, set to 0 ?

A
  1. Single Operand Manipulation Instructions
48
Q

Which classifications of instructions flags to test for conditions?

A
  1. Bit Manipulation Instructions
49
Q

What classifications of instructions does jump and branch, subroutine call and return?

A
  1. Program Control
50
Q

What classigfications of instructions does LIFO method for organizing information and items removed in the reverse order from that in which they are added?

A
  1. Stack Instructions
51
Q

What does PUSH do?

A
  1. Increments pointer, then stores data
52
Q

What does POP do?

A
  1. loads data, then decrements pointer
53
Q

What does Multiple Data Instructions mean?

A
  1. Perform a single operation on multiple pieces of data simultaneously
54
Q

What does Multiple Data Instruction commonly used in?

A
  1. Multimedia, vector and array processing applications
55
Q

What does SIMD mean?

A
  1. Single Instruction, Multiple Data
56
Q
A