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

Multiple choice technology mainframe
  1. IEFBR14

  2. IEBGENER

  3. IEBCOPY

  4. IDCAMS

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

IEBCOPY is the IBM mainframe utility used for copying and compressing Partitioned Datasets (PDS). It can copy entire PDS libraries, merge members, and compress unused space within PDS files to reclaim storage. IEBGENER copies sequential datasets, IEFBR14 is a dummy program, and IDCAMS manages VSAM and GDG datasets.

Multiple choice technology programming languages
  1. META-INF is a suitable location for storing digital certificates.

  2. META-INF is used as a repository for common code.

  3. The MANIFEST.MF file is found in the META-INF directory.

  4. The deployment descriptor file is found in the META-INF directory.

  5. META-INF is not directly accessible to clients.

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

META-INF stores JAR metadata like MANIFEST.MF and digital certificates. It is not for shared code. Critically, resources in META-INF are protected and not directly accessible via web URLs to clients.

Multiple choice technology platforms and products
  1. path of executables

  2. zip archive

  3. unzipped files

  4. The way you want

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

Delivering software to deployment teams using a zip archive is standard practice to prevent file corruption, preserve file structures, and facilitate single-file transport. Delivering raw paths or unzipped files is prone to access issues or configuration loss.

Multiple choice technology
  1. txt

  2. xtx

  3. text

  4. ext

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

The .txt extension is the universal standard for plain text files across all operating systems. Text extensions like .text are rarely used, and alternatives like .xtx or .ext are not standard file extensions. File extensions identify the file type to both the OS and applications.

Multiple choice technology testing
  1. A. .INI

  2. B. .TXT

  3. C. .QFL

  4. D. .VBS

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

In QTP, procedures created in the Function Library editor are saved with the .QFL extension (QuickTest Function Library). This is QTP's standard file format for storing reusable functions and procedures that can be associated with multiple tests. .INI files are configuration files, .TXT are plain text, and .VBS are standalone VBScript files - none of these are used for Function Library procedures in QTP.

Multiple choice technology testing
  1. A. Local Data Sheet, Global Data Sheet, Folder

  2. B. Local Object Repository, Local Data Sheet, Folder

  3. C. Global Data Sheet, Local Object Repository, Folder

  4. D. Local Data Sheet, Global Data Sheet, Local Object Repository

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

In QTP/UFT, creating a new action automatically generates a dedicated subdirectory containing a Local Object Repository (.or file) and a Local Data Sheet (action-specific sheet). Global sheets exist at the test level rather than action level, making options containing the Global Data Sheet incorrect.

Multiple choice technology web technology
  1. Uplaod is not successful, error occurred

  2. The file uploaded with success

  3. Uploaded file size is 0

  4. File upload progress is 0% completed

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

UPLOAD_ERR_OK with value 0 indicates the file was uploaded successfully. This constant is part of PHP's file upload error reporting system where non-zero values indicate specific error conditions like file size exceeds upload_max_filesize or partial upload.

Multiple choice technology web technology
  1. reading

  2. writing

  3. none of above

  4. both of above

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

The r+ mode in fopen() opens a file for both reading AND writing operations. The file pointer is placed at the beginning of the file, allowing you to read existing content and write new content. Options A (reading only) and B (writing only) are incomplete since r+ supports both operations.

Multiple choice technology web technology
  1. allow_url_fopen

  2. allow_remote_files

  3. both of above

  4. none of above

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

The allow_url_fopen PHP ini directive enables URL-aware fopen wrappers that allow accessing remote files via HTTP/FTP. Option B (allow_remote_files) is not a valid PHP directive. This setting is essential for functions like fopen(), file_get_contents(), and include() to work with remote URLs.

Multiple choice technology web technology
  1. A

  2. W

  3. W+

  4. A+

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

The 'a' (append) mode opens a file for writing only, places the pointer at the end, and creates the file if it doesn't exist. Option C (W+) would open for reading AND writing but would truncate the file. Options B (W) and D (A+) are incorrect for 'writing only' requirement.

Multiple choice technology web technology
  1. unlink()

  2. delete_file()

  3. delete()

  4. remove()

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

unlink() is the PHP function used to delete files. delete_file(), delete(), and remove() are not standard PHP file deletion functions - these might exist in other languages but not in PHP's filesystem functions.

Multiple choice technology web 2.0
  1. FileUpLoad

  2. Function

  3. File

  4. Date

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

In historic Netscape Server-Side JavaScript, the File object allowed server-side file manipulation. FileUpload is client-side, while standard built-in objects like Date and Function exist on both environments but are generic, making File the specific server-side object.

Multiple choice technology mainframe
  1. KSDS, ESDS

  2. ESDS, RRDS

  3. KSDS, ESDS, RRDS

  4. KSDS, RRDS

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

VSAM (Virtual Storage Access Method) supports four main file organization types: KSDS (Key Sequenced Data Set) for indexed access, ESDS (Entry Sequenced Data Set) for sequential-only access, RRDS (Relative Record Data Set) for direct access via relative record number, and LDS (Linear Data Set). COBOL can work with KSDS, ESDS, and RRDS, which are the primary VSAM file types used in mainframe applications.