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 .net
  1. Close

  2. Copy

  3. Exit

  4. Print

  5. Save

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

The File Menu typically contains file operations like Open, Save, Print, Close, and Exit. Copy is an editing operation and belongs in the Edit Menu, alongside Cut, Paste, and other text manipulation commands. This is a standard UI convention across applications.

Multiple choice .net
  1. FileName

  2. FileNames

  3. FileType

  4. Filter

  5. FilterIndex

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

To answer this question, the user needs to have knowledge of the OpenFileDialog control and its properties.

The OpenFileDialog control is a common dialog box provided by the .NET framework that allows users to browse and select files from the file system.

Now, let's go through each option and explain whether it specifies the choices in the "Files of type" dropdown box:

A. FileName: This property represents the name of the file selected in the dialog box. It does not specify the choices in the "Files of type" dropdown box.

B. FileNames: This property represents an array of file names selected in the dialog box. It does not specify the choices in the "Files of type" dropdown box.

C. FileType: This property does not exist in the OpenFileDialog control. Therefore, it does not specify the choices in the "Files of type" dropdown box.

D. Filter: This property specifies the filter string that determines the choices in the "Files of type" dropdown box. It allows you to specify the types of files that can be selected in the dialog box based on their extensions.

E. FilterIndex: This property specifies the index of the default filter to display in the "Files of type" dropdown box. It does not specify the choices in the dropdown box itself.

Therefore, the correct answer is:

D. Filter

Multiple choice .net
  1. FileName

  2. Filter

  3. InitialDirectory

  4. Both a and b.

  5. All of the above.

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

OpenFileDialog and SaveFileDialog share common properties: FileName (the selected file path), Filter (file type restrictions like '*.txt'), and InitialDirectory (starting folder). These properties exist on both dialog controls because both involve file selection operations.

Multiple choice .net
  1. asn

  2. asp

  3. aspn

  4. aspx

  5. asx

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

ASP.NET web forms use the .aspx file extension. The older ASP technology used .asp, while ASP.NET introduced .aspx to differentiate the two. Options like asn, aspn, and asx are not standard ASP.NET extensions.

Multiple choice .net
  1. .asp

  2. .aspx

  3. .asp.vb

  4. .aspx.vb

  5. .asp.vb.net

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

The web form interface file (the presentation layer with HTML and server controls) uses the .aspx extension. The code-behind file containing the Visual Basic logic would be .aspx.vb, but the question specifically asks for the interface file.

Multiple choice .net asp
  1. True

  2. False

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

Include files can legitimately be saved with a .asp extension. This is useful when the include file contains ASP code that needs to be processed on the server before being included in the calling page. The server will execute any ASP code in the include file first, then include the resulting output in the parent page.

Multiple choice .net asp
  1. The include file is in the same directory as the file that is requesting it.

  2. The include file is in another directory away from the file that is requesting it.

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

When using the file attribute (file=) in an include statement, ASP looks for the file relative to the current directory - the same directory as the file requesting the include. This is different from the virtual attribute, which uses a virtual path relative to the web server root. The backslash in config\functions.asp indicates a relative path within the same directory structure.

Multiple choice html
  1. src=img

  2. src=image

  3. img=file

  4. img src=file

  5. image src=file

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

The correct HTML inline image syntax is where 'img' is the tag name and 'src' is the attribute specifying the image file. Options A and B have the attribute and tag name reversed. Option C uses 'file' as the tag name, which is incorrect. Option E uses 'image' instead of the correct 'img' tag.

Multiple choice html
  1. Dithering

  2. Interlacing

  3. Balancing

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

To answer the question, the correct option is:

B. Interlacing

Interlacing refers to the way the GIF file is saved by the graphics software. When a GIF file is interlaced, it is saved in a specific way that allows for a progressive display of the image. This means that as the image loads, it will first display a low-resolution version and then gradually fill in the details until the entire image is loaded. Interlacing can help the image appear to load faster, especially for larger images or slower internet connections.

A. Dithering: Dithering refers to the process of simulating colors that are not available in a limited color palette by using patterns of dots or pixels of available colors. It is commonly used in computer graphics to create the illusion of more colors in an image.

C. Balancing: Balancing does not directly refer to the way a GIF file is saved by the graphics software. It is not related to the saving process or the display of the image in the GIF format.

Therefore, the correct answer is B. Interlacing.

Multiple choice iis-server
  1. Make the paging file size dynamic.

  2. Make the paging file size static.

  3. Make the paging file large and keep it on a single drive.

  4. Install MPDFRG.EXE and set it to run automatically.

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

Making the paging file large and keeping it on a single drive prevents fragmentation because the file has room to grow contiguously. Static sizing helps but isn't sufficient alone - the file must also be large enough. Dynamic sizing causes fragmentation as the file shrinks and expands. Third-party defragmentation tools aren't the primary solution.

Multiple choice linux
  1. 666

  2. 755

  3. 766

  4. 777

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

In Unix-like systems, file permissions are represented by three digits (Owner, Group, Others). 755 grants the owner read, write, and execute permissions (7), while giving the group and others only read and execute permissions (5), which is standard for executable scripts like Perl.