Operating System Comprehensive Viva Questions And Answers Pdf
File Name: operating system comprehensive viva questions and answers .zip
- 300+ TOP Operating System LAB VIVA Questions and Answers
- 90 Operating System Interview Questions and Answers - Freshers, Experienced
- Operating System Interview Question
An operating system OS is system software that bring about computer hardware and software properties and delivers common facilities for computer programs.
300+ TOP Operating System LAB VIVA Questions and Answers
What is a process and process table? For example a Web Browser is a process, a shell or command prompt is a process. The operating system is responsible for managing all the processes that are running on a computer and allocated each process a certain amount of time to use the processor.
In addition, the operating system also allocates various other resources that processes will need such as computer memory or disks. To keep track of the state of all the processes, the operating system maintains a table known as the process table.
Inside this table, every process is listed along with the resources the processes is using and the current state of the process. Processes can be in one of three states: running, ready, or waiting.
The running state means that the process has all the resources it need for execution and it has been given permission by the operating system to use the processor. Only one process can be in the running state at any given time. The remaining processes are either in a waiting state i. In a real operating system, the waiting and ready states are implemented as queues which hold the processes in these states.
What is a Thread? What are the differences between process and thread? A thread is a single sequence stream within in a process. Because threads have some of the properties of processes, they are sometimes called lightweight processes.
Threads are popular way to improve application through parallelism. For example, in a browser, multiple tabs can be different threads. MS word uses multiple threads, one thread to format the text, other thread to process inputs, etc.
A thread has its own program counter PC , a register set, and a stack space. Threads are not independent of one other like processes as a result threads shares with other threads their code section, data section and OS resources like open files and signals. What are the benefits of multithreaded programming? It makes the system more responsive and enables resource sharing. It leads to the use of multiprocess architecture.
It is more economical and preferred. Priority Scheduling. Shortest Remaining Time. Round Robin RR Scheduling. Multiple-Level Queues Scheduling. What is deadlock? Deadlock is a situation when two or more processes wait for each other to finish and none of them ever finish.
Consider an example when two trains are coming toward each other on same track and there is only one track, none of the trains can move once they are in front of each other. Similar situation occurs in operating systems when there are two or more processes hold some resources and wait for resources held by other s. What are the necessary conditions for deadlock? Mutual Exclusion: There is a resource that cannot be shared.
No Preemption: The operating system is not allowed to take a resource back from a process until process gives it back. What is Virtual Memory? How is it implemented? Virtual memory creates an illusion that each user has one or more contiguous address spaces, each beginning at address zero.
The sizes of such virtual address spaces is generally very high. The idea of virtual memory is to use disk space to extend the RAM. The illusion of such a large amount of memory is created by subdividing the virtual memory into smaller pieces, which can be loaded into physical memory whenever they are needed by a process.
What is Thrashing? Thrashing is a situation when the performance of a computer degrades or collapses. Thrashing occurs when a system spends more time processing page faults than executing transactions. While processing page faults is necessary to in order to appreciate the benefits of virtual memory, thrashing has a negative affect on the system.
As the page fault rate increases, more transactions need processing from the paging device. It occurs with First in First Out page replacement is used. See the wiki page for an example and more details.
Differences between mutex and semphore? Last Minute Notes — Operating Systems. We will soon be covering more Operating System questions. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above. Attention reader! Writing code in comment? Please use ide. Skip to content. Related Articles. Recommended Articles.
Article Contributed By :. Current difficulty : Medium. Easy Normal Medium Hard Expert. Improved By :. Most popular in Operating Systems. More related articles in Operating Systems.
90 Operating System Interview Questions and Answers - Freshers, Experienced
What is an operating system? An operating system is a program that acts as an intermediary between the user and the computer hardware. The purpose of an OS is to provide a convenient environment in which user can execute programs in a convenient and efficient manner. What is purpose of different operating systems? What are the different operating systems?
An Operating system is an essential part in any computer system. There is a huge demand for OS developers in the IT industry. To build a career as an Operating System developer, candidates need to crack the interview in which they are asked for various Operating System interview questions. We have compiled a list of frequently asked OS interview questions and answers that an interviewer might ask you during your Operating System job interview or viva. Candidates are likely to be asked basic to advance level Operating System interview questions depending on their experience and various other factors. The below list covers all the important Operating System questions for freshers as well as experienced Operating System professionals.
In this Operating System Questions and Answers section you can learn and practice Operating System Questions and Answers to improve your skills in order to face technical inerview conducted by organisations. By Practicing these interview questions, you can easily crack any Exams interview. Fully solved examples with detailed answer description. You no need to worry, we have given lots of Operating System Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Competitive Exams interview. The processes that are residing in main memory and are ready and waiting to execute are kept on a list called:. Memory management technique in which system stores and retrieves data from secondary storage for use in main memory is called:.
viva questions answers on operating system for engineering and mca. Question Answers. Q What is the main purposes of an operating system? A The main.
Operating System Interview Question
These 90 solved Oops questions will help you prepare for technical interviews and online selection tests conducted during campus placement for freshers and job interviews for professionals. After reading these tricky Operating Systems questions , you can easily attempt the objective type and multiple choice type questions on OS. What are the functions of operating system?