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

  2. False

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

In SQLite3 and Android best practices, large files like bitmaps or audio files are typically NOT stored directly within database tables as BLOBs. Instead, they're stored in the file system, and only the file path or URI is stored in the database. This approach is more efficient, avoids database bloating, and is easier to manage.

Multiple choice technology platforms and products
  1. Environment.getExternalStorageDirectory()

  2. Context.getExternalStorageDirectory()

  3. Environment.getStorageDirectory()

  4. Context.getStorageDirectory()

  5. None of above

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

Environment.getExternalStorageDirectory() returns the path to the primary shared/external storage directory. This is the standard Android API for accessing SD card storage. Context does not have a getStorageDirectory() method, and Environment.getStorageDirectory() does not exist.

Multiple choice technology operating systems
  1. All the above

  2. cat meminfo

  3. file <filename>

  4. stat <filename>

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

The 'stat' command displays detailed file status information including permissions, size, ownership, timestamps, and inode details. 'cat meminfo' would display memory info, not file status. 'file ' shows file type, not comprehensive status. 'All the above' is incorrect since only one option is correct.

Multiple choice technology
  1. .MVE

  2. .MP3

  3. .AVI

  4. .VDO

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

.AVI (Audio Video Interleave) is a well-known PC video file format introduced by Microsoft in 1992. .MP3 is an audio format (not video). .MVE is a less common video format used in some games, but .VDO is not a standard PC video extension. Among these, .AVI is the most established PC video file extension.

Multiple choice technology operating systems
  1. True

  2. False

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

The default permission for a regular file in Unix/Linux is 644 (rw-r--r--), not 655. The 644 setting means owner has read/write, group and others have read-only. The umask typically defaults to 022, which subtracts from 666 to yield 644.

Multiple choice technology databases
  1. parameter file

  2. data files

  3. redo log files

  4. alert.log file

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

In Oracle databases, redo log files can be multiplexed - meaning multiple copies of the same redo log group can be maintained simultaneously on different disks to protect against disk failure. The parameter file (spfile or pfile) is a single configuration file. Data files cannot be multiplexed - they are the actual storage for database data. The alert.log is a single text file that records database events and cannot be multiplexed.

Multiple choice technology
  1. C:\WINDOWS\system32\LogFiles\W3SVC1

  2. C:\wwwroot\inetpub

  3. C:\WINDOWS\system32\LogFiles\W3SVC

  4. C:\WINDOWS\system32\Logs

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

In Windows Server 2003, the default IIS log location is C:\WINDOWS\system32\LogFiles\W3SVC1, where W3SVC1 represents the default website's instance ID. Each website has its own W3SVC# subdirectory. The path structure is consistent across IIS 6.0 installations.

Multiple choice technology databases
  1. ITS A DUMMY RULE

  2. TO BALANCE THE EXTRACTION AND LOADING PROCESS

  3. EASY TO MAINTAIN

  4. TO RESOLVE THE PERFORMANCE ISSUES

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

Flat files are used in ETL processes to balance the extraction and loading operations (staging area concept) and to resolve performance issues by providing an intermediate storage format that can be processed efficiently. They are not a dummy rule, and ease of maintenance is not their primary technical purpose.

Multiple choice technology
  1. C:\WINDOWS\system32\LogFiles\W3SVC1

  2. C:\WINDOWS\LogFiles\W3SVC1

  3. C:\inetpub\LogFiles\W3SVC1

  4. C:\inetpub\wwwroot\LogFiles\W3SVC1

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

IIS log files are stored by default in the system directory under LogFiles. For IIS 7 and later versions, the path C:\WINDOWS\system32\LogFiles\W3SVC1 is correct, where W3SVC1 represents the website identifier.

Multiple choice technology programming languages
  1. None

  2. file <exefile>

  3. ./a.out

  4. strings <exefile>

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

The strings command extracts and displays printable ASCII/Unicode strings from binary files, making it ideal for examining compiled executables to see embedded text, error messages, and configuration paths without executing code. file command only shows file type, ./a.out executes the binary, and None is meaningless.

Multiple choice technology embedded technologies
  1. getSharedPreferences()

  2. getPreferences()

  3. openFileOutput()

  4. putBoolean()

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

In Android, openFileOutput() is the standard Context method used to open and write a private file associated with the application's internal storage. getSharedPreferences() and getPreferences() access preference files, while putBoolean() writes boolean preferences.

Multiple choice technology web technology
  1. Required, required

  2. Required, Optional

  3. Optional, Optional

  4. Optional, Required

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

Web.config files are optional - applications can run without them using inherited settings. Machine.config is required as it defines the base configuration for the entire .NET framework on a machine. This hierarchical design allows optional application-specific overrides of required framework-level defaults.

Multiple choice technology databases
  1. CRTPF

  2. CHGPFM

  3. CHGPF

  4. Can't be done so

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

The CHGPF (Change Physical File) command is used to modify a physical file's structure, including adding new fields, without deleting existing records. CHGPFM changes file attributes but not structure. CRTPF creates a new file (which would be empty). The operation preserves existing data while allowing schema evolution.