Quiz
OS | Test 1
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (39)
1The figure below illustrates a partial program execution
What is the address of the instruction that is being executed?
- A940
- B941
- C303
- D302
2What is NOT a main structural element of a computer system?
- ASystem bus
- BMain memory
- COperating system
- DProcessor
3Which of the following element of a computer system controls the operation of the computer and performs its data processing functions?
- AMain Memory
- BI/O modules
- CProcessor
- DSystem bus
4This register specifies the location in memory for the next read or write
- AI/OAR
- BI/OBR
- CMemory Address Register
- DMemory Buffer Register
5Complete the relationship concerning the memory systems: faster access time —
- Aslower access speed
- Bgreater capacity
- Csmaller cost per bit
- Dgreater cost per bit
6When a processor attempts to read a byte or word of memory, it firstly checks the:
- ACache
- BDisk
- CCD
- DMain memory
7Complete the relationship concerning the memory systems: greater capacity —
- Afaster access speed
- Bgreater cost per bit
- Csmaller cost per bit
- Dlower capacity
8The processor contains a single data register, called:
- APC
- BPSW
- CAC
- DIR
9As one goes down the memory hierarchy
the following occurs
- ADecreasing capacity
- BIncreasing frequency of access to the memory by the processor
- CIncreasing cost per bit
- DIncreasing access time
10The figure below shows:

- AParent-child interrupt processing
- BNested interrupt processing
- CParallel interrupt processing
- DSequential interrupt processing
11The figure below shows:

- ANested interrupt processing
- BParallel interrupt processing
- CParent-child interrupt processing
- DSequential interrupt processing
12At the beginning of each instruction cycle, the processor fetches an instruction from the memory. The address of the instruction is held in:
- APC
- BMBR
- CMAR
- DIR
13Which of the following registers are used by the processor to exchange data with input/output module?
- AMAR and MBR
- BPC and IR
- CI/OAR and I/OBR
- DProgram status word
14Which of the following element of a computer system moves data between the computer and its external environment?
- AI/O modules
- BProcessor
- CMain memory
- DSystem bus
15Which register contains the address of the next instruction to be fetched?
- AInstruction register
- BProgram counter
- CExecution register
- DProcess counter
16Which register contains the instruction most recently fetched?
- AProgram counter
- BProcess counter
- CExecution register
- DInstruction register
17Choose the micro-instructions that reflect instruction execution stage shown in the figure below:

- AIR → MAR 941
M → MBR 0002
MBR → AC 0002 - BPC → MAR 303
M → MBR 2941
MBR → IR 2941 - CPC → MAR 302
M → MBR 2941
MBR → IR 2941 - DIR → MAR 941
M → MBR 0005
MBR → AC 0005
- AIR → MAR 941
18Choose the micro-instructions that reflect instruction execution stage shown in the figure below:

- AIR → MAR 941
M → MBR 0002
MBR → AC 0005 - BIR → MAR 941
M → MBR 0002
MBR → AC 0002 - CPC → MAR 302
M → MBR 2941
MBR → IR 2941 - DPC → MAR 301
M → I/OBR 5941
I/OBR → IR 5941
- AIR → MAR 941
19Choose the micro-instructions that reflect instruction execution stage shown in the figure below:

- APC → MAR 300
M → MBR 1940
MBR → IR 1940 - BM → MAR 300
M → MBR 1940
MBR → IR 1940 - CPC → MAR 300
M → MAR 1940
MBR → IR 1940 - DPC → MAR 301
M → MBR 1940
MBR → IR 1940
- APC → MAR 300
20Choose the micro-instructions that reflect execution stage shown in the figure below:

- AIR → MAR 1940
M → MBR 0003
MBR → AC 0003 - BPC → MAR 300
M → MBR 1940
MBR → IR 1940 - CIR → MAR 940
M → MBR 940
MBR → AC 0003 - DIR → MAR 940
M → MBR 0003
MBR → AC 0003
- AIR → MAR 1940
21The figure below illustrates a partial program execution
What is the memory location of the data that is addressed in the instruction?
- A940
- B302
- C941
- D301
22The figure below illustrates a partial program execution.
What is the memory location of the data that is addressed in the instruction?
- A941
- B301
- C940
- D302
23The figure below illustrates a partial program execution
Instruction in the IR will:
- AAdd 2 to AC from the memory
- BStore 3 to AC from the memory
- CLoad 3 to AC from the memory
- DAdd 3 to AC from the memory
24When an I/O device completes an I/O operation, the device issues an interrupt signal to the processor and then:
- AThe processor finishes the execution of the current instruction before responding to the interrupt
- BThe processor loads the program counter with the entry location of the interrupt-handling routine
- CThe processor saves information needed to resume the current program at the point if interrupt
- DThe processor stops execution of the current instruction without finishing it and responds to the interrupt
25The figure a) demonstrates the program timing diagram for:

