Chapter 2 - Datamanipulation Flashcards

1
Q

Beskriv skillnaden mellan RISC- och CISC-processorer.

A

RISC = man har få maskininstruktioner men de är snabba och effektiva (ex. Smartphones)
CISC = man har många enkla att använda och kraftfulla instruktioner (ex. Laptops)

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

Vilka är de tre olika kategorierna av maskininstruktioner (machine instruction categories)?

A

Data transfer
Arithmetic
Control

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

Ge ett exempel för varje kategori från maskininstruktionerna ovan (The Machine’s Language)!

A

Data transfer(LOAD & STORE), arithmetic(ADD & AND), control(JUMP)

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

Vad är ett maskinspråk (machine language)?

A

Är ett set av alla maskin instruktioner som registrerats av CPU:n.

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

Vilka olika steg ingår i en maskincykel (machine cycle)? Ange stegen i den ordning de utförs.

A
  1. Fetch (hämtning av instruktion)
  2. Decode (avkodning av instruktion)
  3. Execute (utför instruktionen)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Vad lagras i programräknaren (program counter)?

A

Innehåller adressen på nästa instruktion som ska utföras

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

Vad lagras i instruktionsregistret (instruction register)?

A

Innehåller instruktionen som ska köras

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

Vilka är de tre huvudsakliga delar som en processor (CPU – central processing unit) består av?

A

Arithmetic/Logic Unit
Control Unit
Registers

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

Vad krävs för att man ska kunna tolka ett bitmönster som ett tecken?

A

Att man känner till teckenkodningen

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