Answer and Explanation:
Given that total number of records in a file = 100000
Each record consists of= 240 bytes
Given that B= 2400 bytes.
Then total blocks in file = 100000 records * 240 / 2400
= 10000 blocks.
Time that will take for exhaustive read
= s + r + b.btt
= 16 + 8.3 + (10000) * 0.8
= 8024.3 msec
Now as per given X be the number of records that are searched randomly and it takes more than exhaustive read time.
Hence, X (s + r + btt) > 8024.3
X (16+8.3+0.8) > 8024.3
X > 8024.3/25.1
So that, X > 319.69
Hence, atleast 320 random reads should be made to search the file
Answer:
The output will be:
B
o
n
d
0
0
7
Explanation:
Given code is of Python language
Let us look at the code line by line
The first line is:
my_list = [7, 0, 0, "d", "n", "o", "B"]
This line will create a list with the given elements.
my_list.reverse()
This line will reverse the sequence of the elements of the list
for thing in my_list:
print (thing)
These lines will simply print the reversed elements of the list on screen.
The output will be:
B
o
n
d
0
0
7
Answer:
1 2 3 4 5 6 7 8 End
Explanation:
int i = 1;
while (i != 9){
System.out.print (i + " ");
i ++;
if (i == 9){
System.out.println("End");
}
}
Answer:
Target area range is a survey of what lies about 12-20 seconds ahead of the vehicle. Correct Answer is B. (10-20 second)
Explanation:
Target area range is the space between your vehicle and the target area. A target area is an area on the roadway where the target is located. A target can be anything such as a car, a traffic signal, a blackhead, etc.
Target area range is also a section of roadway where the target is located and the area to the left and right of the target area