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 platforms and products
  1. char(32)

  2. char(255)

  3. char(254)

  4. char(31)

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

The Folder stage delivers file content with newlines converted to char(254) field marks by default. This is a specific character code used as a field delimiter in the datastage environment when reading files through folder stages.

Multiple choice technology platforms and products
  1. It throws runtime error

  2. Content of the main folder and the subfolder will be read and processed.

  3. The behaviour is undefined

  4. None of the above

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

When a folder stage encounters another folder stage as its contents, the behavior becomes undefined because folder stages are designed to read files, not other stages. This nesting creates an ambiguous situation that the ETL tool cannot properly resolve, leading to unpredictable results.

Multiple choice technology mainframe
  1. Input mode

  2. outout mode

  3. I/O mode

  4. extend

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

DELETE operations on KSDS and RRDS VSAM files require I/O mode because you need to both read (to locate the record) and delete (modify) it. Input mode doesn't allow modifications, output mode doesn't allow reading to locate records, and extend mode is only for adding new records at the end.

Multiple choice technology operating systems
  1. c:\windows\system\minidump

  2. c:\windows\minidump

  3. c:\windows\system32\minidump

  4. None of the choices

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

Windows stores memory dump files from system crashes (BSOD) in C:\Windows\Minidump by default. These small memory dump files help debug crash causes. The other paths are incorrect: system32 holds core system files, and there is no 'system' folder at that location in standard Windows installations.

Multiple choice technology programming languages
  1. WS_UPLOAD - File transfer with dialog from presentation server file to internal table. Data which is available in a file on the presentation server is transferred in an internal table. ASCII & Binary files can be transferred.

  2. GUI_UPLOAD - To read data from the presentation server into an internal table without a user dialog, use the function module WS_UPLOAD. The most important parameters are listed below.

  3. GUI_UPLOAD - File transfer with dialog from presentation server file to internal table. Data which is available in a file on the presentation server is transferred in an internal table. ASCII & Binary files can be transferred.

  4. WS_UPLOAD - To read data from the presentation server into an internal table without a user dialog, use the function module WS_UPLOAD. The most important parameters are listed below.

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

GUI_UPLOAD reads files from presentation server to internal table without user dialog. WS_UPLOAD performs similar transfer but with dialog. The descriptions in the correct options accurately reflect these functions.

Multiple choice technology mainframe
  1. IEBGENER

  2. DFSORT

  3. FILEAID

  4. All the above

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

IEBGENER is the classic IBM mainframe utility specifically designed to copy data from one sequential file to another. DFSORT is primarily for sorting/merging datasets, and FILEAID is a comprehensive file manipulation and editing utility. While FILEAID and DFSORM CAN copy data, IEBGENER is the fundamental copy utility, making 'All the above' technically correct since all three utilities have file copy capabilities.

Multiple choice technology mainframe
  1. IEFBR14

  2. IEBCOPY

  3. IDCAMS

  4. IEBGENER

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

IDCAMS is the IBM mainframe utility used for VSAM file management, and its REPRO command is specifically designed to copy data between sequential files and VSAM datasets. IEBGENER is for sequential-to-sequential copying, IEBCOPY is for partitioned datasets (PDS), and IEFBR14 is essentially a no-op utility used for step allocation/deallocation. The REPRO command in IDCAMS handles flat file to VSAM file transfers.

Multiple choice technology mainframe
  1. True

  2. False

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

IKJEFT01 is the IBM TSO (Time Sharing Option) utility program used for executing TSO commands and file transfer operations under batch environments. It's commonly used in JCL jobs to invoke TSO services including file transfers. This is a standard mainframe utility for TSO-related operations.

Multiple choice technology programming languages
  1. IEFBR14

  2. IEBCOPY

  3. IEBGENER

  4. IEBCOMPR

  5. None of the above

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

To solve this question, the user needs to know the basic concepts of IBM Mainframe and the purpose of each utility mentioned in the options.

IEFBR14 is a dummy utility that does not perform any function but returns a completion code. Thus, option A is not used for comparing sequential files/PDS.

IEBCOPY is used for copying Partitioned Data Set (PDS), Partitioned Data Set Extended (PDSE), or Sequential Data Set (SDS) members. Thus, option B is not used for comparing sequential files/PDS.

IEBGENER is used to copy or generate a new dataset. It can be used to generate a sequential dataset from a partitioned dataset member, or copy a dataset to another dataset. Thus, option C is not used for comparing sequential files/PDS.

IEBCOMPR is used to compare two sequential files or PDS. It compares each record in one file with its corresponding record in the other file and produces a report of the differences. Thus, option D is the correct option used for comparing sequential files/PDS.

Therefore, the answer is: D. IEBCOMPR.

Multiple choice technology programming languages
  1. A device file to represent that the current file system is full

  2. A device file to test scenarios of testing a /dev/full

  3. Invalid device

  4. None

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

The /dev/full device file simulates a full device scenario - it always returns ENOSPC (no space left) error on write attempts, allowing testing of how applications handle disk-full conditions without actually filling storage.

Multiple choice technology operating systems
  1. Every one can read, group can execute only and the owner can read and write

  2. Every one can read and write, but owner alone can execute

  3. Every one can read, group including owner can write, owner alone can execute

  4. None

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

Unix permission 764 in octal represents owner having rwx (7=4+2+1), group having rw- (6=4+2), and others having r-- (4). This means everyone can read, both owner and group can write, but only the owner can execute. The binary breakdown is 111 110 100.

Multiple choice technology operating systems
  1. sort -d

  2. sort

  3. sort -r

  4. sort -R

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

The sort -r command in Unix sorts lines in reverse (descending) order. The -r flag stands for reverse sorting. Without -r, sort sorts in ascending order by default. Option D (sort -R) does a random sort, not descending.