Explain any 4 services provided by OS.

1 Answer

Answer :

1.User Interface: All operating systems have a user interface that allows users to communicate with the system. Three types of user interfaces are available:

a. Command line interface (CLI)

b. Batch interface

c. Graphical user interface (GUI)

2. Program execution: The operating system provides an environment where the user can conveniently run programs. It also performs other important tasks like allocation and deallocation of memory, CPU scheduling etc. It also provides service to end process execution either normally or abnormally by indicating error.

3. I/O operations: When a program is running, it may require input/output resources such as a file or devices such as printer. So the operating system provides a service to do I/O.

4.File system manipulation: Programs may need to read and write data from and to the files and directories. Operating system manages the secondary storage. Operating system makes it easier for user programs to accomplish their task such as opening a file, saving a file and deleting a file from the storage disk.

5.Communication: In the system, one process may need to exchange information with another process. Communication can be implemented via shared memory or through message passing, in which packets of information are moved between processes by the operating system.

6.Error detection: Operating systems detects CPU and memory hardware such as a memory error or power failure, a connection failure on a network or lack of paper in the printer etc.

7.Resource allocation: Operating system manages resource allocation to the processes. These resources are CPU, main memory, file storage and I/O devices.

8.Accounting: Operating system keeps track of usages of various computer resources allocated to users.

9.Protection & security: When several separate processes execute concurrently, one process should not interfere with the other processes or operating system itself. Protection provides controlled access to system resources. Security is provided by user authentication such as password for accessing information.

Related questions

Description : List components of OS. Explain process management in detail.

Last Answer : List of System Components: 1. Process management 2. Main memory management 3. File management 4. I/O system management 5. Secondary storage management Process Management: The operating ... synchronization. 4. A mechanism for process communication. 5. A mechanism for deadlock handling.

Description : Enlist types of operating system. Explain multiprogramming OS in detail.

Last Answer : Types of operating system 1.Batch Systems 2.Multiprogramming 3.Multitasking 4.Time-Sharing Systems 5.Desktop Systems 6.Distributed system 7.Clustered system 8.Real Time system: Multiprogramming ... multiprogramming: user can open word, excel, access and other applications in a system.

Description : Enlist different file allocation methods? Explain contiguous allocation method in detail.

Last Answer : From the user's point of view, a file is an abstract data type. It can be created, opened, written, read, closed and deleted without any real concern for its implementation. The implementation of a ... a times is difficult to estimate. 4. Compaction may be required and it can be very expensive.

Description : Explain LRU page replacement algorithm for following reference string. 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 Calculate the page fault.

Last Answer : LRU: The Least Recently Used (LRU) page replacement policy replaces the page that has not been used for the longest period of time. LRU replacement associates with each page the time of that page's last use. ... in question so assume frame size as 3 or 4) LRU: Assume frame size=3

Description : Explain multithreading model in detail.

Last Answer : Many systems provide support for both user and kernel threads, resulting in different multithreading models. Following are three multithreading model: Many-to-One Model The many-to- ... True concurrency cannot be achieved. Multiple threads of kernel is an overhead for operating system

Description : Enlist the operating system tools. Explain any two in detail.

Last Answer : Following are the operating tools: User Management Security policy Device Management Performance Monitor Task Scheduler A) User management: User management includes everything ... routing tables, interface statistics, masquerade connections, and multicast memberships. # netstat -tulpn

Description : Explain PCB with diagram.

Last Answer : Each process is represented as a process control block (PCB) in the operating system. It contains information associated with specific process. Process State: It indicates current state of a process. ... . Each PCB gives information about a particular process for which it is designed.

Description : Explain Round Robin algorithm with suitable example.

Last Answer : It is preemptive scheduling algorithm. A small unit of time known as a time quantum or time slice is used for pre-emption of a currently running process. Ready queue is implemented as a circular ... has received 1 time quantum, the CPU returns to process P1 for an additional time quantum. 

Description : Explain partitioning and its types.

Last Answer : An important operation of memory management is to bring programs into main memory for execution by the processor. Partitioning is a technique that divides a memory into multiple partitions. These partitions ... in memory. For example: Consider following table with process and memory space.

Description : Explain deadlock? What are necessary conditions for deadlock?

Last Answer : In multiprogramming environment, several processes may compete for a finite number of resources. A process requests resources and if the resources are not available then the process enters into the ... Each process is waiting for the resources held by other waiting processes in circular form.

Description : With neat diagram explain inter process communication model.

Last Answer : Inter-process communication: Cooperating processes require an Interprocess communication (IPC) mechanism that will allow them to exchange data and information. There are two models of IPC 1. ... a communication link between them. Between each pair of processes exactly one communication link.

Description : Explain any four scheduling criteria.

