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 databases
  1. True

  2. False

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

SQL Server restricts each data file to membership in a single filegroup. This design ensures clear data organization and prevents ambiguity in data placement and management. Files cannot span multiple filegroups.

Multiple choice technology mainframe
  1. SHAREOPTION (1,3)

  2. SHAREOPTION (2,3)

  3. SHAREOPTION (3,1)

  4. SHAREOPTION (3,2)

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

SHAREOPTIONS(2,3) allows a VSAM dataset to be opened for update by one region (such as CICS) and simultaneously opened for read-only access by other regions or batch jobs, making it ideal for shared CICS and batch environments.

Multiple choice technology programming languages
  1. you change them

  2. you cancel them

  3. you end your SAS session

  4. all of the above

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

SAS filerefs remain in effect throughout your SAS session until explicitly changed, cancelled, or the session ends. They are not automatically reset between steps or DATA steps. Once you define a fileref, it persists unless you take action to modify or remove it.

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.