Operating System

Descripción

ThirdYear Third Year Test sobre Operating System, creado por Faheem Ahmed el 26/03/2018.
Faheem Ahmed
Test por Faheem Ahmed, actualizado hace más de 1 año
Faheem Ahmed
Creado por Faheem Ahmed hace más de 6 años
1149
0

Resumen del Recurso

Pregunta 1

Pregunta
Which of the following page replacement algorithm use the technique of replace that page which is not used in the near future?
Respuesta
  • Least Recently Used
  • Least Frequently Used
  • Optimal Page Replacement
  • First In First Out

Pregunta 2

Pregunta
A common programming construct for implementing mutual exclusion which uses condition variables is called
Respuesta
  • Semaphore
  • Deadlock
  • Monitor
  • Locking interrupts
  • Threads

Pregunta 3

Pregunta
DMA stands for
Respuesta
  • Direct Management access
  • Direct memory access
  • Dual memory access
  • Data memory access
  • Dual memory array

Pregunta 4

Pregunta
Which of the following is in correct order of size, smallest first?
Respuesta
  • Cylinder, track, sector
  • Cylinder, sector, track
  • Sector, track, cylinder
  • Sector, cylinder, track
  • Track, cylinder, sector

Pregunta 5

Pregunta
Which of the following is NOT a necessary condition for deadlock to occur?
Respuesta
  • Mutual exclusion
  • Hold and wait
  • Wait and signal
  • Circular wait
  • Hold

Pregunta 6

Pregunta
The time required to move the disk head to the desired track is known as
Respuesta
  • Access Time
  • Track Time
  • Latency Time
  • Seek Time
  • Block Time

Pregunta 7

Pregunta
A distributed system is a collection of processors that do not share_______.
Respuesta
  • CPU
  • Memory
  • I/O devices
  • Network
  • File

Pregunta 8

Pregunta
The process of converting logical address into physical address is known as
Respuesta
  • Conversion
  • Displacement
  • Relocation
  • Transfer
  • None of the above

Pregunta 9

Pregunta
In a segmentation scheme the logical memory will be divided into
Respuesta
  • Pages
  • Frames
  • Blocks
  • Cells
  • Segments

Pregunta 10

Pregunta
Which of the technique is used to recover the process from starvation situation?
Respuesta
  • Paging
  • Aging
  • Compaction
  • Starvation
  • Reduction

Pregunta 11

Pregunta
In Unix, dev/null
Respuesta
  • Is a file
  • Has write permission for all
  • Is the UNIX built-in dustbin
  • All of these

Pregunta 12

Pregunta
Redirection in pipes can be achieved by using
Respuesta
  • >
  • >>
  • tee
  • lpr

Pregunta 13

Pregunta
The PID of the kernel process is
Respuesta
  • 0
  • 1
  • 2
  • undefined

Pregunta 14

Pregunta
Which of the following statements best explains a process?
Respuesta
  • It is a program.
  • It is a program in execution.
  • It is an instance of a program in execution.
  • It is a program that uses system calls.

Pregunta 15

Pregunta
An incremental backup
Respuesta
  • uses more tapes
  • should be done each month
  • saves only files that have recently changed
  • saves all files

Pregunta 16

Pregunta
In real-time operating systems, which of the following is the most suitable scheduling scheme?
Respuesta
  • round-robin
  • first-come-first-served
  • preemptive
  • random scheduling

Pregunta 17

Pregunta
If there are 32 segments, each of size 1 K byte, then the logical address should have
Respuesta
  • 13 bits
  • 14 bits
  • 15 bits
  • 16 bits

Pregunta 18

Pregunta
Which of the following refers to the associative memory?
Respuesta
  • Address of the data is generated by the CPU
  • Address of the data is supplied by the users.
  • There is no need for an address ie the data is used as an address
  • Data are accessed sequentially

Pregunta 19

Pregunta
Mutual exclusion problem occurs between
Respuesta
  • two disjoint processes that do not interact
  • processes that share resources
  • processes that do not use the same resource
  • None of these

Pregunta 20

Pregunta
Kernel is
Respuesta
  • considered as critical part of operating system.
  • software which monitors operating system.
  • set of primitive functions upon which rest of operating system functions are built up.
  • none of the above.

Pregunta 21

Pregunta
Which of the following page replacement algorithms suffers from Belady`s anomaly?
Respuesta
  • Optimal replacement
  • LRU
  • FIFO
  • Both optimal replacement and FIFO

Pregunta 22

Pregunta
Locality of reference implies that the page reference being made by a process
Respuesta
  • will always be to the page used in previous page refernce
  • is likely to be one of the pages used in the last few page references
  • will always be one of the pages existing in memory
  • will always lead to a page fault

Pregunta 23

Pregunta
The time of admission of job to ready queue to completion is_______
Respuesta
  • Turnaround time
  • Burst time
  • Response time
  • None of the above

Pregunta 24

Pregunta
which of the following is the command for the searching a pattern in a file
Respuesta
  • find
  • grep
  • lookup
  • none

Pregunta 25

Pregunta
When fork() is given
Respuesta
  • It creats a child process
  • Allocate slot in process table
  • returns 0 to parent & ID to child
  • All of the above
Mostrar resumen completo Ocultar resumen completo

Similar

Operating System
Alexander Nevill
Systems Software Revision
cocacolai
Implementation Methods
Amy Dang
Operating System
Kai Stovell Unkn
Operating Systems
David Lee
what are the main functions of an operating styem?
Oliver Cutcliffe
BMSC335 Lecture 3 Week 1
Maddie McIntyre
Software and Utilities
Adam Meese
P01 Quiz
Syabil Hafizdini
Operating systems.
Nathan Tonkin