The CPU Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a computer

A

A machine that processes data

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

Hardware

A

Physical stuff that makes up a computer

e.g. motherboard, CPU

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

Software

A

Programs/applications that a computer system runs

e.g. Video game

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

What is an embedded system

A

Computers built into other devices
e.g. dishwashers, microwaves, TVs

dedicated for one single task -> more efficient than general purpose computer

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

What are embedded systems used for

A

Used as control systems -> monitor + control machinery to get desired result
e.g. in a dishwasher it could control the water pumps, thermostat, various dishwasher cycles

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

CPU

A

brain of the computer system
processes data + instructions to make system work

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

3 main parts of CPU

A

ALU (Arithmetic Logic Unit)
CU (Control Unit)
Cache

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

4 Registers

A

Temporarily hold small bits of data needed for the CPU

Program Counter
Memory address register (MAR)
Memory data register (MDR)
Accumulator

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

Program Counter

A

Holds memory address of the instruction for each cycle

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

Accumulator

A

Stores intermediate results of calculations in the ALU

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

Memory Address Register (MAR)

A

holds any memory address about to be used by the CPU. The address may lead to some data or CPU instructions

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

Memory Data Register (MDR)

A

holds the actual data or instruction

may have been fetched from memory or waiting to be written to memory

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

Memory

A

Holds program instructions + program data

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

Fetch - Execute Cycle

FETCH

A
  1. Copies memory address from program counter to MAR
  2. Copies instruction from MAR to MDR
  3. Increments the Program counter to the address of the next instruction (ready for next cycle)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fetch - Execute Cycle

DECODE

A
  1. Instruction in MDR is decoded by the CU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fetch - Execute Cycle

EXECUTE

A

instruction is performed

e.g. load data from memory, write data to memory, do a calculation or logic operation (using ALU)