OS | Test 1

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.
Good Guy Beket
Quiz von Good Guy Beket, aktualisiert more than 1 year ago
Good Guy Beket
Erstellt von Good Guy Beket vor mehr als 5 Jahre
1294
8

Zusammenfassung der Ressource

Frage 1

Frage
The figure below illustrates a partial program execution What is the address of the instruction that is being executed?
Antworten
  • 940
  • 941
  • 303
  • 302

Frage 2

Frage
What is NOT a main structural element of a computer system?
Antworten
  • System bus
  • Main memory
  • Operating system
  • Processor

Frage 3

Frage
Which of the following element of a computer system controls the operation of the computer and performs its data processing functions?
Antworten
  • Main Memory
  • I/O modules
  • Processor
  • System bus

Frage 4

Frage
This register specifies the location in memory for the next read or write
Antworten
  • I/OAR
  • I/OBR
  • Memory Address Register
  • Memory Buffer Register

Frage 5

Frage
Complete the relationship concerning the memory systems: faster access time —
Antworten
  • slower access speed
  • greater capacity
  • smaller cost per bit
  • greater cost per bit

Frage 6

Frage
When a processor attempts to read a byte or word of memory, it firstly checks the:
Antworten
  • Cache
  • Disk
  • CD
  • Main memory

Frage 7

Frage
Complete the relationship concerning the memory systems: greater capacity —
Antworten
  • faster access speed
  • greater cost per bit
  • smaller cost per bit
  • lower capacity

Frage 8

Frage
The processor contains a single data register, called:
Antworten
  • PC
  • PSW
  • AC
  • IR

Frage 9

Frage
As one goes down the memory hierarchy the following occurs
Antworten
  • Decreasing capacity
  • Increasing frequency of access to the memory by the processor
  • Increasing cost per bit
  • Increasing access time

Frage 10

Frage
The figure below shows:
Antworten
  • Parent-child interrupt processing
  • Nested interrupt processing
  • Parallel interrupt processing
  • Sequential interrupt processing

Frage 11

Frage
The figure below shows:
Antworten
  • Nested interrupt processing
  • Parallel interrupt processing
  • Parent-child interrupt processing
  • Sequential interrupt processing

Frage 12

Frage
At the beginning of each instruction cycle, the processor fetches an instruction from the memory. The address of the instruction is held in:
Antworten
  • PC
  • MBR
  • MAR
  • IR

Frage 13

Frage
Which of the following registers are used by the processor to exchange data with input/output module?
Antworten
  • MAR and MBR
  • PC and IR
  • I/OAR and I/OBR
  • Program status word

Frage 14

Frage
Which of the following element of a computer system moves data between the computer and its external environment?
Antworten
  • I/O modules
  • Processor
  • Main memory
  • System bus

Frage 15

Frage
Which register contains the address of the next instruction to be fetched?
Antworten
  • Instruction register
  • Program counter
  • Execution register
  • Process counter

Frage 16

Frage
Which register contains the instruction most recently fetched?
Antworten
  • Program counter
  • Process counter
  • Execution register
  • Instruction register

Frage 17

Frage
Choose the micro-instructions that reflect instruction execution stage shown in the figure below:
Antworten
  • IR → MAR 941 M → MBR 0002 MBR → AC 0002
  • PC → MAR 303 M → MBR 2941 MBR → IR 2941
  • PC → MAR 302 M → MBR 2941 MBR → IR 2941
  • IR → MAR 941 M → MBR 0005 MBR → AC 0005

Frage 18

Frage
Choose the micro-instructions that reflect instruction execution stage shown in the figure below:
Antworten
  • IR → MAR 941 M → MBR 0002 MBR → AC 0005
  • IR → MAR 941 M → MBR 0002 MBR → AC 0002
  • PC → MAR 302 M → MBR 2941 MBR → IR 2941
  • PC → MAR 301 M → I/OBR 5941 I/OBR → IR 5941

Frage 19

Frage
Choose the micro-instructions that reflect instruction execution stage shown in the figure below:
Antworten
  • PC → MAR 300 M → MBR 1940 MBR → IR 1940
  • M → MAR 300 M → MBR 1940 MBR → IR 1940
  • PC → MAR 300 M → MAR 1940 MBR → IR 1940
  • PC → MAR 301 M → MBR 1940 MBR → IR 1940

Frage 20

Frage
Choose the micro-instructions that reflect execution stage shown in the figure below:
Antworten
  • IR → MAR 1940 M → MBR 0003 MBR → AC 0003
  • PC → MAR 300 M → MBR 1940 MBR → IR 1940
  • IR → MAR 940 M → MBR 940 MBR → AC 0003
  • IR → MAR 940 M → MBR 0003 MBR → AC 0003

Frage 21

