If a process fails, most operating system write the error information to a __

  • A. a) new file
  • B. b) another running process
  • C. c) log file
  • D. d) none of the mentioned
Correct Answer: C. c) log file
Log file is where most operating systems write error information when a process fails.

A log file is a dedicated file designed to record system events, including errors. By storing error information in a log file, the operating system can provide a detailed record of the issue for later analysis, troubleshooting, and debugging. This helps system administrators and developers identify the root cause of problems and implement solutions.

Creating a new file for each error would be inefficient and impractical. Writing to another running process could interfere with its operation and potentially cause further issues.

If you think there is any confusion in the given MCQs, you can comment below.

Follow us on WhatsApp

docmcqs.com is Pakistan's No.1 online platform for preparing for all types of exams including PPSC, FPSC, KPSC, SPSC, Ministry of Defence, and for one-paper MCQs. This includes Pedagogy MCQs, general knowledge MCQs, current affairs MCQs, and much more.

Leave a Comment

Your email address will not be published. Required fields are marked *

Join Our WhatsApp Channel! ×
Scroll to Top