Right arrowSoftware Development

Which of the Following is Abstracted by an Operating System?

author image

Bosscoder Academy

Date: 12th July, 2026

feature image

When preparing for operating system interview questions, you might come across one of the following questions:

Which of the following is abstracted by an Operating System?

This MCQ is frequently asked in placements, GATE, universities and technical interviews in product-based companies. However, comprehending the concept behind the question is much more important than knowing the answer itself.

Here, we will discuss the meaning of OS abstraction, what resources does it abstract, its importance, and how this topic is interviewed.

What is Abstraction in Operating System?

In computer science, abstraction is nothing but hiding complexity and providing simple interfaces to users and applications.

The Operating System (OS) acts as a mediator between hardware and software. In other words, OS prevents every application from communicating with hardware and provides a simple way to access system resources.

In simpler terms,

The operating system abstracts hardware complexities and allows the program to utilize resources without bothering about how the hardware actually work.

For instance, when you save a file, you do not have to bother about where it gets saved in the storage device and how it functions.

Which of the Following is Abstracted by an Operating System?

Depending on the options given, the right answer will be hardware resources in the operating system.

This includes:

CPU
Memory (RAM)
Storage devices
Input/output devices
Files and file systems
Networking resources

Rather than communicating directly with the physical hardware, applications interact with the operating system to manage the above resources in an efficient manner.

Examples of Operating System Abstraction

Some examples would help to explain the topic very well.

1. Abstraction of CPU

The operating system ensures that each application feels like it is accessing its own processor.

Actually:

  • There are multiple applications running on one CPU.
  • OS uses scheduling algorithms to schedule the CPU.
  • Users see no hitches while running multiple tasks simultaneously.

Example:

It allows you to play music in the background while browsing with Chrome and downloading files simultaneously as it switches CPU among multiple processes.

2. Abstraction of Memory

Applications do not have any direct access to RAM.

But rather, it provides:

  • Virtual memory
  • Memory protection
  • Address Translation

3.Abstraction of File System

The users interact with directories, files, and filenames rather than sectors on the disks.

For instance:

Not having to remember:

Disk Sector 15243

But just having to access:

Documents/Resume.pdf

The OS abstracts file accesses into disk accesses.

4. Abstraction of Devices

Different devices have internal differences.

The OS provides a common interface for all using device drivers.

For instance:

Regardless of whether it is:

  • HP printer
  • Canon printer
  • Epson printer

The application needs to do only Print, the OS will talk to the appropriate device driver.

5. Abstraction of Networks

The applications use the networking APIs irrespective of:

  • Ethernet
  • Wi-Fi
  • Networking protocol
  • Packet routing

Importance of Abstraction in an Operating System

Without the process of abstraction, each program would have to understand the way each hardware device operates.

The OS helps in software development by providing a standardized interface.

Advantages:

  • Application development becomes easier
  • Hardware compatibility
  • Enhanced security
  • Resource management
  • Multitasking
  • Improved user experience

One of the major reasons why modern computers are able to execute thousands of applications in varied hardware setups is due to this reason.

Example of Interview Questions

Question:

Which of the following is abstracted by an Operating System?

A. CPU

B. Memory

C. I/O Devices

D. All of the Above

Answer: D. All of the Above

An OS abstracts CPU, memory, storage, and I/O devices for easy interfacing with them for applications.

Importance of Operating System Abstraction in Interviews

Operating System abstraction-related questions are frequently asked in interviews for Software Engineering positions.

Some topics that an interviewer expects a candidate to have knowledge about include:

→ Process Management
→ Memory Management
→ Virtual Memory
→ File Systems
→ System Calls
→ Device Management

Instead of rote learning of definitions, having knowledge about the way the OS manages hardware resources will help you answer both MCQs and technical interview questions with confidence.

Professionals looking forward to grow their career or switch jobs at top tech companies develop fundamentals of operating systems in Bosscoder Academy through structured curriculum, 1:1 mentorship, interview-focused discussions, and practical problem-solving.

Final Thoughts

"Which of the Following is Abstracted by an Operating System?" is not tough once you know about abstraction.

Abstraction is performed by operating systems, which hide hardware complexity and provide simple interfaces to use for applications. Regardless of CPU scheduling, virtual memory, storage or input output devices, operating systems ensure efficient operations without handling hardware.

For professionals preparing for software engineering interview questions, knowing operating system basics can prove to be a game changer. In addition to consistent DSA, DBMS, and system design practice, learning about operating system basics will ensure that your technical interview performance improves and makes you a better software engineer.

Frequently Asked Questions (FAQs)

Q1. What is abstraction in an operating system?

Abstraction is the concept in operating systems through which complexity of hardware is hidden from applications and simple interfaces are provided to use system resources such as CPU, memory, storage and input output devices.

Q2. What resources are abstracted by an operating system?

Operating systems abstract CPU, memory, storage devices, file systems, network and input output devices.

Q3. Why is operating system abstraction important?

It helps to simplify programming, enhances security, supports multitasking, and allows running the application on different hardware platforms.

Q4. Is operating system abstraction important for software engineering interviews?

Yes. Operating system abstraction is a very common question asked in placement tests and interviews of product-based organizations along with other topics like process management, memory management, DBMS, and computer networks.