0% found this document useful (0 votes)
44 views6 pages

Quiz - 05

This document contains a quiz on memory management policies, I/O subsystem, and IPC. It lists the student's name and roll number, then asks 10 multiple choice questions on these topics. The questions cover functions of a line discipline, parts related to swapping, the swap device location, reasons for swapping out a process, the swapper process, demand paging, memory management data structures in the kernel, the copy on write flag, I/O queues, and UNIX System V IPC mechanisms. The student scored full marks on all questions.

Uploaded by

Demo Account 1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views6 pages

Quiz - 05

This document contains a quiz on memory management policies, I/O subsystem, and IPC. It lists the student's name and roll number, then asks 10 multiple choice questions on these topics. The questions cover functions of a line discipline, parts related to swapping, the swap device location, reasons for swapping out a process, the swapper process, demand paging, memory management data structures in the kernel, the copy on write flag, I/O queues, and UNIX System V IPC mechanisms. The student scored full marks on all questions.

Uploaded by

Demo Account 1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

5/17/2021 Quiz - 05

Quiz - 05 Total points 10/10

Unit - 05 Memory Management Policies, I/O Subsystem, IPC


Class - SY BTech
Div - B
QUIZ is compulsory to all.

Name of the student *

Gandal Gaurav Dadasaheb

Roll No. *

179

https://docs.google.com/forms/d/e/1FAIpQLSfYVt8Qub3SaJ-O7wlhyjDEBOT-EbRHIRHYEkcVbCfT7VP8hA/viewscore?viewscore=AE0zAgBGLFIMert… 1/6
5/17/2021 Quiz - 05

The functions of a line discipline are: * 1/1

to parse input strings into lines

to process erase characters

to process a "kill" character that invalidates all characters typed so far on the current
line

to echo (write) received characters to the terminal

to expand output such as tab characters to a sequence of blank spaces

Option 6

to generate signals to processes for terminal hangups, line breaks, or in response to


a user hitting the delete key

to allow a raw mode that does not interpret special characters such as erase, kill or
carriage return

All above

Swapping related to following parts * 1/1

Managing swap space on swap device

Swapping process out of main memory

Swapping process into main memory

Swapping process into secondary memory

https://docs.google.com/forms/d/e/1FAIpQLSfYVt8Qub3SaJ-O7wlhyjDEBOT-EbRHIRHYEkcVbCfT7VP8hA/viewscore?viewscore=AE0zAgBGLFIMert… 2/6
5/17/2021 Quiz - 05

The swap device is a block device in a ___________________________ * 1/1

configurable section of a disk

configurable section of main memory

kernel code

None of the above

A process is swapped out if the kernel needs space in memory. It needs 1/1
space in memory under following situations: *

The fork system call must allocate space for a child process.

The brk system call increases the size of a process.

A process becomes larger by the natural growth of its stack.

The kernel wants to free space in memory for processes it had previously swapped
out and should now swap in.

All of the above

________________________is the only process that swaps processes into 1/1


memory from swap devices. *

Swapper process

Kernel process

Boot Process

None of the above

https://docs.google.com/forms/d/e/1FAIpQLSfYVt8Qub3SaJ-O7wlhyjDEBOT-EbRHIRHYEkcVbCfT7VP8hA/viewscore?viewscore=AE0zAgBGLFIMert… 3/6
5/17/2021 Quiz - 05

The working set of a process is the set of pages that the process has 1/1
referenced in its last n memory references; the number n is called the
window of the working set. If the working set stays in the memory,
swapping could be reduced. When a process addresses a page that is
not in its working set, it incurs a page fault; in handling the fault, the
kernel updates the working set, reading in pages from a secondary
device if necessary. This phenomenon is called as __________________ *

Swapping

Demand paging

Memory allocation

Page translation

The kernel contains 4 major data structures to support low-level memory 1/1
management functions and demand paging. These data structures are
____________ *

page table entries

disk block descriptors

page frame data table (called pfdata for short)

swap-use table

Inode table

File table

Process table

https://docs.google.com/forms/d/e/1FAIpQLSfYVt8Qub3SaJ-O7wlhyjDEBOT-EbRHIRHYEkcVbCfT7VP8hA/viewscore?viewscore=AE0zAgBGLFIMert… 4/6
5/17/2021 Quiz - 05

The ____________, used in the fork system call, indicates that the kernel 1/1
must create a new copy of the page when a process modifies its
contents *

Valid bit

Reference bit

Copy on write

modify bit

age

When a process writes data to a stream, the kernel sends the data down 1/1
the output queues; when a device driver receives input data, it sends the
data up the input queues to a reading process. True or False ? *

True

False

The UNIX System V IPC package consists of three mechanisms: * 1/1

Messages allow process to send formatted data streams to arbitrary processes.

Shared memory allows processes to share parts of their virtual address space.

Semaphores allow processes to synchronize execution.

All of the above

This form was created inside of Sanjivani Group of Institutes.

https://docs.google.com/forms/d/e/1FAIpQLSfYVt8Qub3SaJ-O7wlhyjDEBOT-EbRHIRHYEkcVbCfT7VP8hA/viewscore?viewscore=AE0zAgBGLFIMert… 5/6
5/17/2021 Quiz - 05

 Forms

https://docs.google.com/forms/d/e/1FAIpQLSfYVt8Qub3SaJ-O7wlhyjDEBOT-EbRHIRHYEkcVbCfT7VP8hA/viewscore?viewscore=AE0zAgBGLFIMert… 6/6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy