



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This quiz was taken by Sir Raza Muhammad at Quaid-i-Azam University for Introduction to Programming course. It includes: Computer, Programming, Components, Operating, System, Directory, Device, Drivers, Multitasking
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!




A. Device drivers B. File manager C. Memory manager
A. Device drivers B. File manager C. Memory manager
A. Shell B. File manager C. Scheduler
A. Bootstrapping B. Batch processing C. Multiprogramming
A. Window manager B. Scheduler C. Bootstrap
A. An interrupt B. A semaphore C. A login
A. Utility B. Critical region C. Privileged instruction
A. Passwords B. Privilege levels C. Multitasking
A. The location of the memory area assigned to the process B. The priority of each process C. Whether the process is ready or waiting D. The machine language instructions being executed by the process
A. Deadlock B. Interrupt C. Booting
A. How many processes can obtain a time slice in one second?
B. How many processes can obtain a time slice in one second if half of them use only half of their slice?
ANSWER: Interactive processing, Real-time processing
ANSWER: A. Checks to see if the contents of a memory cell is 0 or 1 and sets the value to a 1. B. Causes the CPU to not recognize incoming interrupts. C. Causes the CPU to begin recognizing incoming interrupts.
A. Require processes to request all required resources at once.
B. Allow only one process at a time in the process table.
C. Take all resources from processes when deadlock occurs and restart the processes.
ANSWER: A. Resources must be requested on a partial basis. B. There must be competition for nonshareable resources. C. Resources cannot be forcibly retrieved.
ANSWER: Possible answers include: Memory space, mass storage space, printers, space in process table, CPU time, and many more
ANSWER: System software provides the infrastructure required by the application software. It includes the operating system and utilities. Application software provides the unique functionality required to perform the particular tasks for with the computer is used. Examples include word processors, spreadsheet systems, database systems, and image processing systems.
ANSWER: A process that is waiting would not be able to advance if given a time slice (perhaps because it is waiting for a peripheral device to complete a task) whereas a process that is ready would be able to continue execution if given a time slice.
ANSWER: Once a process requests an I/O operation, its time slice will be terminated, it will be labeled as a waiting process, and another process will be allowed to start another time slice. Thus, the first process’s effective time slice would be reduced.
ANSWER: The term virtual memory refers to the illusion of a memory space that is larger than that actually present. This illusion is created by the operating system. Multiprogramming is a technique used by operating systems to create the illusion of more CPUs than are actually present.
ANSWER: Possible answers include: The implementation of multiprogramming, the need to protect each process from malicious behavior of other processes, and the need to deal with the possibility of deadlock.