Computer Knowledge
Computer File Systems
1,249 Questions
Computer file systems dictate how data is stored, organized, and retrieved on storage devices. Important concepts include file allocation tables, access mechanisms, and various formats like sequential and video files. Candidates preparing for banking and government exams should practice these fundamentals thoroughly.
File access mechanismsVideo and password filesFile extensionsFile allocation tableSystem metadata
Computer File Systems Questions
-
This class gives buffered input character stream.
-
This is an input stream that reads from a character array.
-
This is an input stream that translates bytes to characters.
-
This is an input stream that counts lines.
-
This is an output stream that translates characters to bytes.
C
Correct answer
Explanation
Its a true statement about InputStreamReader class.
-
OBJ file
-
EXE file
-
TEXT file
-
ZIP file
-
AVI file
A
Correct answer
Explanation
An object file or OBJ file is a file containing object code, meaning relocatable format machine code that is usually not directly executable. Object files are produced by an assembler, compiler, or other language translator, and used as input to the linker, which in turn typically generates an executable or library by combining parts of object files.
-
Unix File Sytem
-
Windows File System
-
Software that allows a unix server to act as a file server to windows clients
-
Software that allows a windows server to act as a file server to linux clients
-
None of these
C
Correct answer
Explanation
SaMBa is a software that allows a unix server to act as file server to window client. It is an open source implementation of the CIFS file sharing protocol, which evolved from SMB, hence SMB in SaMBa.
-
Manages files shared on network
-
Manages files on standalone PC
-
Manages file on local server
-
Network services are not required for file server
-
None of these
A
Correct answer
Explanation
File server manages and provides access controls on the files shared on network.
-
ios::in
-
ios::out
-
ios::ate
-
ios::app
-
None of these
D
Correct answer
Explanation
This mode defines that all output to the file is to be appended to the end.
-
Open a file
-
Find file pointer
-
Find address of file
-
Find end of file
-
Find begining of file
D
Correct answer
Explanation
This function seeks the end of file.
-
Begining of the file
-
End of the file
-
49th element of the file
-
0th element of the file
-
Beginning of the 50th record
E
Correct answer
Explanation
fseek() adjust the current position in the data file pointed to by the file pointer fp so as to be an offset of 49 X sizeof (Variable type) bytes, hence pointer is at the beginning of the 50th record, which has to be modified.
-
getw()
-
getc()
-
rewind()
-
free()
-
putw()
D
Correct answer
Explanation
It is used to free previously allocated space.
-
Size
-
Time
-
Location
-
Both 1 and 2
-
None of these
E
Correct answer
Explanation
All of the above are known as the file attributes. So, according to the question, this is the correct answer.
-
iostream.h
-
conio.h
-
stream.h
-
stdlib.h
-
ctype.h
C
Correct answer
Explanation
There is no such header file being supported by C++.
-
.wps
-
.wma
-
.tiff
-
.asx
-
.css
C
Correct answer
Explanation
It is the extension of the image file of Tagged Image File Format.
A
Correct answer
Explanation
It is the extension of Video Game Demo File of the game file.
-
Applet
-
JAR file
-
Java class file
-
JDBC
-
EXE file
B
Correct answer
Explanation
The JAR file format is common for distributing programs and libraries that are written in Java.
-
Only i
-
Only i and ii
-
Only i, ii and iii
-
Only i, ii and iv
-
i, ii, iii and iv
E
Correct answer
Explanation
All are the extensions of a power point file.
A
Correct answer
Explanation
This file extension is used for batch files, which are used to execute a group of executable files one after another.