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

  2. CLOB

  3. BFILE

  4. NCLOB

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

In Oracle, BFILE is a datatype that stores a pointer/locator to a binary file stored on the operating system's disk (outside the database). BLOB and CLOB store the actual data within the database, while NCLOB stores Unicode character data internally.

Multiple choice technology
  1. Creating a file

  2. Deleting a file

  3. Modifying a file

  4. View a file

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

The vi editor is a text editor used for creating, modifying, and viewing text files. While you can execute shell commands from vi to delete files, the editor's primary purposes are creation, editing, and viewing - not file deletion.

Multiple choice technology
  1. :w

  2. :q

  3. :x

  4. :q!

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

The :x command in vi saves changes and exits the file in one step. Option :w only saves (write) without exiting, :q quits only if no changes were made, and :q! quits discarding changes. For a save-and-exit operation, :x or :wq are the correct choices.

Multiple choice technology
  1. type not_empty

  2. cat not_empty

  3. more not_empty

  4. next not_empty

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

cat is the standard Unix command to display file contents to stdout. type shows file type information (not content), more is a pager for viewing large files but cat is the fundamental visualization command, and next is not a standard Unix command.

Multiple choice technology
  1. Copies the file to local machine

  2. Expand wild cards in the list mentioned in <local file-names> and do a put for each file in the resultant list

  3. Copies only one file to remote machine

  4. None of the above

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

The 'mput' command in FTP expands wildcards in the local file specification and performs a 'put' operation for each matched file. For example, 'mput *.txt' would upload all .txt files from the current directory. This is the batch version of the single-file 'put' command.

Multiple choice technology
  1. tar lot_of_thing.tar.Z | decomp

  2. zcat lot_of_thing.tar.Z | tar xvf -

  3. tar xvf lot_of_thing.tar.Z

  4. unzip xvf lot_of_thing.tar.Z

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

Modern tar versions auto-detect compression. The command 'tar xvf lot_of_thing.tar.Z' automatically handles .Z compression (compress format). Option B would extract twice (zcat decompresses, tar extracts again). Option A is syntactically wrong. Option D uses unzip which is for .zip files, not .Z archives.

Multiple choice technology
  1. cat file1.txt file2.txt > new.txt

  2. make new.txt=file1.txt+file2.txt

  3. tail file1.txt | head file2.txt > new.txt

  4. mkdir file1.txt file2.txt > new.txt

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

The cat command reads multiple files sequentially, and > redirects output to create a new file. 'cat file1.txt file2.txt > new.txt' concatenates file1 and file2 into new.txt. Option B has invalid make syntax. Option C would only show the end of file1 and start of file2. Option D uses mkdir (create directory) incorrectly.

Multiple choice technology packaged enterprise solutions
  1. .sif

  2. .srf

  3. .cfg

  4. .rpd

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

The repository file in Oracle Business Intelligence (formerly Siebel Analytics) uses the .rpd file extension. The other extensions represent Siebel integration files (.sif), compiled repository files (.srf), or configuration files (.cfg).

Multiple choice technology
  1. write_to_log

  2. write_log

  3. formated_log

  4. formated_text

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

In Ab Initio, the write_to_log() function is used to write formatted text messages to the log file. This is the standard logging function. The question has a typo ('Funtion' instead of 'Function') but the answer is clear.