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

Multiple choice technology programming languages
  1. SFLSIZ > SFLPAG.

  2. SFLSIZ < SFLPAG.

  3. SFLSIZ = SFLPAG.

  4. SFLSIZ <> SFLPAG.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

For dynamic subfile expansion, SFLSIZ must be greater than SFLPAG. SFLPAG defines how many records load per page, while SFLSIZ is the total capacity. When SFLSIZ > SFLPAG, the subfile can grow beyond one page as needed. Setting them equal creates a fixed-size subfile.

Multiple choice technology programming languages
  1. ENDPGM

  2. STRPGM

  3. With the help of MONMSG MSGID(CPF0864) we can identify end of file in clp program.

  4. STRDBG

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In CL programs, end-of-file is detected by monitoring for message ID CPF0864 using the MONMSG command. This message is sent when a read operation reaches the end of a file. ENDPGM ends a program, STRPGM has no meaning, and STRDBG starts debugging.

Multiple choice technology programming languages
  1. two

  2. one

  3. three

  4. four

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In RPG (Report Program Generator), only one file can be designated as the primary file ('P' in file description specifications) to drive the program's cycle. While multiple secondary or full-procedural files are allowed, only one primary file is permitted.

Multiple choice technology platforms and products
  1. jpeg

  2. png

  3. tiff

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

TIFF (Tagged Image File Format) is the standard format for document scanning in enterprise environments because it supports lossless compression, multi-page documents, and is widely compatible with archival systems. JPEG and PNG are more commonly used for photos and web graphics, not document archival.

Multiple choice technology operating systems
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Linux and UNIX filesystems are case-sensitive, meaning 'File.txt', 'file.txt', and 'FILE.TXT' are treated as three distinct files. This is a fundamental characteristic of Unix-like operating systems, inherited from their design philosophy.

Multiple choice technology platforms and products
  1. $InputFile
  2. $Input_File
  3. $Input$File
  4. $Input File
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Informatica PowerCenter and similar ETL tools, parameter names for file handling follow the convention of starting with $ followed by the parameter name without spaces or special characters (except underscore at the end for some metadata parameters). $InputFile is the correct convention. $Input_File uses an underscore in the middle which is not standard for file parameter naming. $Input$File has a dollar sign in the middle which is invalid. $Input File contains a space which is not allowed in parameter names.

Multiple choice technology platforms and products
  1. Relational

  2. File

  3. Xml

  4. Binary

  5. All the above

Reveal answer Fill a bubble to check yourself
A,B Correct answer
Explanation

Error logs in Informatica can be written to different storage types. Relational error logs store error information in database tables for structured querying and analysis. File-based error logs write errors to flat files (text, CSV) for portability and external processing. XML (C) and Binary (D) are not standard error log types - error logs are typically written in readable formats for debugging.

Multiple choice technology platforms and products
  1. Event raise

  2. File watch

  3. Pre-defined Event

  4. User defined event

  5. None of the above

Reveal answer Fill a bubble to check yourself
C,D Correct answer
Explanation

Events are categorized into pre-defined events (built into the system) and user-defined events (created by developers). 'Event raise' and 'File watch' are not event types but operations or mechanisms, not categories.

Multiple choice technology
  1. .msi

  2. .mst

  3. .zap

  4. .aas

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The .msi (Microsoft Installer) extension is the standard file format for Windows Installer setup packages. These files contain installation information and are used by the Windows Installer service to install applications. .mst files are transform files used to modify installations, .zap is for Windows Installer patches, and .aas is not a standard Windows Installer extension.

Multiple choice technology operating systems
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Unix files do NOT have an end-of-file mark stored in the file itself. EOF is detected by the operating system when a read operation returns no more data (0 bytes read). Unlike some other systems that used special characters (like CP/M's Ctrl-Z), Unix simply tracks file size and detects EOF conditionally.

Multiple choice technology programming languages
  1. "r"

  2. "w"

  3. "a"

  4. all the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To solve this question, the user needs to know about file modes in C programming.

In C programming, the file modes are used to specify the type of access that is required to open the file. Each mode represents a different type of operation that can be performed on the file. The three most commonly used file modes are "r" for reading, "w" for writing, and "a" for appending.

Option D is correct because all of the given options denote file modes that can be used in a C program.

Option A ( "r" ) is used to open a file for reading purposes.

Option B ( "w" ) is used to open a file for writing purposes. If the file already exists, the contents of the file are overwritten. If the file does not exist, a new file is created.

Option C ( "a" ) is used to open a file for appending purposes. If the file already exists, new data is written to the end of the file. If the file does not exist, a new file is created.

Therefore, the answer is: D

Multiple choice technology
  1. Contains AV update

  2. Contains Antivirus Signature

  3. Restore File

  4. All of above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

DAT (Data) files contain virus signatures - the patterns used to identify known malware. The antivirus scan engine compares files against these signatures to detect threats. Option A is vague and option C refers to a different file type entirely.

Multiple choice technology
  1. The ExtraDAT files address one or more specific Virus/threats that have appeared since the last DAT file was posted

  2. The ExtraDAT files address AV scan engine issues

  3. The ExtraDAT files address systems data encryptions

  4. All of them

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

ExtraDAT files are emergency updates released between regular DAT updates to address specific new threats. They provide rapid protection against emerging malware before the next full DAT update is available. They don't address engine issues or encryption.

Multiple choice technology programming languages
  1. bydeflut it preserves

  2. cp -in

  3. cp -p

  4. cp -t

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The 'cp -p' command preserves file attributes including timestamps when copying files. The -p flag explicitly tells cp to maintain the modification time, access time, file modes, and other attributes. By default, cp updates timestamps to the current time, so -p is required to preserve the original file's timestamps.

Multiple choice technology programming languages
  1. type filename

  2. type - -info filename

  3. file filename

  4. none

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The file command is a standard Unix utility used to determine the file type by inspecting its content and magic numbers. The type command, on the other hand, describes how a command name is interpreted by the shell.