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

  2. False

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

In AS/400, logical files are views over physical files. When you delete a record through a logical file, the underlying physical file's record is also deleted because logical files don't store data independently - they reference the physical file's data. This is fundamental to how logical files work.

Multiple choice technology embedded technologies
  1. android.permission.VIDEO

  2. android.permission.MEDIA

  3. android.permission.CAMERA

  4. all of the above

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

To access camera hardware in Android, the application manifest must declare the android.permission.CAMERA permission. The permissions android.permission.VIDEO and android.permission.MEDIA do not exist or do not directly grant direct access to the camera hardware.

Multiple choice technology embedded technologies
  1. Default file

  2. Manifest file

  3. random file

  4. access file

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

The AndroidManifest.xml file is where applications declare permissions needed to access resources from other applications or device features. Default file, random file, and access file are not standard Android manifest components. The manifest is read at install time to grant requested permissions.

Multiple choice technology
  1. touch <file_name>

  2. truncate <file_name>

  3. > <file_name>

  4. mkzero <file_name>

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

The redirect operator '>' followed by a filename truncates the file to zero bytes if no content is written before it. The 'touch' command creates or updates timestamps, 'truncate' is not a standard Unix command, and 'mkzero' does not exist.

Multiple choice technology
  1. creates a new zero byte file

  2. truncates a file

  3. chages the access timestamp of the existing file

  4. deletes a file

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

The touch command creates a new zero-byte file if it doesn't exist, and updates the access and modification timestamps if the file exists. It does not truncate file contents or delete files.

Multiple choice technology testing
  1. .lrr

  2. .lra

  3. .lrs

  4. .usr

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

LoadRunner uses .usr files to define virtual user scripts that can be organized into groups. These files contain the recorded or scripted user actions that will be replayed during load testing scenarios. Other file extensions serve different purposes - .lrr is for results, .lra for analysis files, and .lrs for scenario files.

Multiple choice technology testing
  1. Import

  2. Delete

  3. Checkin

  4. Update

  5. View

  6. Export

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

The Fileselector applet in Documentum is used for file operations: Import (bringing files in), Checkin (checking documents into the repository), and Export (taking files out). It's not used for Delete, Update, or View operations which use different interfaces.

Multiple choice technology programming languages
  1. FileStream fp= new FileStream("c:\test.txt", FileMode.Create, FileAccess.Write,FileShare.Read);

  2. FileStream fp= new FileStream("c:\test.txt", "rws");

  3. FileStream fp= new FileStream("c:\test.txt", FileMode.ReadWriteShared);

  4. FileStream fp= new FileStream("c:\test.txt", FileMode.ReadWrite, FileAccess.Shared);

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

The C _tfopen with mode 'rws' maps to FileStream with FileMode.Create (creates new file), FileAccess.Write (write access), and FileShare.Read (allows others to read). The 'rws' mode combines read/write/shared permissions.

Multiple choice technology programming languages
  1. less filename

  2. rm filename

  3. dl filename

  4. touch filename

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

The 'rm' command removes/deletes files. 'less' views files, 'touch' creates empty files, and 'dl' is not a standard command. Option B is correct.

Multiple choice technology
  1. With in Repository

  2. From one Repository to another Repository

  3. All the above

  4. None

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

In Informatica PowerCenter, folders can be copied both within the same repository and from one repository to another. Within a repository, you can create copies of folders for versioning or organizational purposes. Across repositories, you can copy folders for migration between development, testing, and production environments. The 'All the above' option correctly captures both scenarios.

Multiple choice technology
  1. True

  2. False

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

Informatica PowerCenter allows creating header and footer rows in target flat files. This can be configured through session properties and the target flat file definition, enabling you to output header rows at the beginning and footer rows at the end of the file.

Multiple choice technology databases
  1. Datafile

  2. Device

  3. Data Object

  4. Material

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

In Sybase, the physical storage file used to store database data is called a 'device.' A device is the actual operating system file or disk partition allocated to Sybase for data storage. The other options are incorrect: 'Datafile' is not standard Sybase terminology, 'Data Object' refers to logical structures, and 'Material' is not a Sybase storage term.