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
IF function has three parts
IF (condition_to_check , return_if_true , return_if_false)
IF function first checks condition. If it is true it returns first result. Otherwise it returns second result.
Condition to check:
B3>D5
After inserting numbers we get:
10>8
This is correct so the first result will be returned.
The given IF function returns "Closed".
It depends on how much storage. I usually connect mine to another hard drive.
Answer: Following is a python code
def solveEquation(x,y,z):
res=z-y+(2*x) #stores expression's value
return res
solveEquation(2,1,4) #calls function
OUTPUT :
7
Explanation:
In the above code solveEquation is the function which takes three arguments x,y and z and their type is decided while calling the function and passing the values to these arguments. After the values are passed, an equation is written which is solved and the result is stored in variable res and then that variable's value is returned.
Answer: Because it is known for that
Explanation:
I think it would be The Hawaiian islands are known for their volcanic activities