logo
  • Home
  • Test & Rank
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Mining
  • Marine
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Jobs
  • Contact

Operating System Multiple Choice Questions | MCQs | Quiz

Operating System Interview Questions and Answers
Practice Operating System questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

•   Basics
•   Processes
•   Process Control Block
•   Process Scheduling Queue
•   Process Synchronization
•   Process Creation
•   Process Communication
•   Remote Procedure Calls
•   Structures
•   CPU Scheduling
•   CPU Scheduling Benefits
•   CPU Scheduling Algorithm1
•   CPU Scheduling Algorithm2
•   Critical Section Problem
•   Semaphores - 1
•   Semaphores - 2
•   Synchronization Problems
•   Monitors
•   Atomic Transactions
•   Deadlock
•   Deadlock Prevention
•   Deadlock Avoidance
•   Deadlock Detection
•   Deadlock Recovery
•   Swapping Processes - 1
•   Swapping Processes - 2
•   Memory Management
•   Memory Allocation - 1
•   Memory Allocation - 2
•   Paging - 1
•   Paging - 2
•   Segmentation
•   I/O System
•   Application I/O Interface
•   Kernel I/O Subsystems
•   RTOS
•   Real Time System - 1
•   Implementing RTOS
•   Real Time Cpu Scheduling1
•   Real Time Cpu Scheduling2
•   Multimedia Systems
•   Compression - 1
•   Compression - 2
•   Compression - 3
•   CPU & Disk Scheduling
•   Network Management
•   User Authentication
•   Program & System Threats
•   Securing Systems
•   Security-Intrusion Detection
•   Security - Cryptography
•   Secondary Storage
•   Linux
•   Threads
•   User & Kernel Threads
•   Multi Threading Models
•   Fork & Exec System Calls
•   Thread Cancellation
•   Signal Handling
•   Thread Pools
•   Virtual Memory
•   Demand Paging
•   Replacement Algorithms - 1
•   Replacement Algorithms - 2
•   Frames Allocation
•   Thrashing
•   File System
•   File System Implementation
•   FS Access Methods - 1
•   FS Access Methods - 2
•   FS Directory Structure - 1
•   FS Directory Structure - 2
•   FS Mounting & Sharing
•   FS Interface Protection
•   FS Allocation Methods - 1
•   FS Allocation Methods - 2
•   FS Allocation Methods - 3
•   File System Performance
•   File System Recovery
•   FS Network File System - 1
•   FS Network File System - 2
•   I/O Subsystem
•   Disk Scheduling - 1
•   Disk Scheduling - 2
•   Disk Management
•   Swap Space Management
•   RAID Structure - 1
•   RAID Structure - 2
•   Tertiary Storage
•   Protection - Access Matrix
•   Protection
•   Security
•   Memory Protection
•   Access Rights Revocation
•   Distributed OS
•   Types & Resource Sharing
•   Network Structure
•   Robustness of Systems
•   Distributed File System - 1
•   Distributed File System - 2
•   Distributed File System - 3
•   Distributed Coordination
•   Distributed Synchornization

Best Reference Books

Operating Systems Books

Operating System Tests

Certification Test
Internship Test
Job Test
All Tests
Top Rankers
Practice Test 1
Practice Test 2
Practice Test 3
Practice Test 4
Practice Test 5
Practice Test 6
Practice Test 7
Practice Test 8
Practice Test 9
Practice Test 10
Mock Test 1
Mock Test 2
Mock Test 3
Mock Test 4
Mock Test 5
Mock Test 6
Mock Test 7
Mock Test 8
Mock Test 9
Mock Test 10
« Prev Page
Next Page »

Operating System Questions & Answers – Virtual Memory – Demand Paging

Posted on April 18, 2013 by Manish

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Virtual Memory – Demand Paging”.

1. Virtual memory allows :
a) execution of a process that may not be completely in memory
b) a program to be smaller than the physical memory
c) a program to be larger than the secondary storage
d) execution of a process without being in physical memory
View Answer

Answer: a
Explanation: None.
advertisement

2. The instruction being executed, must be in :
a) physical memory
b) logical memory
c) physical & logical memory
d) none of the mentioned
View Answer

Answer: a
Explanation: None.

