Operating Systems and Virtual Memory: Lecture Notes (Module 3, Lectures 11-15), Exercises of Computer Science

The basics of operating systems, virtual memory, and related concepts. Topics include identifying operating systems, understanding page sizes and page faults, and selecting optimal page replacement policies. Questions include examples of operating systems, likely page sizes, and page replacement policies.

Typology: Exercises

2012/2013

Uploaded on 04/27/2013

eha
eha 🇮🇳

4.3

(6)

42 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Module 3 (Lectures 11-15) Introduction to Operating Systems and Virtual Memory
1. Which of the following is an example of an operating system?
a) MIPS 1
b) Intel x86
c) MS Word
d) Windows XP
2. Which of the following is a likely operating system page size
a) 8 Bytes
b) 128 Bytes
c) 4 KBytes
d) 17 KBytes
3. A page fault is said to occur if the processor generates
a) an illegal virtual address
b) a virtual address whose page table entry does not contain an associated
physical page
c) a virtual address whose page table entry is not present in the translation
lookaside buffer
d) a virtual address without a page table entry
4. On an operating system which uses a page size of 16 KBytes, the number of
virtual address bits used as page displacement are
a) 12
b) 14
c) 16
d) 18
5. You have written a program which displays excellent locality of reference. Which
of the following page replacement policies would suit your program best?
a) Most frequently used
b) Least frequently used
c) Most recently used
d) Least recently used
Docsity.com

Partial preview of the text

Download Operating Systems and Virtual Memory: Lecture Notes (Module 3, Lectures 11-15) and more Exercises Computer Science in PDF only on Docsity!

Module 3 (Lectures 11- 15 ) Introduction to Operating Systems and Virtual Memory

  1. Which of the following is an example of an operating system? a) MIPS 1 b) Intel x c) MS Word d) Windows XP
  2. Which of the following is a likely operating system page size a) 8 Bytes b) 128 Bytes c) 4 KBytes d) 17 KBytes
  3. A page fault is said to occur if the processor generates a) an illegal virtual address b) a virtual address whose page table entry does not contain an associated physical page c) a virtual address whose page table entry is not present in the translation lookaside buffer d) a virtual address without a page table entry
  4. On an operating system which uses a page size of 16 KBytes, the number of virtual address bits used as page displacement are a) 12 b) 14 c) 16 d) 18
  5. You have written a program which displays excellent locality of reference. Which of the following page replacement policies would suit your program best? a) Most frequently used b) Least frequently used c) Most recently used d) Least recently used

Docsity.com