You are on page 1of 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