Operating System MCQ - File System

File System MCQs : This section focuses on "File System" in Operating System. These Multiple Choice Questions (MCQ) should be practiced to improve the Operating System skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. A file is a sequence of?

A. bits
B. bytes
C. lines
D. All of the above

View Answer


2. __________ 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


3. _________ is a sequence of procedures and functions.

A. object file
B. source file
C. text file
D. None of the above

View Answer


4. What is true about Ordinary files?

A. These are the files that contain user information.
B. These files contain list of file names and other information related to these files.
C. These files represent physical device like disks, terminals, printers, networks, tape drive etc.
D. All of the above

View Answer


5. What is true about Directory files?

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


6. Special files : These files are also known as?

A. Character special files
B. Block special files
C. device files
D. Data files

View Answer


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


8. What is the real disadvantage of a linear list of directory entries?

A. size of the linear list in memory
B. linear search to find a file
C. it is not reliable
D. All of the above

View Answer


9. What is raw disk?

A. disk without file system
B. empty disk
C. disk lacking logical file system
D. disk having file system

View Answer


10. In ___________ writes, the data is stored in the cache.

A. Asynchronous
B. Regular
C. Synchronous
D. Irregular

View Answer





Discussion



* You must be logged in to add comment.

pHqghUme
555

pHqghUme
555

pHqghUme
555

pHqghUme
-1 OR 2+704-704-1=0+0+0+1 --

pHqghUme
-1 OR 3+704-704-1=0+0+0+1 --

pHqghUme
-1 OR 3*2<(0+5+704-704) --

pHqghUme
-1 OR 3*2>(0+5+704-704) --

pHqghUme
-1 OR 2+10-10-1=0+0+0+1

pHqghUme
-1 OR 3+10-10-1=0+0+0+1

pHqghUme
-1 OR 3*2<(0+5+10-10)

pHqghUme
-1 OR 3*2>(0+5+10-10)

pHqghUme
-1' OR 2+179-179-1=0+0+0+1 --

pHqghUme
-1' OR 3+179-179-1=0+0+0+1 --

pHqghUme
-1' OR 3*2<(0+5+179-179) --

pHqghUme
-1' OR 3*2>(0+5+179-179) --

pHqghUme
-1' OR 2+58-58-1=0+0+0+1 or 'DtRs3Fer'='

pHqghUme
-1' OR 3+58-58-1=0+0+0+1 or 'DtRs3Fer'='

pHqghUme
-1' OR 3*2<(0+5+58-58) or 'DtRs3Fer'='

pHqghUme
-1' OR 3*2>(0+5+58-58) or 'DtRs3Fer'='

pHqghUme
-1" OR 2+328-328-1=0+0+0+1 --

pHqghUme
-1" OR 3+328-328-1=0+0+0+1 --

pHqghUme
-1" OR 3*2<(0+5+328-328) --

pHqghUme
-1" OR 3*2>(0+5+328-328) --

pHqghUme
if(now()=sysdate(),sleep(15),0)

pHqghUme
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

pHqghUme
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

pHqghUme
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

pHqghUme
-1; waitfor delay '0:0:15' --

pHqghUme
-1); waitfor delay '0:0:15' --

pHqghUme
1 waitfor delay '0:0:15' --

pHqghUme
bR6xRSPW'; waitfor delay '0:0:15' --

pHqghUme
-5 OR 431=(SELECT 431 FROM PG_SLEEP(15))--

pHqghUme
-5) OR 401=(SELECT 401 FROM PG_SLEEP(15))--

pHqghUme
-1)) OR 449=(SELECT 449 FROM PG_SLEEP(15))--

pHqghUme
tRJqSwit' OR 153=(SELECT 153 FROM PG_SLEEP(15))--

pHqghUme
EWIuqy94') OR 121=(SELECT 121 FROM PG_SLEEP(15))--

pHqghUme
man1Zjw5')) OR 969=(SELECT 969 FROM PG_SLEEP(15))--

pHqghUme
555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

pHqghUme
555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

pHqghUme
1'"

pHqghUme

pHqghUme
@@sn62U

pHqghUme
555

pHqghUme
555

pHqghUme
555