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 operating systems
  1. search a pattern

  2. grape juice

  3. grip a file

  4. compress a file

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

The grep command is used to search for patterns (text strings, regular expressions) within files or input streams. It's one of the most fundamental UNIX text processing tools. The other options are incorrect - grep is not related to grape juice, gripping files, or compression.

Multiple choice technology
  1. in + out

  2. write + read

  3. in + write

  4. read + out

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

An intermediate file in Ab Initio needs to receive data from upstream components and pass it to downstream components. Therefore, it requires a write port to receive data and a read port to provide data to subsequent components in the pipeline.

Multiple choice technology
  1. Controls the data partitions

  2. Control the control partition

  3. Control entire multi-file system

  4. It's just another file

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

In Ab Initio's multi-file system (MFS), the control file manages metadata about data partitions - how files are split across partitions. It doesn't control the entire system or just another data file; it specifically handles partition control.

Multiple choice technology
  1. Partition-by-key and sort

  2. Not possible

  3. Gather

  4. Reformat

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

To convert from 4-way to 8-way MFS, you need to redistribute data. Partition-by-key with sort can repartition data into 8 partitions. Gather would only collect, Reformat changes structure but not partitioning.

Multiple choice technology operating systems
  1. ls ?3[rgi]*

  2. ls [rgi]

  3. ls ??[rgi]*

  4. ls **[rgi]?

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

To answer this question, the user needs to know the basics of using wildcard characters in Linux. Wildcards are used to represent one or more characters in a filename or directory. In this case, we are looking for files that have an "r", "g", or "i" on the third place of their filename.

Now, let's go through each option and explain why it is right or wrong:

A. ls ?3[rgi]*: This option is incorrect because "?3" means to match any single character in the third position, and then we are looking for either "r", "g", or "i" as the next character. This would only match files that have a single character in the third position and then either "r", "g", or "i".

B. ls [rgi]: This option is incorrect because it would match any file that has "r", "g", or "i" anywhere in its filename. This would include files that have these characters on the third place as well as those that don't.

C. ls ??[rgi]*: This option is correct. The "??" matches any two characters in the filename, followed by either "r", "g", or "i", and then any number of other characters. This would match any file that has two characters before "r", "g", or "i" on the third place.

D. ls [rgi]?: This option is incorrect because "" means to match any number of directories recursively, and "[rgi]?" means to match any file that ends with either "r", "g", or "i", followed by any one character. This would match files that end with "r", "g", or "i", not those that have these characters on the third place.

Therefore, the correct answer is:

The Answer is: C. ls ??[rgi]*

Multiple choice technology operating systems
  1. more filename

  2. less filename

  3. cat filename

  4. touch filename

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

To create a new file without opening it, the user needs to use the touch command, which is option D.

Explanation for each option:

A. The more command is used to display the contents of a file one page at a time. It is not used to create a new file.

B. The less command is similar to the more command and is used to display the contents of a file one page at a time. It is also not used to create a new file.

C. The cat command is used to display the contents of a file in the terminal. It is not used to create a new file.

D. The touch command is used to create a new empty file without opening it. The command takes the name of the file as an argument. If the file already exists, then the command updates the modification timestamp of the file.

Therefore, the answer is: D. touch filename

Multiple choice technology
  1. ASCII files

  2. Binary files

  3. CSV files

  4. All of the above

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

nzload is designed for delimited text files, with CSV being the standard and most commonly supported format. It requires data in a structured, delimited format to parse correctly. While it supports various delimiters beyond just commas, CSV is the primary format. Binary formats require conversion or different loading tools.

Multiple choice technology
  1. id and scope

  2. type and id

  3. file and flush

  4. page and flush

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

The jsp:include action uses the 'page' attribute (specifying the relative URL to include) and the optional 'flush' attribute (controls whether the buffer is flushed before inclusion). Option D correctly identifies these attributes. Options A and B list attributes used by other JSP actions (useBean), and option C incorrectly uses 'file' instead of 'page'.

Multiple choice technology
  1. DDTLIB

  2. DEFLIB

  3. RULLIB

  4. TBLLIB

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

DEFLIB is the designated location for form files in the system's directory structure. Form files contain layout and formatting definitions for documents and reports. The other libraries serve different purposes - DDTLIB for data definitions RULLIB for rules and TBLLIB for table files.

Multiple choice technology
  1. W32BIN

  2. W32DLL

  3. SIGFILES

  4. TBLLIB

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

W32DLL is the correct location for DLL (Dynamic Link Library) files in a 32-bit Windows environment. DLL files contain executable code and resources that multiple programs can use simultaneously. W32BIN would typically contain executables while SIGFILES and TBLLIB serve other purposes.

Multiple choice technology
  1. True

  2. False

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

TTF (TrueType Font) is indeed the standard file extension for TrueType font files. This format was developed by Apple and Microsoft and is widely used for digital fonts. The statement is accurate.

Multiple choice technology web technology
  1. CSV and ASCII files can be uploaded

  2. The table used to store the flat file load parameters is RSADMINC

  3. The transaction for setting parameters for flat file upload is RSCUSTV7

  4. None of the above

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

The transaction RSCUSTV7 is used in SAP BW to set parameters for flat file uploads. The question asks which statement is NOT true. Options A and B are actually true statements (CSV/ASCII files can be uploaded, and RSADMINC stores parameters), so they are not the answer. Option D ('None of the above') would mean all A-C are true, but C is stated as the correct answer, implying C is the 'not true' statement. However, the question framing is confusing.

Multiple choice technology
  1. Database Configuration files

  2. Data Files(only serial files)

  3. Data Files(either serial files or multifiles)

  4. Data Manipulation Language files

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

The .dat file extension signifies Data Files that can be either serial files or multi-file formats. In data integration and ETL tools like Informatica, .dat files contain raw data that the platform processes. Option A is incorrect - database configurations use different extensions. Option B is incomplete - it's not limited to serial files only. Option D is incorrect - DML refers to SQL commands, not file extensions.