All Subjects
Bahria University10 Questions

Operating Systems and Networking MCQs

Practice Operating Systems and Networking multiple-choice questions for Bahria University competitive exams. Each question includes the correct answer and a short explanation, and past-paper questions are marked so you can revise both repeated and fresh material in one place.

Preventing race conditions
Resource allocation and deadlock detection
Managing process priority
Interrupt handling
ExplanationA Wait-For graph is a directed graph used to detect circular wait conditions, which signify a deadlock.
To indicate the sequence number of the next packet
To provide flow control by specifying the amount of data the receiver can accept
To define the header length
To detect packet corruption
ExplanationThe Window Size field enables the receiver to inform the sender about the available buffer space, preventing buffer overflow.
LRU (Least Recently Used)
FIFO (First-In-First-Out)
Optimal Page Replacement
Clock Algorithm
ExplanationBelady's Anomaly occurs when increasing the number of page frames results in an increase in the number of page faults, which is characteristic of FIFO.
Data Link Layer
Transport Layer
Network Layer
Physical Layer
ExplanationThe Network Layer is responsible for logical addressing and routing packets across different networks.
Memory allocation
Process synchronization
Interrupt handling
File system indexing
ExplanationSemaphores are integer variables used as a mechanism for process synchronization to manage access to shared resources and prevent race conditions.
The congestion window increases linearly
The congestion window increases exponentially
The connection stays at a fixed rate
The throughput is capped at the maximum bandwidth
ExplanationIn slow start, for every ACK received, the congestion window (cwnd) increases by one MSS, effectively doubling the window size every RTT.
Round Robin
Shortest Job First (SJF)
Priority Scheduling
Multilevel Queue Scheduling
ExplanationSJF is a non-preemptive algorithm that minimizes average waiting time by executing the process with the shortest execution time next.
Compaction
Segmentation
Paging
Demand Paging
ExplanationPaging eliminates external fragmentation by allocating fixed-size blocks, though it can still suffer from internal fragmentation in the last page.
Encryption of payload
Preventing replay attacks
Authentication of identity
Packet header compression
ExplanationA nonce (number used once) ensures that old communication data cannot be captured and retransmitted by an attacker.
Round Robin
First-Come First-Served
Shortest Job First
Multilevel Feedback Queue
ExplanationShortest Job First (SJF) is mathematically proven to result in the minimum average waiting time for a set of jobs.

Frequently Asked Questions

Are these Operating Systems and Networking MCQs free?

Yes. Every Operating Systems and Networking MCQ on this page is free to practice, including the correct answer and explanation.

Do these include past-paper questions?

Yes — questions sourced from past papers are clearly marked with a "Past Paper" badge, alongside fresh practice questions.

Which exams do these Operating Systems and Networking MCQs help with?

They are aimed at Bahria University and related Pakistani competitive exams that test Operating Systems and Networking.

How should I practice subject-wise MCQs?

Attempt each question first, then reveal the answer and read the explanation. Short, focused sessions on one subject work better than long unstructured reading.

We use cookies

We use essential cookies to keep the platform running and analytics cookies to understand usage. You can accept or reject analytics and advertising cookies.