Computer Knowledge
Computer File Systems
1,516 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
A
Correct answer
Explanation
TrueType Font files use the .ttf extension, which is the most common font file format on Windows and other platforms. The other options are not standard TrueType font extensions - SFNT is a container format, not a font extension.
A
Correct answer
Explanation
Active Server Pages (ASP) use the .asp file extension to indicate that the web page contains server-side script. The .ascx extension is for ASP.NET user controls, not classic ASP pages. .asd and .asc are not standard ASP extensions.
-
.cfm and .cfml
-
.cam and .caml
-
.cofm and .cofml
-
.cofn and .cofnl
A
Correct answer
Explanation
ColdFusion Markup Language files use the extensions .cfm (ColdFusion Markup) and .cfml (ColdFusion Markup Language) for server-side web applications. These contain code that executes on ColdFusion servers.
-
.fnt
-
.fonts
-
.winfonts
-
.wfnts
A
Correct answer
Explanation
The .fnt extension was used for Windows font files in older systems, though modern Windows primarily uses .ttf (TrueType), .otf (OpenType), and .fon (font resource) formats. .fnt was common in early Windows versions.
A
Correct answer
Explanation
TTF (TrueType Font) is a widely-used font file format developed by Apple and Microsoft. Other common font extensions include .otf (OpenType), .woff (Web Open Font Format), and .fon (font resource files).
D
Correct answer
Explanation
The Mobile Information Device Profile (MIDP) specification mandates that all compliant implementations must support the PNG image format for rendering graphics.
-
Unicode
-
Uuencode
-
ASCII
-
Compiler
B
Correct answer
Explanation
Uuencode (Unix-to-Unix encoding) was an early program that converted binary files into ASCII text, allowing attachments to be sent through email systems that only supported plain text. The recipient would use uudecode to convert the text back into the original binary file.
-
2> filename
-
1> filename
-
&> filename
-
2> /dev/null
-
rm filename
-
less filename
-
touch filename
-
dl filename
A
Correct answer
Explanation
The rm (remove) command is the standard command-line utility used to delete files and directories in Unix-like operating systems.
-
pico filename
-
cat filename
-
more filename
-
touch filename
D
Correct answer
Explanation
The touch command creates an empty file without opening it for editing. Pico is a text editor that opens files, cat displays file contents to stdout, and more is a pager for viewing files - all of these involve opening or reading the file.
-
/META-INF/classes
-
/classes
-
/root/classes
-
/WEB-INF/classes
D
Correct answer
Explanation
In a standard Java Web Application Archive (WAR) file, compiled Java class files must be placed inside the /WEB-INF/classes directory to be loaded by the web container's classloader.
-
App Srv
-
Batch Srv
-
Web Srv
-
File Srv
C
Correct answer
Explanation
Report output files generated by PeopleSoft are stored on the Web Server (PSAPPSRV generates them, but they're served through the web). The Application Server processes requests, Batch Server runs background jobs, and File Server isn't a standard PeopleSoft server component in this context. Web Server handles report distribution and viewing.
-
an ASCII file that contains an entry for each user
-
File which is created and maintained by a server of activity performed by it.
-
short python program that prints the list of all files inside the current directory
-
File which is created and maintained by the operating system
B
Correct answer
Explanation
A log file is a file created and maintained by a server (or application) to record the activities performed by it. Option A describes system-wide user logs, not application logs. Option C is a program, not a log file. Option D describes system-level logs, not server/application logs.
-
It is a file permission that allows the program's text part to stay in swap memory after its execution
-
UNIX don’t have sticky bit
-
It’s a Linux only feature
-
None of above
A
Correct answer
Explanation
Historically, the sticky bit on executable files instructed the operating system to retain the program's text segment in swap memory after execution to speed up subsequent loads.
-
No
-
Yes
-
Yes;using touch command
-
Yes;using time system call
C
Correct answer
Explanation
A file's modification timestamp can be updated in UNIX/Linux systems using the touch command, which updates the access and modification times of a file to the current system time by default.