Last Answer : 1. CPU utilization: In multiprogramming the main objective is to keep CPU as busy as possible. CPU utilization can range from 0 to 100 percent. 2.Throughput: It is the number of processes ... fairly early and can continue computing new results while previous results are being output to the user.

Description : List any four features of open source operating system.

Last Answer : 1. Open Source: open source OS code is freely available and it is community based development project. Multiple team's works in collaboration to enhance the capability of operating system and it is ... issuing a command in Linux Terminal or Shell. Linux can also run Windows applications if needed.

Description : List free space management techniques? Describe any one in detail.

Last Answer : A file system is responsible to allocate the free blocks to the file therefore it has to keep track of all the free blocks present in the disk. There are mainly four approaches by using which, the free ... block. This block contains a pointer to the next free disk block, and so on.

Description : State and describe types of scheduler.

Last Answer : There are three types of scheduler: Long term scheduler Short term scheduler Medium term scheduler 1. Long term scheduler: It selects programs from job pool and loads them into the ... scheduler works in close communication with long term scheduler for loading process into the main memory. 

Description : What is purpose of system call? State two system calls with their functions.

Last Answer : System call provides an interface between a running program and operating system. It allows user to access services provided by operating system. This system calls are procedures written using C, ... send, receive messages transfer status information attach or detach remote devices. 

Description : Write Unix command for following: i)create a folder OSY ii) create a file FIRST in OSY folder iii) List/display all files and directories. iv) Write command to clear the screen

Last Answer : i) create a folder OSY: $mkdir OSY ii)create a file FIRST in OSY folder: $cd OSY $cat>FIRST or $ touch FIRST iii) List/display all files and directories: $ls iv) to clear screen: $clear

Description : Describe sequential and direct access method.

Last Answer : Sequential access: Information from the file is processed in order i.e. one record after another. It is commonly used access mode. For example, editors and compilers access files in sequence. A read ... prevent the user from accessing portions of the file system that may not be part of his file.

Description : Describe I/O Burst and CPU Burst cycle with neat diagram.

Last Answer : CPU burst cycle: It is a time period when process is busy with CPU.  I/O burst cycle: It is a time period when process is busy in working with I/O resources. A process execution consists ... cycle and so on. The final CPU burst cycle ends with a system request to terminate execution.

Description : Describe any four file attributes

Last Answer : File attributes: Name: The symbolic file name is the only information kept in human readable form. Identifier: File system gives a unique tag or number that identifies file within file ... Last modification and last use. These data can be useful for protection, security and usage monitoring.

Description : Write syntax for following commands: i)Sleep ii)Kill

Last Answer : i)sleep Syntax: sleep NUMBER[SUFFIX]… sleep OPTION ii) kill Syntax: kill pid

Description : Define virtual memory

Last Answer : Virtual memory is a memory management capability of an operating system (OS) that uses hardware and software to allow a computer to compensate for physical memory shortages by temporarily transferring data ... can be placed in overlays, but can concentrate instead on the problem to be programmed. 

Description : Draw process state diagram.

Last Answer : process state diagram

Description : Define real time operating system. List its any four applications of it.

Last Answer : Real time Operating System: A real time system has well defined fixed time constraints. Processing should be done within the defined constraints -Hard and Soft real time system. OR The ... Applications: 1. Flight Control System 2. Simulations 3. Industrial control 4. Military applications

Description : How to enable Word -> Services -> Mail -> Send To in Word (OS X)

Last Answer : My guess is it only works in some programs, it works in safari but not in word on mine.

Description : Explain how QoS is provided through Integrated Services & Differentiated Services.

Last Answer : -To transmit audio and video over a network, provide sufficient bandwidth. -Sensitive to the timeliness of data as real-time applications. - Integrated Services,ǁ a QoS architecture developed ... -Differentiated Services,ǁ which is undergoing standardization in the IETF at the time of writing

Description : Explain the services provided by transport layer in TCP/IP model.

Last Answer : Responsibility of process to process delivery of message Ensure that whole message arrives in order. 1. Service point addressing: -several programs run at a time on computer. Delivery is ... transport layer without error(damage or loss or duplication). Error correction is done by retransmission.

Description : How has the ‘Right to Information’ been expanded to cover various services provided by the government? -SST 10th

Last Answer : . In October 2005, the government of India enacted a law, popularly known as RTI or Right to Information Act, which ensures its citizens all the information about the functions of government departments. . ... the result, so that he can plan his future. He soon got his call letter for appointment.

Description : How far is it correct to say that several services which cannot be provided by private sector can be provided by the public sector ? -SST 10th

Last Answer : Society needs many things as a whole which the private sector is not able to provide at a reasonable cost. The reasons are as follows : (i) Some of them need spending large sums of ... care of ignored and backward regions of the country to bring balanced growth, development in the entire country.

Description : Which of these services will not be provided by a typical Internet Service Provider (ISP)? -Technology