3. Error handler codes, to handle unusual errors are :
a) almost never executed
b) executed very often
c) executed periodically
d) none of the mentioned
View Answer

Answer: a
Explanation: None.

4. The ability to execute a program that is only partially in memory has benefits like :
a) The amount of physical memory cannot put a constraint on the program
b) Programs for an extremely large virtual space can be created
c) Throughput increases
d) All of the mentioned
View Answer

Answer: d
Explanation: None.

5. In virtual memory. the programmer __________ of overlays.
a) has to take care
b) does not have to take care
c) all of the mentioned
d) none of the mentioned
View Answer

Answer: b
Explanation: None.

6. Virtual memory is normally implemented by ________
a) demand paging
b) buses
c) virtualization
d) all of the mentioned
View Answer

Answer: a
Explanation: None.
advertisement

7. Segment replacement algorithms are more complex than page replacement algorithms because :
a) Segments are better than pages
b) Pages are better than segments
c) Segments have variable sizes
d) Segments have fixed sizes
View Answer

Answer: c
Explanation: None.

8. A swapper manipulates ___________ whereas the pager is concerned with individual _______ of a process.
a) the entire process, parts
b) all the pages of a process, segments
c) the entire process, pages
d) none of the mentioned
View Answer

Answer: c
Explanation: None.

9. Using a pager :
a) increases the swap time
b) decreases the swap time
c) decreases the swap time & amount of physical memory needed
d) increases the amount of physical memory needed
View Answer

Answer: c
Explanation: None.

10. The valid – invalid bit, in this case, when valid indicates :
a) the page is not legal
b) the page is illegal
c) the page is in memory
d) the page is not in memory
View Answer

Answer: c
Explanation: None.

11. A page fault occurs when :
a) a page gives inconsistent data
b) a page cannot be accessed due to its absence from memory
c) a page is invisible
d) all of the mentioned
View Answer

Answer: b
Explanation: None.

12. When a page fault occurs, the state of the interrupted process is :
a) disrupted
b) invalid
c) saved
d) none of the mentioned
View Answer

Answer: c
Explanation: None.
advertisement

13. When a process begins execution with no pages in memory :
a) process execution becomes impossible
b) a page fault occurs for every page brought into memory
c) process causes system crash
d) none of the mentioned
View Answer

Answer: b
Explanation: None.

14. If the memory access time is denoted by ‘ma’ and ‘p’ is the probability of a page fault (0 <= p <= 1). Then the effective access time for a demand paged memory is :
a) p x ma + (1-p) x page fault time
b) ma + page fault time
c) (1-p) x ma + p x page fault time
d) none of the mentioned
View Answer

Answer: c
Explanation: None.

15. When the page fault rate is low :
a) the turnaround time increases
b) the effective access time increases
c) the effective access time decreases
d) turnaround time & effective access time increases
View Answer

Answer: c
Explanation: None.

16. Locality of reference implies that the page reference being made by a process :
a) will always be to the page used in the previous page reference
b) is likely to be one of the pages used in the last few page references
c) will always be one of the pages existing in memory
d) will always lead to page faults
View Answer

Answer: b
Explanation: None.

Sanfoundry Global Education & Learning Series – Operating System.

Here’s the list of Best Reference Books in Operating System.

To practice all areas of Operating System, here is complete set on 1000+ Multiple Choice Questions and Answers on Operating System.

« Prev Page - Operating System Questions & Answers – Virtual Memory
» Next Page - Operating System Questions & Answers – Virtual Memory – Page Replacement Algorithms – 1

« Operating System Questions & Answers – Virtual Memory
Operating System Questions & Answers – Virtual Memory – Page Replacement Algorithms – 1 »
advertisement

Deep Dive @ Sanfoundry:

  1. C# Basic Programming Examples
  2. Object Oriented Programming Questions and Answers
  3. Embedded System Questions and Answers
  4. Java Programming Examples on Classes
  5. Computer Organization & Architecture Questions and Answers
  6. Java Programming Examples on Java.Lang
  7. Computer Networks Questions and Answers
  8. C# Programming Examples on Files
  9. C# Programming Examples on Inheritance
  10. Operating System Questions and Answers
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
LinkedIn | Facebook | Twitter | Google+

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
Terms
Privacy Policy
Jobs
Bangalore Training
Online Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry. All Rights Reserved.