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
Answer:
Similar to a While loop, a For loop consists of three parts: the keyword For that starts the loop, the condition being tested, and the EndFor keyword that terminates the loop.
Explanation:
Loop statements usually have four components: initialization (usually of a loop control variable), continuation test on whether to do another iteration, an update step, and a loop body.
Answer:
It is not possible.
Explanation:
In this example, we need to accommodate 473 computers for six clients that are 473 IP addresses.
For this request just we have /22 IPv4 address blocks, this mean
22 red bits 11111111111111111111110000000000 <--- 10 host bits
We must increase red bits to 25, we need these 3 bits to create 6 sub red, in this case, 2^3 = 8 sub red.
Why did we ask 3 bits? Because if we ask only 2, 2^2 = 4, and we need 6 sub red.
25 red bits 11111111111111111111111110000000 7 host bits
In this case, we need more than 260 computers, but just we have 7 bits, this means.
2^7 = 128 and just one customer needs 260, for that is impossible.