B CompE Bachelor of Computer Engineering

FREE Bachelor of Computer Engineering Operating System Questions and Answers

0%

What features does OS X have?

Correct! Wrong!

An hybrid kernel powers OS X. A hybrid kernel combines two distinct kernels. Apple is the company that creates OS X, which was formerly called Mac OS X.

When the time slot allotted to a process in a timeshare operating system expires, the process transitions from the current state to?

Correct! Wrong!

When the time slot allotted to a process in a time-sharing operating system expires, the process switches from the running state to the ready state. A time quantum or time slice is the unit of time used in time-sharing operating systems to describe CPU sharing. A process releases the CPU on its own if it takes less than one time quantum.

Which of the following statements is untrue?

Correct! Wrong!

The first program to load into memory when an operating system starts up is the kernel, and it stays in memory throughout OS's operation. The OS's core component, the kernel, is in charge of managing resources, allowing numerous processes to share them and providing services to other processes. In a running OS, kernel modules can be loaded and unloaded at any moment.

When should an operating system check for deadlock?

Correct! Wrong!

The deadlock must be confirmed in a successful operating system each time a request for resources is made at predetermined intervals.

Which of the following is not an operating system that runs in real time?

Correct! Wrong!

Real-time operating systems include VxWorks, QNX, and RTLinux. A mobile operating system is Palm OS. For use with Personal Digital Assistants, Palm OS is created (PDAs).

What is the command interpreter's primary purpose?

Correct! Wrong!

A command interpreter's primary job is to locate and carry out the following command that the user has supplied. The Command Interpreter looks for valid commands before executing them; otherwise, an error is raised.

Which of the following errors will the operating system deal with?

Correct! Wrong!

The OS handles all of the aforementioned faults. The OS constantly keeps an eye on all of its resources. The OS also continuously finds and fixes faults.

Most operating systems record error information in a _____ whenever a process fails.

Correct! Wrong!

Most operating systems record error information in a log file when a process fails. The debugger looks through the log file to see what is really causing that specific issue. System programmers can repair mistakes using log files.

What exactly is an operating system?

Correct! Wrong!

An operating system serves as a bridge between hardware and users, user applications, and application programs. This application controls hardware resources. It helps out application programs with services.

The interface is given by the operating system and allows users to access its functions.

Correct! Wrong!

System Calls offer an interface for interacting with the operating system's services. In most cases, these are C and C++ functions. Some of the system calls that are most frequently used are Open, Close, Read, and Write.

An algorithm for avoiding deadlocks dynamically checks the Data to make sure that a cyclic wait condition is never possible.

Correct! Wrong!

States for resource allocation are used to maintain the availability of the resources that are already and currently available.

Interrupt latency for real-time operating systems should be

Correct! Wrong!

The amount of time between the generation of an interrupt and the execution of its service is known as interrupt latency.

When a parent process terminates, all child processes also end, which is known as cascading termination.

Correct! Wrong!

If the parent process terminates normally or abnormally, all child processes will also end. This is known as cascading termination. If the parent process has terminated, certain systems do not let child processes to exist. Usually, the operating system is the one to start cascading termination.

When a process is waiting for an I/O service and is in the "Blocked" state.

Correct! Wrong!

Each process in an operating system has its own ________ .

Correct! Wrong!

In operating systems, each process has a unique address space that is divided into areas for code, data, stack, and heap. Each process also keeps track of all pending alarms, signals, and signal handlers, as well as the files it opens.

For ________, the FCFS method is particularly problematic.

Correct! Wrong!

Each user must periodically receive a share of the CPU in a time sharing system.