Answer:
(A) 1
Explanation:
In UNIX the file system the file system is a central part of the operating system. The file system is for storage and retrieval of information. Programs that form the UNIX system also stores information in files.
UNIX file systems supports three files namely: ordinary file, directory files, device files or special files.
If we need to access bytes 2500-2503 it means the bytes are within the third block. So we will need only one access.
Note this is because the file control block (inside) is within the memory. If file control block was not in the memory we would have needed more disk accessses.
Im pretty sure the answer is b.
Answer:
The answer is option 1 arr.length.
Explanation:
In java arr.length gives the correct number of elements in the array.The length is function is only applicable for arrays.
The length() method is applicable for strings.
arr.length-1 will give 1 element less.
There is no .size for arrays in java.
So we conclude that arr.length is correct way of getting the number of elements in one dimensional array arr.