Last Answer : (a) ISP refers to a company that provides Internet services, modem, connection and technical help. It does not provide an E-mail address.

Description : Mention the services which are provided by transactional category of an E_banking. -Technology

Last Answer : There are no geographical barriers and the services that can be offered at a minimum cost. Through Internet banking, you can check your transactions at any time and as many times as you want to. ... transaction. e.g. a customer login to his or her bank account by accessing the bank Website.

Description : Which is the best hosting services provided in 2020?

Last Answer : There are diifferent hosting services but the most i liked and was beneficial for me was this one you can try it out..yazing . com / deals / dreamcloudsleep / beastalp(justremove thespaces because itsan affiliatelinkbut itsgreat with couponcodes)

Description : What are the main services provided by Thames Infotech?

Last Answer : Website designingWebsite developmentDigital marketingGraphics design

Description : What are the specific points we need to take care after we land in Canada and what are the actual post landing services provided since agencies promise many services?

Last Answer : Well, settlement agencies do promise a lot of post settlement services in order to tempt immigrants and in reality offers close to nil when their arrive in Canada. This simply leads to waste of both ... choice of opting for only one of our post landing services in Canada or even booking the entire

Description : DTH services are provided by _______

Last Answer : DTH services are provided by _______ A. Transport companies B. Banks C. Cellular companies D. none of these

Description : what services do you provided ?

Last Answer : what services do you provide to non profit organizations

Description : Banking services provided to Special Economic Zones(SEZ) units have been exempted from _________ A. Sales Tax B. Securities Transaction Tax – STT. C. Central Excise Duty D. Service Tax E. None of the Above

Last Answer : D. Service Tax Explanation: Banking services offered to units set up in special economic zones have been exempted from paying service tax.

Description : Which of the following services is NOT provided by the post offices in India ? A. Savings Bank Scheme B. Retailing of Mutual Funds C. Sale of stamp Papers (Judicial) D. Issuance of Demand Drafts E. Life Insurance cover

Last Answer : D. Issuance of Demand Drafts Explanation: Issuance of Demand Drafts is NOT provided by the post offices in India.

Description : An entity, relying on the transmission, switching and local distribution facilities of local exchange and inter-exchange operators, and overseas carriers, offers enhanced services beyond those ordinarily ... B. Value-added service provided C. Inter-exchange carrier D. Local exchange carrier

Last Answer : B. Value-added service provided

Description : Provided that the minimum amount of sum so payable shall not be less than ____ of  the value of such defective goods sold or services provided, as the case may be to such  consumers. a) Rs 25000/- c) 10 % c) 5% d) None of these

Last Answer : c) 10 %

Description : This is the traditional service provided by CPA firms. a. Tax services b. Compilation c. Reviews d. Audits

Last Answer : Audits

Description : Advertising, as defined in the Code of Ethics, means a. The communication to the public of facts about a professional accountant which are not designed for the deliberate promotion of that professional ... in public practice with a view to procuring professional business. d. Any of the given choices

Last Answer : The communication to the public of information as to the services or skills provided by professional accountants in public practice with a view to procuring professional business

Description : The confidential relationship applies to a. All services provided by CPAs. b. Only audit and attestation services. c. Audit and tax services, but no MAS services. d. Audit and MAS services, but not tax services

Last Answer : All services provided by CPAs

Description : The confidential relationship applies to a. All services provided by CPAs. b. Only audit and attestation services. c. Audit and tax services, but no MAS services. d. Audit and MAS services, but not tax services

Last Answer : All services provided by CPAs.

Description : A distinctive sign that identifies certain goods or services produced or provided by an individuals or a company is calleda. Copyright b.Patents c. Trademark d. All of these

Last Answer : c. Trademark

Description : A distinctive sign that identifies certain goods or services produced or provided by an individuals or a company is called a. Copyright b.Patents c. Trademark d. All of these

Last Answer : c. Trademark

Description : Which services are provided by transport layer? a. Error control b. Connection service c. Connection less service d. Congestion control

Last Answer : a. Error control

Description : Which statement best describes the Software as a Service cloud delivery model? A. A virtual machine provisioned and provided from the cloud which allows the customer to deploy custom ... and run the application on the customer's own computers and simplifying maintenance and support.

Last Answer : An application delivered to the client from the cloud which eliminates the need to install and run the application on the customer's own computers and simplifying maintenance and support.

Description : Resource allocation and de-allocation services provided by? A. Network B. Server C. Storage D. Software

Last Answer : Server

Description : Which of the following is incorrect? a) A Layered-style program is divided into an array of modules or layers b) Each layer provides services to the layer “below” and makes use of services provided by the layer “above” c) All of the mentioned d) None of the mentioned

Last Answer : Each layer provides services to the layer “below” and makes use of services provided by the layer “above”