Q: 1 If an error happens every two days, what is the probability that the system will not fail for four days?
0.0625
0.375
0.25
0.5
[ Option A ]
If an error happens every two days, it implies the probability of failure in a day = 1/2, so the probability that the system does not fail in a day = 1-1/2 = 1/2.
Assuming independence, the probability that the system will not fail for four consecutive days is: (1/2)4 = 1/16 = 0.0625
Q: 2 If a process fails, most operating system writes the error into a _____________.
Executable File
Log File
Segment Table
Page Table
[ Option B ]
When a process fails or an error occurs, the operating system records the details of the error in a Log File. A log file is used to store information about system activities, errors, warnings, and events, which helps in debugging and troubleshooting.
| TERM | PURPOSE |
|---|---|
| Log File | Stores error and event information. |
| Executable File | Contains program instructions to run. |
| Segment Table | Used in memory management. |
| Page Table | Used in paging for address mapping. |
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.