Frage
The figure below illustrates a partial program execution What is the memory location of the data that is addressed in the instruction?
Antworten
  • 940
  • 302
  • 941
  • 301

Frage 22

Frage
The figure below illustrates a partial program execution. What is the memory location of the data that is addressed in the instruction?
Antworten
  • 941
  • 301
  • 940
  • 302

Frage 23

Frage
The figure below illustrates a partial program execution Instruction in the IR will:
Antworten
  • Add 2 to AC from the memory
  • Store 3 to AC from the memory
  • Load 3 to AC from the memory
  • Add 3 to AC from the memory

Frage 24

Frage
When an I/O device completes an I/O operation, the device issues an interrupt signal to the processor and then:
Antworten
  • The processor finishes the execution of the current instruction before responding to the interrupt
  • The processor loads the program counter with the entry location of the interrupt-handling routine
  • The processor saves information needed to resume the current program at the point if interrupt
  • The processor stops execution of the current instruction without finishing it and responds to the interrupt

Frage 25

Frage
The figure a) demonstrates the program timing diagram for:
Antworten
  • Interrupts; slow I/O wait
  • Interrupts; long I/O wait
  • Interrupts; short I/O wait
  • Interrupts; fast I/O wait
  • No interrupts

Frage 26

Frage
The smaller, more expensive, faster memory is:
Antworten
  • Main memory
  • Register
  • Cache
  • Disk drive

Frage 27

Frage
If 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:
Antworten
  • mapping function
  • replacement algorithm
  • write policy
  • locality of reference

Frage 28

Frage
Complete the relationship concerning the memory systems: greater capacity —
Antworten
  • lower capacity
  • slower access speed
  • faster access speed
  • greater cost per bit

Frage 29

Frage
We 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:
Antworten
  • Ts = H1 × (T1 + T2)
  • Ts = H1 × T1 + H2 × T2
  • Ts = H1 × T1
  • Ts = H1 × T1 + (1 — H1) × (T1 + T2)

Frage 30

Frage
Which register contains condition codes set by the processor hardware as the result of operations?
Antworten
  • Accumulator
  • Program counter
  • Stack pointer
  • Program status word

Frage 31

Frage
If the accessed word is not found in the faster memory, that is defined as a:
Antworten
  • zero
  • miss
  • loss
  • ricochet

Frage 32

Frage
Which of the following element of a computer system stores data and programs?
Antworten
  • Main memory
  • Processor
  • System bus
  • I/O modules

Frage 33

Frage
The processor is executing 'Load AC from memory' instruction. Choose the correct micro-instructions:
Antworten
  • PC → MAR M → MBR MBR → IR IR → MAR M → MBR MBR → AC
  • PC → MAR M → MBR MBR → IR IR → MBR M → MAR MAR → AC
  • PC → MAR M → MBR MBR → AC IR → MAR M → MBR MBR → AC
  • PC → MBR M → MAR MAR → IR IR → MAR M → MBR MBR → AC

Frage 34

Frage
The processor determined that there is a pending interrupt and sent an acknowledgement signal to the device that issued the interrupt. Then, the processor:
Antworten
  • Pause and remain idle until the I/O operation finishes
  • Saves the current state of the program being executed
  • Fetches new instruction from the user program and executes it
  • Loads new PC value based on interrupt

Frage 35

Frage
As one goes down the memory hierarchy the following occurs:
Antworten
  • Increasing capacity
  • Increasing cost per bit
  • Increasing frequency of access ot the memory by the processor
  • Decreasing access time

Frage 36

Frage
When 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:
Antworten
  • Fast I/O wait
  • Short I/O wait
  • Slow I/O wait
  • Long I/O wait

Frage 37

Frage
We 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:
Antworten
  • Ts = H1 × T1 + H2 × T2 + (1 — H2) × T3
  • Ts = H1 × H1 + (1 — H1) × (H2 × (T1 + T2) + (1 — H2) × (T1 + T2 + T3))
  • Ts = H1 × H1 + (1 — H1) × (H2 × (T2 + T3)
  • Ts = H1 × H1 + (1 — H1) × (H1 × T1 + H2 × (T1+T2) + (1 — H2) × (T2 + T3))

Frage 38

Frage
The type of memory is nonvolatile:
Antworten
  • Secondary memory
  • Cache
  • Main memory
  • Register

Frage 39

Frage
Which of the following provides for communication among elements of a computer system?
Antworten
  • I/O modules
  • Processor
  • Main memory
  • System bus
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Components of An Operating System - Jason Madappattu
Jason EM
Operating Systems (OS)
rwc.carlton
Operating System
Kai Stovell Unkn
Operating Systems
David Lee
OS
Koda M
Tyrannosaure rex
daom
Software and Utilities
Adam Meese
Operating systems
Joshua Wilkins U
LinuxOS-History
kostavro
LinuxOS-General
kostavro