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 mainframe
  1. Logical- FILE-1, Physical- INFILE

  2. Logical- INFILE, Physical- FILE-1

  3. Logical- None, Physical-ASSIGN

  4. None of them

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

In COBOL's SELECT statement, the first name (FILE-1) is the logical filename - the name used within your COBOL program to reference the file. The second name (INFILE) after ASSIGN TO is the physical filename - the actual name of the file in the external system or device. This logical-to-physical mapping allows portability across different systems.

Multiple choice technology mainframe
  1. Check the logical abnormal conditions.

  2. Check the existence of a file while open, close etc.

  3. Check the execution of the program.

  4. None of the above.

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

The FILE-STATUS clause assigns a two-character variable that the runtime system updates after every I/O statement. This allows the program to programmatically check the success or failure of operations such as opening, closing, or accessing the file.

Multiple choice technology web technology
  1. .aspx

  2. .asmx

  3. .ascx

  4. .wsdl

  5. .svc

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

ASP.NET Web Services use the .asmx file extension, which stands for ASp.NET neXt generation (or 'asmx'). The .aspx extension is for web pages, .ascx is for user controls, .wsdl is for Web Service Description Language files, and .svc is for WCF services. When you create an ASP.NET Web Service in Visual Studio, it automatically generates an .asmx file.

Multiple choice technology web technology
  1. swish file format

  2. flash file format

  3. swarf file file format

  4. photoshop file format

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

.swf (Small Web Format) is the file format used by Adobe Flash to deliver animations, applications, and interactive content over the web.

Multiple choice technology web technology
  1. True

  2. False

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

The Library panel in Flash provides access to the library of the current Flash document, not the computer's file system. The library stores symbols, graphics, and other assets used within that specific Flash project. Accessing system files would require different methods like FileReference class.

Multiple choice technology
  1. .out file

  2. .txt file

  3. .csv file

  4. .xls file

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

In LoadRunner testing scenarios, account numbers are typically stored in CSV files because they provide structured tabular data that's easy to parse and import. CSV is the standard format for parameter files and test data. Other formats like .out, .txt, or .xls are not the primary format for account data.

Multiple choice technology programming languages
  1. Sashelp.PrdSale

  2. Sasuser.MySales

  3. Profits.Quarter1

  4. all of the above

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

SAS datasets stored in librefs other than Work (such as Sashelp, Sasuser, and user-defined libraries like Profits) are permanent files. The Work library is exclusively reserved for temporary datasets. Because all three options specify datasets located in permanent libraries, the option indicating 'all of the above' is correct.

Multiple choice technology programming languages
  1. a.proc contents data=area51.all nods;

  2. a.proc contents data=area51 all nods;

  3. a.proc contents data=area51 all noobs;

  4. a.proc contents data=area51 all.nods;

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

To print a summary of all SAS datasets in a library without their individual descriptors, use the data=libref._all_ syntax combined with the nods (no details) option. Other options either omit the period prefix or use incorrect option keywords like 'noobs'.

Multiple choice technology operating systems
  1. .exe

  2. .apk

  3. .dvk

  4. .and

  5. dk

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

Android application packages use the .apk (Android Package) file extension for distribution and installation. Other choices like .exe are designed for Windows executables, while .dvk, .and, and dk represent invalid or non-existent file formats for Android apps.

Multiple choice technology databases
  1. FCLOSE

  2. GET_LINE

  3. IS_OPEN

  4. 1,2

  5. All of the above

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

The INVALID_FILEHANDLE exception is raised by UTL_FILE procedures like FCLOSE and GET_LINE when they receive an invalid or uninitialized file handle. Conversely, the IS_OPEN function evaluates whether a handle is open and returns a boolean value instead of raising this exception, making the combination 1,2 correct.

Multiple choice technology databases
  1. INVALID_OFFSET

  2. VALUE_ERROR

  3. ACCESS_DENIED

  4. INVALID_MAXLINE_SIZE

  5. INVALID_FILENAME

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

INVALID_MAXLINE_SIZE is a valid UTL_FILE exception raised when the MAX_LINESIZE parameter in FOPEN or FOPEN_NCHAR exceeds implementation limits. Other valid exceptions include INVALID_PATH, INVALID_MODE, INVALID_FILEHANDLE, and WRITE_ERROR, but INVALID_OFFSET, VALUE_ERROR, and ACCESS_DENIED are not standard UTL_FILE exceptions.

Multiple choice technology databases
  1. True

  2. False

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

UTL_FILE can read files on Windows systems, but only if the Oracle database server is running on Windows and the directory is properly configured in the DIRECTORY object and utl_file_dir parameter. The question likely tests whether you understand UTL_FILE operates server-side, not client-side, so it depends on the server OS, not the client environment.

Multiple choice technology mainframe
  1. 10

  2. 40

  3. 30

  4. 15

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

SFT outbox retention period is set to 30 days as a standard configuration. This balances the need for audit trails with storage management - keeping files long enough for troubleshooting but not indefinitely. The other options (10, 15, 40) are not standard SFT retention values.

Multiple choice technology mainframe
  1. &TXLATE=YES and &TDATTYP=TEXT

  2. &TXLATE=YES and &TDATTYP=BINARY

  3. &TXLATE=NO and &TDATTYP=TEXT

  4. &TXLATE=NO and &TDATTYP=BINARY

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

For binary mode file transmission via SFT (Secure File Transfer), you must disable translation (&TXLATE=NO) and specify the data type as binary (&TDATTYP=BINARY). Translation converts data between character sets (e.g., EBCDIC to ASCII), which would corrupt binary files. The other combinations either enable translation when binary is needed or specify TEXT type incorrectly.