C4 file system_key
C4 file system_key
C4 file system_key
a) File identifier
b) File name
c) File type
d) None of the mentioned
View Answer
Answer: a
Explanation: None.
2. To create a file ____________
a) allocate the space in file system
b) make an entry for new file in directory
c) allocate the space in file system & make an entry for new file in directory
d) none of the mentioned
View Answer
Answer: c
Explanation: None.
3. By using the specific system call, we can ____________
a) open the file
b) read the file
c) write into the file
d) all of the mentioned
View Answer
Answer: d
Explanation: None.
4. File type can be represented by ____________
a) file name
b) file extension
c) file identifier
d) none of the mentioned
View Answer
Answer: b
Explanation: None.
5. Which file is a sequence of bytes organized into blocks understandable by the
system’s linker?
a) object file
b) source file
c) executable file
d) text file
View Answer
Answer: a
Explanation: None.
6. What is the mounting of file system?
a) crating of a filesystem
b) deleting a filesystem
c) attaching portion of the file system into a directory structure
d) removing the portion of the file system into a directory structure
View Answer
Answer: c
Explanation: None.
7. Mapping of file is managed by ____________
a) file metadata
b) page table
c) virtual memory
d) file system
View Answer
Answer: a
Explanation: None.
8. Mapping of network file system protocol to local file system is done by ____________
a) network file system
b) local file system
c) volume manager
d) remote mirror
View Answer
Answer: a
Explanation: None.
9. Which one of the following explains the sequential file access method?
a) random access according to the given byte number
b) read bytes one at a time, in order
c) read/write sequentially by record
d) read/write randomly by record
View Answer
Answer: b
Explanation: None.
10. When will file system fragmentation occur?
a) unused space or single file are not contiguous
b) used space is not contiguous
c) unused space is non-contiguous
d) multiple files are non-contiguous
View Answer
Answer: a
Explanation: None.
A. object file
B. source file
C. text file
D. None of the above
View Answer
Ans : A
Explanation: An object file is a sequence of bytes organized into blocks that are
understandable by the machine.
A. object file
B. source file
C. text file
D. None of the above
View Answer
Ans : B
Explanation: Ordinary files : These are the files that contain user information.
A. These files represent physical device like disks, terminals, printers, networks, tape
drive etc.
B. These may have text, databases or executable program.
C. These files contain list of file names and other information related to these files.
D. All of the above
View Answer
Ans : C
Explanation: Directory files :These files contain list of file names and other information
related to these files.
Explanation: Special files : These files are also known as device files.
7. In Space Allocation, Which of the following ways are correct to allocate disk space to
files?
A. Contiguous Allocation
B. Linked Allocation
C. Indexed Allocation
D. All of the above
View Answer
Ans : D
Explanation: Operating systems deploy following three main ways to allocate disk space
to files :Contiguous Allocation, Linked Allocation, Indexed Allocation.
8. What is the real disadvantage of a linear list of directory entries?
Explanation: linear search to find a file is the real disadvantage of a linear list of
directory entries.
A. Asynchronous
B. Regular
C. Synchronous
D. Irregular
View Answer
Ans : A
Clarification: None.
5. What will happens when a process closes the file?
a) per-process table entry is not defined
b) system wide entry’s open count is decremented
c) all of the mentioned
d) none of the mentioned
Answer: b
Clarification: None.
6. What is raw disk?
a) disk without file system
b) empty disk
c) disk lacking logical file system
d) disk having file system
Answer: a
Clarification: None.
7. The data structure used for file directory is called
____________
a) mount table
b) hash table
c) file table
d) process table
Answer: b
Clarification: None.
8. In which type of allocation method each file occupy a set of
contiguous block on the disk?
a) contiguous allocation
b) dynamic-storage allocation
c) linked allocation
d) indexed allocation
Answer: a
Clarification: None.
9. If the block of free-space list is free then bit will ____________
a) 1
b) 0
c) any of 0 or 1
d) none of the mentioned
Answer: a
Clarification: None.
10. Which protocol establishes the initial logical connection between
a server and a client?
a) transmission control protocol
b) user datagram protocol
c) mount protocol
d) datagram congestion control protocol
Answer: c
1. Reliability of files can be enhanced by :
a)by keeping duplicate copies of the file
b) making a different partition for the files
c) by keeping them in external storage
d) keeping the files safely in the memory
Answer A
2. What is the name of Each entry of the directory file that has component(s)?
(A). filename and inode number
(B). inode number
(C). filename
(D). file size
(E). None of these
Multiple Choice Question Answer: a
6. The file itself store the file name and file size, in the UNIX.
(A). False
(B). True
(E). None of these
Multiple Choice Question Answer: a