- AInterrupts; slow I/O wait
- BInterrupts; long I/O wait
- CInterrupts; short I/O wait
- DInterrupts; fast I/O wait
- ENo interrupts
26The smaller, more expensive, faster memory is:
- AMain memory
- BRegister
- CCache
- DDisk drive
27If the contents of a block in the cache are altered, then it is needed to save it back to main memory before replacing it. This is called:
- Amapping function
- Breplacement algorithm
- Cwrite policy
- Dlocality of reference
28Complete the relationship concerning the memory systems: greater capacity —
- Alower capacity
- Bslower access speed
- Cfaster access speed
- Dgreater cost per bit
29We have
Ts = average (system) access time
T1 = access time of M1 (e.g. cache)
T2 = access time of M2 (e.g. main memory)
T3 = access time of M3 (e.g. disk)
H1 = hit ratio, fraction of time reference is found in M1
H2 = hit ratio, fraction of time reference is found in M2
The average time to access an item in case the item in cache is:- ATs = H1 × (T1 + T2)
- BTs = H1 × T1 + H2 × T2
- CTs = H1 × T1
- DTs = H1 × T1 + (1 — H1) × (T1 + T2)
30Which register contains condition codes set by the processor hardware as the result of operations?
- AAccumulator
- BProgram counter
- CStack pointer
- DProgram status word
31If the accessed word is not found in the faster memory, that is defined as a:
- Azero
- Bmiss
- Closs
- Dricochet
32Which of the following element of a computer system stores data and programs?
- AMain memory
- BProcessor
- CSystem bus
- DI/O modules
33The processor is executing 'Load AC from memory' instruction. Choose the correct micro-instructions:
- APC → MAR M → MBR MBR → IR IR → MAR M → MBR MBR → AC
- BPC → MAR M → MBR MBR → IR IR → MBR M → MAR MAR → AC
- CPC → MAR M → MBR MBR → AC IR → MAR M → MBR MBR → AC
- DPC → MBR M → MAR MAR → IR IR → MAR M → MBR MBR → AC
34The processor determined that there is a pending interrupt and sent an acknowledgement signal to the device that issued the interrupt. Then, the processor:
- APause and remain idle until the I/O operation finishes
- BSaves the current state of the program being executed
- CFetches new instruction from the user program and executes it
- DLoads new PC value based on interrupt
35As one goes down the memory hierarchy
the following occurs:
- AIncreasing capacity
- BIncreasing cost per bit
- CIncreasing frequency of access ot the memory by the processor
- DDecreasing access time
36When the time required for the I/O operation is less than the time to complete the execution of instructions between write operations in the user program, it is:
- AFast I/O wait
- BShort I/O wait
- CSlow I/O wait
- DLong I/O wait
37We have
Ts = average (system) access time
T1 = access time of M1 (e.g. cache)
T2 = access time of M2 (e.g. main memory)
T3 = access time of M3 (e.g. disk)
H1 = hit ratio, fraction of time reference is found in M1
H2 = hit ratio, fraction of time reference is found in M2
The average time to access an item in case the item in cache is:- ATs = H1 × T1 + H2 × T2 + (1 — H2) × T3
- BTs = H1 × H1 + (1 — H1) × (H2 × (T1 + T2) + (1 — H2) × (T1 + T2 + T3))
- CTs = H1 × H1 + (1 — H1) × (H2 × (T2 + T3)
- DTs = H1 × H1 + (1 — H1) × (H1 × T1 + H2 × (T1+T2) + (1 — H2) × (T2 + T3))
38The type of memory is nonvolatile:
- ASecondary memory
- BCache
- CMain memory
- DRegister
39Which of the following provides for communication among elements of a computer system?
- AI/O modules
- BProcessor
- CMain memory
- DSystem bus
Informationen
- Beschreibung
- Suicidal Operating Systems [Teachers: Teshebayeva Karagoz, Mishina Aigerim ; Final Exam + STATE EXAM] ▼ Quiz am OS | Test 1, erstellt von Good Guy Beket am 28/03/2019.
- Autor
- Good Guy Beket
- Sprache
- English
- Aufrufe
- 1.319
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz