CGP Flashcards

1
Q

Hardware-

A

Hardware- the physical components of a computer. e.g. keyboard, CPU

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

Software-

A

Software- the programs a computer runs. e.g. games, web browser

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

Embedded Systems- ___ ___ __ __ ___ ____ _ ___. E.g they could control Dishwashers, ___ ___.

They are usually ____ ____ _ ___, ___ _ ___, and __ ___ at their task than general purpose computers.

A

Embedded systems- computers built into other devices, usually as control devices. E.g. they could control DIshwashers, Microwaves, Washing machines.

They are usually easier to design, cheaper to produce, and more efficient at their task than general purpose systems

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

___ pieces of hardware like a keyboard or mouse are called ____

A

External pieces of hardware like a keeyboard or mouse are called peripherals

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

Central Processing Unit (CPU)-

A

where a computer processes all data and instructions

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

Control Unit-

A

Control Unit- controls the flow of data in and out of the CPU, it manages the fetching, decoding, and executing of instructions

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

Arithmetic Logic Unit (ALU)-

A

ARithmetic Logic Unit- does calculations such as addition, subtractions, multiplication, and division. It also performs binary shifts and logic operations

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

Cache-

There are three levels of cache memory:
L1 -> L2 -> L3
Decreasing __, increasing __

A

Cache- stores regularly used data for quick access. Low capacity and expensive.
There are three levels of Cache memory;
L1->L2->L3
Decreasing speed, increasing capacity

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

Registers-

A

Registers- temporarily hold small amounts of data. They are extremely fast to read/ write to

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

Name 4 common CU components

A

-Control Unit
-Arithmetic Logic Unit
-Cache
-Registers

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

Number of cores-

Some software is designed to

A

Number of cores- each core processes data independently so more cores means more instructions can be carried out per second. SOme software is designed to take advantage of multicore processing

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

Clock speed-

A

Clock speed- the number of instructions a single processor can carry out per second

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

Cache size-

A

Cache size- a larger CPU cache gives the CPU faster access to more data

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

Generally, CPUs with __ __, __ __, and __ __ will have __ performance, but __, more

A

Generally, CPUs with more cores, higher clock speeds and larger caches will have better performance, but cost more

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

In the Von Neumann architecture, __ and ___ are both stored in the same memory.

A

In the Von Neumann architecture, data and instructions are both stored in the same memory.

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

____
Program Counter (PC)-

A

Control Unit
Program Counter (PC)-
holds the memory address of the instruction for each cycle

17
Q

________
Accumulator-

A

Arithmetic Logic Unit
Accumulator- stores the intermediate results of the calculations in the ALU

18
Q

Memory Address Register (MAR)-

The address could point to

A

Memory Address Register (MAR)-
holds any memory address about to be used by the CPU.
The address could point to data or instructions

19
Q

Memory Data Register (MDR)-

A

Memory Data Register (MDR)-
holds the actual data or instruction, either fetched from memory of waiting to be written to memory

20
Q

The fetch execute cycle __ ____ while the __ ____ _ ___

A

The fetch-execute cycle repeats continuously while the computer is running

21
Q
  1. ____
    -MEmory address

-Instruction

-Program Counter

A
  1. FETCH
    -Memory address copied from the program counter to the MAR
    -Instruction copied from memory to the MDR
    -PRogram incremented to point to the next instruction
22
Q
  1. ___
    Decoded instruction carried out.
    Examples of instructions
    -
    -
    -
A
  1. EXECUTE
    Decoded instructions carried out.
    Examples of instructions:
    -Load data from memory
    -Write data to memory
    -Do calculation or logic operation (using ALU)
23
Q
  1. ___
    -Instruction in the MDR
    -Control Unit prepares for next step, e.g.
A
  1. DECODE
    -Instruction in the MDR decoded by the control unit
    -Control unit prepares for next step, e.g. by loading values into MAR or MDR