OS weekly quiz 1
The conceptual structure of an OS is best described by which of the following?
A. A user level, kernel level and hardware level.
In the context of an OS, which of the following best characterises the difference between concurrency and parallelism?
B. Concurrency is the execution of multiple processes in parallel on a single processor OS and parallelism is the running of multiple processes in parallel on a multi-processor OS.
In the context of an OS, which of the following best describes a virtual machine?
B. None of those listed. \n A. The Java Virtual Machine running concurrently with the extended machine interface. C. A hypervisor. D. A system-level application that provides functionality needed to execute entire operating system and is useful for running multiple different operating systems simultaneously on the same computer system. E. The Java Virtual Machine. F. A computational construct that emulates a physical machine (computer system) and provides an interface to the OS application layer of the given computer system.
Multi-programming in an OS is best described by which of the following?
C. A process abstraction that enables multiple processes that have been scheduled to run, to effectively and efficiently share the computation time of a single CPU.
Which of the following best describes the Java Virtual Machine (JVM)?
C. A virtual machine that enables many computer systems (hardware platforms) to run Java programs compiled to Java bytecode.
Which of the following best characterises resource sharing in an OS?
C. The management and allocation of all computer system hardware so that they are effectively and efficiently shared across all processes and users of the OS.
What is the main purpose of memory sharing in an OS?
D. The use of secondary storage to allow multiple processes to run concurrently on a single processor, where process states are periodically swapped in and out between main memory and secondary storage.
Which of the following best characterises an example of an abstraction in an OS?
E. A system-level application program that performs read and write disk operation functions where such programs encapsulate low level read and write operations on a physical disk controller.
An Operating System (OS) is best defined by which of the following?
E. An OS is the first program that a computer system runs (when its hardware is powered) and is simply a program that runs other programs.
Which of the following statements about the general function of an OS is most correct?
F. The OS is a resource allocator that manages all computer system resources and also manages conflicting requests for efficient and fair resource use, but is also a control program that controls execution of programs to prevent errors.