Operating System Fundamentals Week 2 NPTEL Assignment Answers 2025

Need help with this week’s assignment? Get detailed and trusted solutions for Operating System Fundamentals Week 2 NPTEL Assignment Answers. Our expert-curated answers help you solve your assignments faster while deepening your conceptual clarity.

✅ Subject: Operating System Fundamentals
📅 Week: 2
🎯 Session: NPTEL 2025 July-October
🔗 Course Link: Click Here
🔍 Reliability: Verified and expert-reviewed answers
📌 Trusted By: 5000+ Students

For complete and in-depth solutions to all weekly assignments, check out 👉 NPTEL Operating System Fundamentals Week 2 NPTEL Assignment Answers

🚀 Stay ahead in your NPTEL journey with fresh, updated solutions every week!

NPTEL Operating System Fundamentals Week 2 Assignment Answers 2025

1. Which of the following is not an activity performed by the operating system for process management?

(A) Creation of processes
(B) Termination of processes
(C) Scheduling of processes
(D) Managing memory of the system

Answer : See Answers

2. The memory management task of operating system is closely related to which of the following:

(A) Handling the interrupts
(B) Proper use of the system memory to improve system performance
(C) Inter-process communication between two processes.
(D) Compiling a source code

Answer :

3. Which of the following is NOT a process state?

(A) Running
(B) Ready
(C) Blocked
(D) Compiled

Answer :

4. Which of the following is the main purpose of cache memory in an operating system?

(A) Additional storage space for the operating system
(B) It works as a backup for the hard drive
(C) It stores the frequently accessed data to reduce average access time
(D) None of the above

Answer :

5. An OS may use software interrupts to handle

(A) Program execution error
(B) System service requests
(C) Realize system calls
(D) All of the other options

Answer :

6. Which of the following is NOT a common Inter-Process Communication (IPC) mechanism in Unix-like operating systems?

(A) Pipes
(B) Message queues
(C) Shared memory
(D) Interrupts

Answer : See Answers

7. Which one of the following is/are relevant regarding process control block (PCB)?

(A) It stores the state information of a process (process ID, state etc.)
(B) It stores the data on which the process executes
(C) It stores the addresses of the hardware components
(D) None of the above

Answer :

8. Which of the following is the main function of a bootstrap loader?

(A) Manage hardware resources
(B) Load and execute the operating system kernel
(C) Provide a graphical user interface
(D) Handle user authentication

Answer :

9. A program counter (PC) is a special purpose register in a CPU that stores:

(A) The memory address of the current instruction being executed
(B) The memory address of the next instruction to be executed
(C) The results from the current instruction being executed
(D) None of the above

Answer :

10. A variable in the data segment of a process is shared across

(A) All threads of the process
(B) All children of the process
(C) Both threads and children processes
(D) None of the other options

Answer : See Answers

NPTEL Operating System Fundamentals Week 2 Assignment Answers 2024

1. What is the best activity performed by the operating system for process management?
(A) Allocation of memory to different processes.
(B) Management of input and output operations.
(C) Scheduling of processes to improve the system throughput.
(D) Handling of system errors.
(E) Handling of system interrupts.

Answer: C
Explanation: Process scheduling is a crucial function of the OS that decides which process runs at a given time. It directly affects system throughput by ensuring efficient CPU utilization.


2. The operating system executes the memory management for
(A) handling the interrupts.
(B) improving the system throughput.
(C) interprocess communication among two processes.
(D) managing user interfaces.
(E) storage management.

Answer: B
Explanation: Memory management improves system throughput by efficiently allocating memory to processes, minimizing delays and avoiding resource conflicts.


3. Choose the correct statement.
(A) A device driver converts data to be printed in a format that a printer can understand.
(B) A device driver connects the computer system to the Internet.
(C) A device driver is not useful for modern operating systems.
(D) A device driver only handles communication between the operating system and storage devices.
(E) A device driver executes operating system functions manually.

Answer: A
Explanation: Device drivers are specific to hardware and help the OS communicate with devices like printers by translating instructions to device-specific formats.


4. The caching mechanism is used in computer systems to
(A) allocate memory to different processes.
(B) store frequently accessed data in a temporary storage area for quicker access.
(C) ensure communication between memory and I/O devices.
(D) manage network protocols and data transmission.
(E) handel the system error.

Answer: B
Explanation: Caching improves performance by keeping frequently used data readily available in fast-access storage like CPU cache.


5. A system call is
(A) the interface between a user program and the operating system.
(B) executed in user mode.
(C) the memory manager in a computer system.
(D) used to perform only I/O operations.
(E) used to perform only inter-process communication.

Answer: A
Explanation: System calls provide a way for user programs to request services from the OS, acting as a controlled interface.


6. Which system call creates a shared memory segment in Unix-like operating systems?
(A) shmdt()
(B) shmget()
(C) pipe()
(D) shmctl()
(E) shmsnd()

Answer: B
Explanation: shmget() is used to allocate a shared memory segment, allowing multiple processes to communicate via a common memory area.


7. Which of the following is not a feature of the MS-DOS operating system?
(A) Command-Line Interface (CLI).
(B) Single-tasking.
(C) File Allocation Table (FAT) file system.
(D) Multi-tasking.
(E) Device Drivers

Answer: D
Explanation: MS-DOS is a single-tasking OS; it cannot run multiple applications simultaneously.


8. Which of the following is not a core feature of the UNIX-like operating system?
(A) Multi-user.
(B) Mult-programming.
(C) Process management.
(D) Error handling.
(E) Batch Processing.

Answer: E
Explanation: UNIX-like systems are interactive and multi-user; batch processing is more associated with earlier operating systems like IBM mainframes.


9. The umask() system call is used to
(A) set the file creation mode mask for processes.
(B) allocate memory dynamically for new processes.
(C) control the execution priority of processes.
(D) managing inter-process communication.
(E) release the resources upon completion of the execution of a process.

Answer: A
Explanation: umask() defines the default permission bits for newly created files, restricting access levels.


10. The message-passing model allows processes to communicate
(A) by sharing a common memory region.
(B) by sending and receiving messages through the operating system.
(C) by directly modifying each other’s memory.
(D) through a centralized messaging server.
(E) using hardware interrupts.

Answer: B
Explanation: In the message-passing model, processes send messages via the OS rather than sharing memory directly, ensuring better isolation and security.