Definition of an operating system

In summary: My lecturer is correct. OS functions not only as an "interface" but a manager of both hardware and software as well (e.g as an "interface", the OS provides an abstract api layer for your software program to interact with the hardware; and as a manager, it makes use of the hardware components to house your *compatible* software and reject it if any misplaced call to it is performed).What jobs get priority? How does the user define the input and output files for a program to connect to? How does the user tell the computer what to run, when to run it, etc.? What tools are available to the user to edit files, control processes, etc.? Which users get priority? How is one user
  • #1
spaghetti3451
1,344
33
I tend to think of an operating system as an interface between the hardware and the application software. But, my lecturer says that that is a very misleading conception of an operating system.

Why do you think he would say that?
 
Technology news on Phys.org
  • #3
I did look into Wikipedia. It mentions that it is a resource manager.

I just don't see how it cannot be a middleman between application software and hardware.
 
  • #4
failexam said:
I did look into Wikipedia. It mentions that it is a resource manager.

I just don't see how it cannot be a middleman between application software and hardware.

It is, but it functions as a middleman between the hardware and everything else, not just application software.
 
  • #5
In that wiki link, there is an image to the right of the screen that states it all. You look at that image and use your own words to describe what an OS is.
Your lecturer is correct. OS functions not only as an "interface" but a manager of both hardware and software as well (e.g as an "interface", the OS provides an abstract api layer for your software program to interact with the hardware; and as a manager, it makes use of the hardware components to house your *compatible* software and reject it if any misplaced call to it is performed).
 
  • #6
I think that you are not concentrating enough on how a user controls processes running on the computer and too much on the hardware.

Concentrate more on user control of processes and computer control of users: What jobs get priority? How does the user define the input and output files for a program to connect to? How does the user tell the computer what to run, when to run it, etc.? What tools are available to the user to edit files, control processes, etc.? Which users get priority? How is one user's information kept secure from other users? Which users are allowed to do privileged operations? Those are all OS issues.

Worry less about hardware interface: Most OSs run on a variety of hardware but are still considered the same OS. There is a lower level (board support) that interfaces the OS to the hardware that is not really part of the OS. Each computer manufacturer supplies a set of device drivers to get his hardware to work with that OS. It interfaces with the OS in a manor defined by the OS developers.
 
  • #7
failexam said:
I tend to think of an operating system as an interface between the hardware and the application software. But, my lecturer says that that is a very misleading conception of an operating system.

Why do you think he would say that?

Generally... an operating system consists of...

Process management and scheduling. For example, the OS usually has to manage the PCB, interrupts, etc.
Memory management - things like virtual pages and tables along with physical memory.
UI and other little system libraries, but a lot of these don't have to be included even though we generally think of them as part of the OS.

An interface between hardware and software that isn't an operating system would be something like TCP/IP. The operating system might handle the interrupts associated with this task; however, the magic is probably going to get done in a device driver.
 
Last edited:
  • #8

What is an operating system?

An operating system is a software that manages the hardware and software resources of a computer. It acts as an intermediary between the computer hardware and the applications running on it.

What are the basic functions of an operating system?

The basic functions of an operating system include managing and allocating memory, controlling hardware devices, providing a user interface, managing and scheduling tasks, and providing security and protection for data.

What are the different types of operating systems?

The different types of operating systems are single-user, multi-user, single-tasking, multi-tasking, real-time, and distributed. Single-user OS is designed for use by one user at a time, while multi-user OS allows multiple users to access the computer simultaneously. Single-tasking OS can only run one task at a time, while multi-tasking OS can run multiple tasks simultaneously. Real-time OS is designed for systems that require quick response times, and distributed OS is used in a network of computers.

What is the role of the kernel in an operating system?

The kernel is the core component of an operating system. It manages the communication between the hardware and software components, allocates memory and resources, and handles system calls from applications. It also controls the input/output operations and manages the system's security and protection.

What are some examples of operating systems?

Some examples of operating systems are Windows, macOS, Linux, Unix, Android, and iOS. Windows is the most commonly used OS for personal computers, while macOS is used on Apple computers. Linux and Unix are popular operating systems for servers and mainframe computers. Android and iOS are used in mobile devices such as smartphones and tablets.

Similar threads

  • Programming and Computer Science
Replies
1
Views
516
  • Programming and Computer Science
Replies
2
Views
1K
  • Programming and Computer Science
Replies
32
Views
4K
  • Programming and Computer Science
Replies
22
Views
1K
  • Programming and Computer Science
Replies
16
Views
1K
  • Programming and Computer Science
Replies
5
Views
982
  • Programming and Computer Science
Replies
29
Views
2K
  • Programming and Computer Science
Replies
6
Views
1K
Replies
8
Views
1K
  • Programming and Computer Science
Replies
2
Views
1K
Back
Top