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
  1. Pipeline parallelism

  2. File parallelism

  3. Component parallelism

  4. Data parallelism

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

Multifiles enable data parallelism by allowing simultaneous processing of multiple data files. Different processors or threads handle separate files concurrently, improving throughput.

Multiple choice technology databases
  1. ASCII files

  2. comma separated list

  3. excel spreadsheet

  4. All the above

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

In Ab Initio, ASCII files, comma-separated values (CSV), and Excel spreadsheets are all commonly used flat file formats for data input and output. The component supports multiple delimited and fixed-width file formats.

Multiple choice technology programming languages
  1. ClassName.cpp

  2. Classname.cpp

  3. Class.name.cpp

  4. Class_Name.cpp

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

ClassName.cpp follows the naming guideline - the filename matches the class name exactly with .cpp extension. Classname.cpp (wrong case), Class.name.cpp (invalid character), and Class_Name.cpp (underscore not allowed) violate the convention.

Multiple choice technology databases
  1. The COMPRESSION HIGH option can be enabled only for CLOBs.

  2. The COMPRESSION HIGH option can be enabled for all internal LOBs.

  3. The DECRYPT option can be used to remove encryption only if the LOB column is empty.

  4. The DECRYPT option can be used to remove encryption from LOB columns that are empty or contain data.

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

COMPRESSION HIGH is available for all internal LOB types (BLOB, CLOB, NCLOB), not just CLOBs, making option B correct. The DECRYPT option can remove encryption from LOB columns regardless of whether they contain data or are empty, making option D correct. Option A is incorrect because compression isn't limited to CLOBs, and option C is incorrect because the DECRYPT option works on non-empty columns too.

Multiple choice technology operating systems
  1. more <filename>

  2. pico <filename>

  3. cat <filename>

  4. touch <filename>

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

The touch command creates an empty file without opening it in any editor. It simply updates the file's timestamp if it exists, or creates a new empty file if it doesn't. This is the standard Unix/Linux way to quickly create files. The other commands (more, pico, cat) either open files for viewing or editing, or require piping content.

Multiple choice technology programming languages
  1. CPYF copies the records of one logical file to another but changes the file attribute to PF.

  2. CRTDUPOBJ copies the records of one logical file to another but retains the file attribute as LF.

  3. All of the above

  4. None of the above.

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

CRTDUPOBJ creates an exact duplicate of an object, preserving all original attributes including the LF (Logical File) designation. CPYF, however, copies the data but creates a new Physical File (PF) rather than maintaining the logical file structure. Option B correctly identifies that CRTDUPOBJ retains the file attribute as LF when duplicating a logical file.

Multiple choice technology web technology
  1. /META-INF/classes

  2. /classes

  3. /WEB-INF/classes

  4. /root/classes

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

To solve this question, the user needs to be familiar with the structure of a war file, which is a compressed file format used to package web applications.

The compiled class files are stored in the /WEB-INF/classes directory inside the war file. Therefore, the correct answer is:

The Answer is: C. /WEB-INF/classes.

Option A (/META-INF/classes) is incorrect because the META-INF directory in the war file contains metadata files, not compiled class files.

Option B (/classes) is also incorrect because there is no such directory in a typical war file.

Option D (/root/classes) is incorrect because there is no root directory in a war file.

Multiple choice technology mainframe
  1. A, N, P, B, U

  2. A, N, H, B, U

  3. A, N, D, H, B

  4. C, N, P, B, U

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

In Easytrieve file definitions, fields can have the following format types: A (Alphabetic/Alphanumeric), N (Numeric), P (Packed decimal), B (Binary), and U (Unsigned/Unformatted). Option D is incorrect because C is not a valid format. Option B is incorrect because H is not standard. Option C incorrectly includes D and H instead of P and U.

Multiple choice technology mainframe
  1. A,B,C

  2. B,C

  3. B,C,D

  4. A,B,C,D

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

All four file definition formats shown are valid Easytrieve syntax. A uses * for next position. B uses +10 as relative offset. C uses absolute position (10) and length (10). D includes file name (IN-FILE) with relative offset. Each demonstrates different ways to specify field positioning in Easytrieve file definitions.