Exam 13.06.23 (V23) Flashcards

1
Q

Which one of the following is correct?
(a) Program counter contains the instruction the processor is currently executing
(b) Program counter contains the address of the instruction the processor is currently executing
(c) Program counter is a register
(d) All of the above
(e) None of the above

A

Direct memory access (DMA)

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

Which of the following can explain why having more random access memory (RAM) can improve
computer performance?

(a) Having more RAM can reduce external fragmentation
(b) Larger RAM can increase processor speed
(c) Having more RAM can reduce the possibility of page faults
(d) All of the above
(e) None of the aboveWhich of the following can explain why having more random access memory (RAM) can improve
computer performance?

A

Having more RAM can reduce the possibility of page faults

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

Which of the following will be saved during a context switch between processes?
(a) Stack pointer
(b) Program counter
(c) CPU registers
(d) All of the above
(e) None of the above

A

All of the above

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

Which of the following data structure is generally used by operating systems to store information
associated to a process
(a) Process control block (PCB)
(b) Process identifier
(c) Process state
(d) All of the above
(e) None of the above

A

Process control block (PCB)

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

An address generated by the CPU is commonly referred to as a/an . . .
(a) Physical address
(b) Absolute address
(c) Logical address
(d) All of the above
(e) None of the above

A

Logical address

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

Which of the following is an advantage of virtual memory?
(a) It allows the execution of processes that are not completely in memory
(b) It abstracts main memory into an extremely large logical memory
(c) It allows running programs that are larger than physical memory
(d) All of the above
(e) None of the above

A

All of the above

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

Which threading model will allow all threads to run at the same time, as well as all CPU cores to
be utilised at the same time?
(a) One-to-one
(b) One-to-many
(c) Many-to-one
(d) Many-to-many
(e) None of the above

A

One-to-one

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

What is a kernel thread?
(a) A virtual CPU that user threads are mapped to
(b) What threads are called when used by the kernel
(c) Old-fashioned name for threads
(d) Used only for one-to-one threading model

A

A virtual CPU that user thereads are mapped to

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

Why does it matters that your mobile phone is a Von Neumann machine?
(a) It does not matters at all
(b) It makes it possible to install software from app stores
(c) It means that it can perform any operation (Von Neumann-complete)
(d) Mobile phones are generally not Von Neumann-machines

A

It makes it possible to install sotftware from app stores

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

What is external memory?
(a) Storage that is outside the computer cabinet
(b) Storage that is outside the CPU
(c) Storage that can not be directly adressed from the CPU
(d) Hot-pluggable storage (can be attached to a running computer)

A

Storage that can not be directly adressed from the CPU

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

Which of the following is correct about a computer bus?
(a) It may connect more than two devices in a computer system
(b) It can not be serial (must have several parallel data lines)
(c) It must have high bandwith
(d) It is only used to connect the CPU to main memory
(e) All of the above

A

It may connect more than two devices in a computer system

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

Which of the following is correct about CPU?
(a) A CPU die may only have one core
(b) A computer may only have one CPU die
(c) If a computer has more than one core, there may only be one CPU die in the computer
(d) A computer may have several CPU dies with several cores each

A

A computer may have several CPU dies with several cores each

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