The answer to your question is A. blogs
Answer: Number nine I would say black and gray.
Explanation: Someone else has the say problem as you.
Answer:
Option(d) i.e "storing a float in an int" is the correct answer for the given question.
Explanation:
- Typecast is used for the changing the one datatype to the another datatype Their are two types of casting
1 implicit
In this typecast we change the smaller datatype into the larger datatype.
For example
int to float
2 Explicit
In this typecast we change the larger datatype into the smaller datatype in an explicit manner.
For example
float to int.
- in the given question we required the casting in the option(d) i.e "storing float in an int" That's why this option is correct and all other options are incorrect.
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
Hello <span>Enriqueliz5443</span><span>
Answer: Before using the data type string, the program must include the header file string
Hope this Helps!
-Chris</span>