1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
otez555 [7]
4 years ago
9

What would happen if the bitmap or free list containing the information about free disk blocks was completely lost due to a cras

h? Is there any way to recover from this disas- ter, or is it bye-bye disk? Discuss your answers for UNIX and the FAT-16 file system separately.
Computers and Technology
1 answer:
masha68 [24]4 years ago
7 0

Answer:

It can be repaired with disk utility / recovery algorithms

In UNIX it can be done by scanning

In FAT file scan the FAT looking for free entries

Explanation:

When the crash happens, it is not a problem for UNIX and FAT file system

It can be repaired with disk utility/recovery algorithms.

The recovery algorithm is a list of all blocks in all files and takes a compliment as new free file.

In UNIX scanning can be done at all I-nodes.

In FAT file problem cannot occur because there is no free list .If there was any problem than it would have to be done to recover it to scan the FAT looking for free entries.

You might be interested in
PLEASE HURRY PLEASE HELP THIS CLASS ENDS TODAY AND I NEED HELP
Fofino [41]

Answer:

She could have given access to the computer to the techician

Explanation:

"as well as any special settings or configurations she thinks may be relevant." This might inculd any information to hack the computer

6 0
3 years ago
For a horror film, Pauline wants to show a computer-generated monster appearing from the body of an actor. How can she do this?
mestny [16]

the  answer is option D

Explanation:

7 0
4 years ago
Host A is a PC, connected to switch SW1 and assigned to VLAN 1. Which of the following are typically assigned an IP address in t
svlad2 [7]

Answer:

Option A and Option D are the correct options .

Explanation:

The basic rule for deciding if both computer interfaces would be in a similar subnet is whether both interfaces are isolated from one another and a router. In order that can provide a path for hosts in each VLAN to transmit data to hosts outside that VLAN, a nearby router should link its LAN interface to the similar VLAN as hosts and get an address in the similar subnet as hosts.

So, There would not be a router separating most of the hosts in that similar VLAN on the same transition, therefore these hosts will also be in a similar subnet. Moreover, some PC, linked to the similar switch but rather in a separate VLAN, may allow its packets to travel through the router to Host A, and the IP address of Host A would have to be in a separate subnet that is not similar to this new host.

7 0
3 years ago
Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volu
marysya [2.9K]
<h2>Question:</h2>

Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base. Relevant geometry equations:

Volume = base area x height x 1/3

Base area = base length x base width.

(Watch out for integer division)

import java.util.Scanner;

public class CalcPyramidVolume {

   /* Your solution goes here */

   public static void main (String [] args) {

     System.out.println("Volume for 1.0, 1.0, 1.0 is: " + pyramidVolume(1.0, 1.0,   1.0));

     return;

    }

}

<h2>Answer:</h2><h2></h2>

import java.util.Scanner;

public class CalcPyramidVolume {

   /* Your solution goes here */

   public static void main (String [] args) {

       System.out.println("Volume for 1.0, 1.0, 1.0 is: " + pyramidVolume(1.0, 1.0, 1.0));

       return;

   }

   

   //Begin method definition

   public static double pyramidVolume(double baseLength, double baseWidth, double pyramidHeight){

       

       //First, calculate the base area of the pyramid

       //store the result in a double variable

       double baseArea = baseLength * baseWidth;

       

       //Then, calculate the volume of the pyramid

       //using the base area and the base width

       double volume = 1 / 3.0 * baseArea * pyramidHeight;

       

       //return the volume

      return volume;

   }

}

<h2>Output:</h2>

Volume for 1.0, 1.0, 1.0 is: 0.3333333333333333

<h2>Explanation:</h2>

The code above contains comments explaining the important lines of the code. The output of the code has also been provided above.

The parts of the code that are worth noting are:

(i) The return type of the method pyramidVolume should be a <em>double</em> since calculations are done using <em>double</em> values. i.e the method header should be written as

<em>public static double pyramidVolume(){</em>

<em>}</em>

<em />

(ii) The method requires three(3) parameters of type double: baseLength, baseWidth and pyramidHeight. These should be included in the method. Therefore, the complete header definition should be:

<em>public static double pyramidVolume(double baseLength, double baseWidth, double pyramidHeight){</em>

<em />

<em>}</em>

(iii) The formula for calculating the volume of the pyramid should be:

volume = 1 / 3.0 * baseArea * baseWidth;

Rather than;

volume = 1 / 3 * baseArea * baseWidth;

This is because integer division yields integer result. If 1 / 3 is evaluated, the result will be 0 since the decimal part will be truncated thereby making the result of the volume = 1 / 3 * baseArea * baseWidth will be 0.

Therefore, the work around for that should be to write 1 / 3.0 or 1.0 / 3.0 or 1.0 / 3.

(iv) After the calculation, the result of volume should be returned by the method. This will enable a proper call by the main method for execution.

7 0
3 years ago
You are writing a program to help compare two sports teams. A sample member of the list scores is [2. 5] where your team scored
Slav-nsk [51]

Answer:

The correct answer is C

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • Q3** Write a query to create a new price list for books written by the same author. Allow the user to enter only the first 4 let
    15·1 answer
  • Is it more beneficial to have many folders or is it better to " nest subfolders? Explain your response
    5·1 answer
  • Select the most likely outcome of making only on-time minimum payments to a credit card with a balance for an entire year?
    7·2 answers
  • Why was Unicode invented?
    11·1 answer
  • Why are renewable natural resources important? A.fossil fuels can be replaced quickly.
    10·1 answer
  • What is one advantage of top-down programming design?
    8·1 answer
  • How do you change your grade level
    10·1 answer
  • area of trapezium is 54cmsq if parallel sides are 10cm and 8cm long find the distance between the parallel sides​
    12·1 answer
  • Project: Big Data Programming - Section 2
    11·1 answer
  • The process of sending a result back to another part of the program is
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!