Quiz 4 - External Memory Flashcards

1
Q

T or F: During read and write operations to a magnetic disc the platter is stationary while the head rotates.

A

False

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

What is the primary benefit of RAID 1?

A

Redundancy

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

What is an example of a non-removable disk?

A

HDD

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

In a magnetic disc, what is the term for the nonmagnetic material used to construct the platter?

A

Substrate

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

What is RAID 0?

A

Striped

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

What is one of the most common substrates?

A

Glass

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

T or F: Striping is redundant.

A

False

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

What does RAID stand for?

A

Redundant Array of Independent Disks

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

In many systems there are two heads. What are they called?

A

Read, Write

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

What are the benefits of an SSD compared to an HDD?

A

Efficiency
Speed
Durability

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

What instruction is used to grab the top value off the stack and move it into RAX?

A

pop rax

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

What does the cmp instruction do?

A

Subtract second element from first and compare to 0

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

What will the following code do?

main:
mov rax, 2
mov rbx, 3
cmp rax, rbx
je foo
jg fun
jl fab

foo:
add rax, 2

fun:
sub rax, 2

fab:
jmp main

A

Create an infinite loop

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

In which register will the sum be located after the following instruction: add rdx, rax

A

RDX

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

what does the jmp instruction do?

A

Jumps to an instruction label

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

To dereference a memory location (get the value at an address), what symbols are used?

A

[]

17
Q

What does the RSP indicate?

A

The top of the stack

18
Q

A stack grows in which direction?

A

Down

19
Q

What is done to the RSP register when popping?

A

8 is added to RSP