computer science test 1

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

flashcard set

Earn XP

Description and Tags

test 1

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

28 Terms

1
New cards

CPU- what it does

CPU is the brain of the computer, it fetches, decodes and executes instructions stored in memory and carries out all processing tasks.

2
New cards

Control Unit (CU)

Manages the fetch decode execute cycle. Sends control signals to direct other parts of the system. Tells memory and ALU devices what to do.

3
New cards

Arithmetic Logic Unit (ALU)

performs maths operations and logic operations. Output results to the accumulator.

4
New cards

Registers

Very fast temporary memory inside the CPU. Used to store data, instructions and addresses during processes.

5
New cards

Cache memory

small, fast memory close to the CPU. Stores frequently used instructions.

6
New cards

clock

sends out regular pulses to control the timing of the CPU operation. Speed measured in Hertz(hz)-usually GHZ(billion cycles per second)

7
New cards

clock speed

Higher clock speed= CPU carries out more instructions per second. However, when more power is used, it generates more heat.

8
New cards

number of cores

each core can decode and execute instructions independently. More cores= more tasks handled at once. Useful for multitasking.

9
New cards

cache size

bigger cache=more data stored close to CPU. Reduces time waiting for data from RAM.

10
New cards

program counter (pc)

holds the address of the next instruction to be fetched

11
New cards

memory address register (mar)

holds the memiry address of data or instruction being accesssed

12
New cards

memory data register (mdr)

holds the actual data being transferred to or from memory

13
New cards
14
New cards

current instruction register (CIR)

holds the current instruction from being decoded and executed

15
New cards

accumulator

stores intermediate results of calculations carried out by the ALU

16
New cards

step 1 of the fetch decode execute cycle

step 1: fetch- the program counter sends the address of the next instructions to the MAR. The cpu fetches the instruction from main memory and places it in MDR. the instruction is copied from the MDR to CIR. The PC increments by 1.

17
New cards

step 2 of the fetch decode execute cycle

step 2:decode - the control unit interprets the instruction in the CIR. It determines what needs to be done.

18
New cards

step 3 of the fetch decode execute cycle

step 3: execute- The decoded instruction is carried out. E.g. ALU performs a calculation or logic operation. Then the cycle repeats millions of times per second,

19
New cards

secondary storage

It has slow speed. It is large and it is not volatile. It is inside the CPU and holds current data.

20
New cards

Cache

The speed is very fast,it is small and volatile. It is next to the CPU and stores frequently used data

21
New cards

RAM

it is fast and the size is medium. It is very volatile. Holds program/data in use.

22
New cards
23
New cards

Register

It is the fastest speed, it is also very small. It is not volatile. It is long term storage

24
New cards

clock cycle

a single tick of the cpu clock-

25
New cards

throughput

number of instructions processed per second

26
New cards

parallel processing

using multiple cores to perform several operations at once

27
New cards

bottleneck

when one part of the system slows down the rest

28
New cards

instruction set

the complete cell of the operations the CPU can perform