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

Quiz - 04

This document contains the results of a quiz on file systems taken by a student named Gaurav Dadasaheb Gandal with a roll number of 179. The quiz addressed topics related to disk inodes, incore inodes, algorithms used for accessing inodes and converting offsets to block numbers, how the kernel handles releasing inodes, and basic concepts of directories and path name resolution in file systems. The student answered all 10 multiple choice questions correctly.

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 views4 pages

Quiz - 04

This document contains the results of a quiz on file systems taken by a student named Gaurav Dadasaheb Gandal with a roll number of 179. The quiz addressed topics related to disk inodes, incore inodes, algorithms used for accessing inodes and converting offsets to block numbers, how the kernel handles releasing inodes, and basic concepts of directories and path name resolution in file systems. The student answered all 10 multiple choice questions correctly.

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/ 4

5/3/2021 Quiz - 04

Quiz - 04 Total points 10/10

Class - SY BTech Div- B


Sub - Operating System and Administration
Unit - 04 - Introduction to File System
Quiz is compulsory for all.

Name of student *

Gaurav Dadasaheb Gandal

Roll Number *

179

Disk inodes consist of * 1/1

File owner identifier

File type

File access permission

File access times

Number of links

Table of contents for disk address

File size

status of incore inode

https://docs.google.com/forms/d/e/1FAIpQLSdOVxgmKzIPsY72dXfhZg-_FCubv6K_-dA6BWG8yeFpBgkQ7Q/viewscore?viewscore=AE0zAgAsHeWc… 1/4
5/3/2021 Quiz - 04

Incore indoe consist of * 1/1

Status of incore indoe

The logical device number

The inode number

Pointers to other incore inodes

Reference count

Which algorithm is used to access indoes * 1/1

iput

iget

Both

How to calculate the block number * 1/1

((inode number - 1 ) / number of inodes per block ) + start block of inode list

((inode number - 1) modulo / ( number of inodes per block ) * size if disk inode

https://docs.google.com/forms/d/e/1FAIpQLSdOVxgmKzIPsY72dXfhZg-_FCubv6K_-dA6BWG8yeFpBgkQ7Q/viewscore?viewscore=AE0zAgAsHeWc… 2/4
5/3/2021 Quiz - 04

When the kernel releases an inode, it decrements its _______________ * 1/1

inode number

disk address

incore reference count

block number

Conversion of byte offset to block number in File system is done by 1/1


_________________ *

bmap

imap

bread

namei

Every directory contains the file names dot and dot-dot ("." and "..") 1/1
whose inode number are those of the directory and its parent directory,
respectively. True or False? *

True

False

https://docs.google.com/forms/d/e/1FAIpQLSdOVxgmKzIPsY72dXfhZg-_FCubv6K_-dA6BWG8yeFpBgkQ7Q/viewscore?viewscore=AE0zAgAsHeWc… 3/4
5/3/2021 Quiz - 04

Conversion of path name to inode is done by using _____________ * 1/1

namei

bmap

name

imap

Algorithm _____________ assigns a disk inode to a newly created file * 1/1

alloc

ialloc

iget

getblk

When the kernel wants to allocate a block from a file system, it allocates 1/1
the next available block in superblock. True or False? *

True

False

This form was created inside of Sanjivani Group of Institutes.

 Forms

https://docs.google.com/forms/d/e/1FAIpQLSdOVxgmKzIPsY72dXfhZg-_FCubv6K_-dA6BWG8yeFpBgkQ7Q/viewscore?viewscore=AE0zAgAsHeWc… 4/4

You might also like