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
Alex73 [517]
4 years ago
13

Consider a file system that uses inodes to represent files. Disk blocks are 2KB in size and a pointer to a disk block requires 4

bytes. Consider a file whose inode has 6 direct disk blocks, plus 1 single indirect, and 1 double indirect disk blocks. What is the maximum size of the file? If we use bitmap to manage the free space, how many disk blocks are required to hold the bitmap of 32 GB disk?
Computers and Technology
1 answer:
deff fn [24]4 years ago
7 0

Answer:

a.  Maximum size of file = 8.003 GB

Explanation:

<u>a. Maximum size of file</u>

= (6 * 2 KB) + (2048 * 2 KB) + (2048 * 2048 * 2 KB)

= 12kb + 4096 Kb +  8388608 kb

= 8392716 kb

8392716/1024 mb = 8196.01 MB

8196.01 /1024 GB= 8.003 GB

<u>b. According to above calculation</u>

For 8 GB 6 direct, 1 single and 1 double indirect block requires

so

for 32 GB

24 direct Block

4 single and 4 double indirect block requires

You might be interested in
Thanks for asking me to ask a ques !!
Tamiku [17]

Answer:

I'm not sure what this means by Hope you have a great day :)

5 0
4 years ago
Which icon is greater in file size? (Show your working)
nadya68 [22]

Answer:

the 256 color icon would be greater in file size.

Explanation:

regardless of how many pixels are in the image, file A has 256 colors meaning the computer has to individually load each one of those colors. it'll probably use a lot of ink if you decide to print it, too.

5 0
4 years ago
There are 22 gloves in a drawer: 5 pairs of red gloves, 4 pairs of yellow, and 2 pairs of green. You select the gloves in the da
AVprozaik [17]

Answer:

Best-case = 2 gloves

Worst-case = 12 gloves

Explanation:

  • For the best-case: Because there is a chance that you take two gloves of the same color in the first two round the answer is two.
  • For the worst-case: The worst case would be if, for each color-group of gloves you take the right or left glove, for example, you take 5 left-hand red gloves then 4 left-hand yellow gloves, then 2 left-hand green gloves, because you have already taken all of the left gloves the next one is going to be a right glove that is going to pair with one of the already selected gloves, therefore, the answer is 12 -> 5+4+2+1 = 12
3 0
3 years ago
Overload the + operator as indicated. Sample output for the given program:
melisa1 [442]

Answer:

FamilyVacation FamilyVacation::operator+(int moreDays) {

FamilyVacation copy = *this;

copy.numDays += moreDays;

return copy;

}

Explanation:

You create a copy (which is simple because the class contains no pointers), then you modify the copy and return it.

7 0
3 years ago
Which is the most popular system of measurement in the world?<br> (a Graphic design question)
s344n2d4d5 [400]

Answer:

Metric system

Explanation:

6 0
3 years ago
Other questions:
  • What is one important feature of an AUP?
    14·1 answer
  • Why is it difficult to correctly identify a new product as emerging technology
    11·1 answer
  • Which of these are examples of skills?
    5·2 answers
  • Find 5 rational numbers between -1 and 1​
    8·1 answer
  • The specific gravity of gold is 19.3. Write a MATLAB program that will ask the user to input the mass of a cube of solid gold in
    12·1 answer
  • Write a program that produces a bar chart showing the population growth of Prairieville, a small town in the Midwest, at 20-year
    11·1 answer
  • A(n) ___________________________________ is a legal contract between a vendor and a user that governs the use of a software pack
    11·1 answer
  • Question 4 (7 points)
    6·1 answer
  • Yahoo Messenger is an example of a/an __________ service on the Internet.
    5·2 answers
  • The Earth receives different amounts of energy from the Sun in each hemisphere because
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!