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 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 opens a file for both reading AND writing. It doesn't truncate the file and places the pointer at the beginning. Option A is incomplete (reading only). Option B is incomplete (writing only). Option C is wrong because 'r+' does both. Option D correctly states it handles both operations.

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 is a PHP constant that equals 0, indicating the file was uploaded successfully without any errors. Option A incorrectly suggests 0 means an error occurred, when in fact 0 is the success code. Options C and D misinterpret the meaning of 0 as referring to file size or progress percentage.

Multiple choice technology performance
  1. Script

  2. Analysis

  3. Scenario

  4. Results

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

Explanation: To answer this question, you need to understand the different file types and their extensions used in data analysis or software testing.

Option A) Script - The file type for scripts is often .sh, .py, .js, or .pl depending on the programming language. .lrr is not a common file extension for scripts.

Option B) Analysis - The file type for analysis is often .csv, .xlsx, .json, or .txt depending on the type of data and analysis. .lrr is not a common file extension for analysis files.

Option C) Scenario - The file type for scenarios is often .xml, .json, or .txt depending on the tool or framework used. .lrr is not a common file extension for scenario files.

Option D) Results - The file type for results is often .html, .pdf, .docx, or .csv depending on the type of output. .lrr is a file extension for results generated by LoadRunner, a performance testing tool by Micro Focus.

The correct answer is D. This option is correct because .lrr is a file extension commonly used for results generated by LoadRunner.

Multiple choice technology
  1. True

  2. False

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

The MERGE stage in DataStage is specifically designed to join exactly TWO files or datasets. It cannot merge more than two inputs. For joining multiple data sources (more than two), you would need to use JOIN stages or use multiple MERGE stages in sequence. Therefore, the statement that more than two files can be joined using MERGE stage is false.

Multiple choice technology
  1. LinkCollector

  2. Link Partitioner

  3. Hashed File

  4. Aggregator

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

LinkCollector, Link Partitioner, and Aggregator are all active stages that process or transform data. Hashed File is a passive stage that stores data for lookup operations without actively processing the data flow.

Multiple choice technology
  1. True

  2. False

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

The correct command for analyzing hashed files in DataStage is 'HASH.FILE' or commands through DataStage Administrator. 'FILE.STAT' is not a valid DataStage command, so the statement correctly identifies it as not the right command.

Multiple choice technology
  1. Duplicates Removal

  2. Arranging the records in order

  3. Grouping the data

  4. Combining Multiple Inputs

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

Hashed files use a hashing algorithm on key columns, which naturally eliminates duplicate records because identical keys produce the same hash value and overwrite previous entries. This automatic deduplication is a fundamental property of hash-based storage. The other options describe different DataStage operations not inherent to hashed files.

Multiple choice technology enterprise content management
  1. A folder map is an XML file that consists of rules that place content files in specific locations in Web Cabinets, based on each content file’s properties

  2. Web Publisher does not make a call to the folder map file every time a user creates a new object or changes an object’s properties.

  3. When Web Publisher encounters paths in the primary folder map to secondary folder maps, Web Publisher evaluates the rules in the secondary folder map before returning to the primary folder map

  4. Rules in the folder map file define property values and repository paths.

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

A folder map in Documentum Web Publisher is an XML file containing rules that place content files in specific locations in Web Cabinets based on file properties. The system evaluates folder maps whenever objects are created or properties change. When paths reference secondary folder maps, those secondary maps are evaluated before returning to the primary. The rules define the relationship between property values and repository paths.

Multiple choice technology enterprise content management
  1. Rules File

  2. Folder Map

  3. Presentation File

  4. Instruction file

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

In Content Management Systems, the Folder Map defines the directory structure and determines where each content file is stored within the web cabinet. It maps content types to specific folder locations. Rules Files define processing logic, while Presentation Files control display formatting.

Multiple choice technology enterprise content management
  1. Where to copy from on the source computer

  2. Where to copy files on the target computer

  3. File formats to copy

  4. Trace level

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

A Site Publishing Configuration (SPC) in Documentum Site Caching Services (SCS) specifies various settings for the publishing process. This includes the source directory, target directory, file formats/filters to include or exclude, and the logging/trace levels for troubleshooting.

Multiple choice technology
  1. MP4

  2. AVI

  3. QT

  4. JPG

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

MP4, AVI, and QT are all legitimate video file extensions for different video formats. JPG is a standard image compression format for photographs and graphics, not a video format. Video formats contain sequential frames and audio tracks, while JPG stores single static images.

Multiple choice technology platforms and products
  1. /res/raw

  2. /res/xml

  3. /res/layout

  4. Both, a & b above

  5. None of above

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

The /res/raw directory is specifically designed for files that should NOT be compiled into binary format. Files placed here are copied to the device as-is. In contrast, /res/xml files are parsed and compiled into a binary XML format, and /res/layout files are also compiled into binary format during the build process.