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
  1. file

  2. directory

  3. subdirectory

  4. subfile

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

Every directory in MS-DOS contains two special entries: '.' (current directory) and '..' (parent directory), which are called directory markers. These cannot be deleted as they are essential for directory navigation. Files do not have these markers.

Multiple choice
  1. A backup set consists of one or more files.

  2. In this backup, RMAN only records backup sets in the repository that complete successfully.

  3. In this backup, RMAN also supports binary compression of backup sets.

  4. All of the above

  5. Both (1) and (3)

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

These are the correct statements about Backup Sets in RMAN backup.

Multiple choice
  1. .ppt

  2. .pps

  3. .ppp

  4. .tmt

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

The .ppt extension is the standard file format for Microsoft PowerPoint presentations. While .pps exists for PowerPoint Show, .ppt is the primary editable format.

Multiple choice
  1. An application program

  2. The function of the Application Layer

  3. A protocol of the Application Layer

  4. A web application

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

File transfer is a function of the Application Layer (Layer 7) in the OSI model. Protocols like FTP operate at this layer to enable file transfer between systems, making 'the function of the Application Layer' the correct interpretation.

Multiple choice
  1. Structures

  2. Arrays

  3. Variables

  4. Files

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

Files are used for permanent storage of data in computer systems. While variables, arrays, and structures store data temporarily in RAM (volatile memory), files store data on secondary storage devices (hard disks, SSDs) which retain data even when power is turned off (non-volatile). This makes files suitable for long-term data persistence.

Multiple choice
  1. a text stream

  2. a binary stream

  3. both 1 and 2

  4. an I/O operation

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

In C and many programming languages, I/O streams can be configured as either text streams (performing newline translation and other text-specific processing) or binary streams (performing no such transformations, reading/writing raw bytes). The distinction is fundamental to file I/O operations.

Multiple choice
  1. .c

  2. .h

  3. .obj

  4. .exe

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

The linker takes object files (.obj or .o) produced by compilers and combines them into a single executable file (.exe on Windows, no extension on Unix). It resolves external references between object files and assigns final memory addresses. The linker produces the final executable that can be run directly.

Multiple choice
  1. 8

  2. 255

  3. Any number of characters

  4. None of the above

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

Traditional DOS uses the 8.3 file naming convention - up to 8 characters for the filename and exactly 3 characters for the extension. This limitation was a defining characteristic of DOS file systems. Modern systems support longer filenames.

Multiple choice
  1. Dir ?B*.*

  2. Dir?B?.

  3. Dir*B*.*

  4. None of the above

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

The pattern '?B?.' matches files with at least 3 characters where the second character is 'B'. The first '?' matches any single character at position 1, 'B' matches position 2, the second '?' ensures position 3 exists (making it at least 3 chars), and '*' matches any remaining characters.