InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Write top 10 examples of OS? |
|
Answer» Some of the TOP OS’s that are USED MOSTLY are GIVEN below:
|
|
| 2. |
What do you mean by overlays in OS? |
|
Answer» Overlays is BASICALLY a programming method that divides processes into pieces so that instructions that are IMPORTANT and need can be saved in memory. It does not need any TYPE of support from the OS. It can RUN programs that are bigger in size than physical memory by only keeping only important data and instructions that can be NEEDED at any given time. |
|
| 3. |
What is different between main memory and secondary memory. |
||||||||||||||||
|
Answer» Main memory: Main memory in a computer is RAM (Random ACCESS Memory). It is also known as primary memory or read-write memory or internal memory. The programs and data that the CPU requires during the execution of a program are stored in this memory.
|
|||||||||||||||||
| 4. |
What is IPC? What are the different IPC mechanisms? |
|
Answer» IPC (Interprocess Communication) is a mechanism that REQUIRES the use of RESOURCES like a memory that is SHARED between processes or threads. With IPC, OS allows different processes to COMMUNICATE with each other. It is simply used for exchanging data between multiple threads in one or more programs or processes. In this mechanism, different processes can communicate with each other with the approval of the OS. Different IPC Mechanisms:
|
|
| 5. |
What do you mean by process synchronization? |
|
Answer» Process synchronization is basically a way to coordinate PROCESSES that use shared resources or data. It is very much essential to ensure synchronized execution of cooperating processes so that will MAINTAIN data consistency. Its main purpose is to share resources without any interference using mutual EXCLUSION. There are two TYPES of process synchronization:
|
|
| 6. |
What do you mean by RTOS? |
|
Answer» REAL Time Operating System (RTOS) is an operating system that is used for real-time applications i.e., for those applications where data processing should be done in a fixed and small measure of time. It PERFORMS MUCH better on tasks that are needed to be EXECUTED within a short time. It also takes care of execution, monitoring, and all-controlling processes. It also occupies less memory and consumes FEWER resources. Types of RTOS:
RTOS is used in Air traffic control systems, Anti-lock Brake Systems, and Heart pacemakers. |
|
| 7. |
Explain demand paging? |
|
Answer» Demand paging is a method that loads PAGES into memory on demand. This method is mostly used in VIRTUAL memory. In this, a page is only brought into memory when a location on that particular page is referenced during execution. The following steps are generally followed:
|
|
| 8. |
What is a bootstrap program in OS? |
|
Answer» It is generally a program that initializes OS during startup i.e., first code that is executed whenever computer system startups. OS is loaded through a BOOTSTRAPPING PROCESS or program commonly known as booting. Overall OS only DEPENDS on the bootstrap program to perform and WORK correctly. It is fully stored in boot blocks at a FIXED location on the disk. It also locates the kernel and loads it into the main memory after which the program starts its execution. |
|
| 9. |
What are the different kinds of operations that are possible on semaphore? |
|
Answer» There are basically two atomic OPERATIONS that are POSSIBLE: |
|
| 10. |
What is a Pipe and when it is used? |
|
Answer» The pipe is generally a connection among TWO or more processes that are interrelated to each other. It is a mechanism that is used for inter-process communication using message PASSING. One can easily send information such as the OUTPUT of one PROGRAM process to another program process using a pipe. It can be used when two processes want to communicate one-way i.e., inter-process communication (IPC). |
|
| 11. |
What is GUI? |
|
Answer» GUI (Graphical USER INTERFACE) is basically a type of user interface that allows USERS to use graphics to interact with OS. GUI is created because it is more user-friendly, less complex, and easier to understand rather than a command-line interface. Its main goal is to INCREASE efficiency and EASE of use. Instead of having to memorize commands, users can just click on a button to simply execute the procedure. Examples of GUI include Microsoft Windows, macOS, Apple’s iOS, etc. |
|
| 12. |
What is RAID structure in OS? What are the different levels of RAID configuration? |
|
Answer» RAID (REDUNDANT Arrays of Independent Disks) is a method used to store data on Multiple hard disks therefore it is CONSIDERED as data storage virtualization technology that combines multiple hard disks. It simply balances data protection, system performance, storage space, etc. It is used to improve the overall performance and reliability of data storage. It also increases the storage capacity of the system and its main purpose is to achieve data redundancy to reduce data loss.
|
|
| 13. |
What are the benefits of a multiprocessor system? |
|
Answer» A Multiprocessor system is a type of system that includes two or more CPUs. It involves the processing of different computer PROGRAMS at the same time mostly by a computer system with two or more CPUs that are sharing SINGLE memory.
|
|
| 14. |
What's the main purpose of an OS? What are the different types of OS? |
|
Answer» The main purpose of an OS is to execute user programs and make it EASIER for users to understand and interact with computers as WELL as run applications. It is specially designed to ensure that the COMPUTER system performs better by managing all computational activities. It also manages computer memory, processes, and operation of all hardware and software.
|
|
| 15. |
Why is the operating system important? |
|
Answer» OS is the most essential and vital part of a computer without which it is considered useless. It enables an interface or acts like a link for INTERACTION between computer software that is INSTALLED on OS and users. It also helps to communicate with hardware and also MAINTAINS balance among hardware and CPU. It also provides services to users and a PLATFORM for programs to run on. It performs all common TASKS applications require. |
|