Q: 1 In a slotted ALOHA with G-stations attempting to transmit in one slot, the throughput is equal to –
e-G
G × e-2G
G × e-G
2G × e-G
[ Option C ]
ALOHA is a Random-Access Protocol used in computer networks for sharing a common communication channel.
It allows multiple users or stations to send data whenever they want, but collisions can occur if two or more stations send data at the same time.
Throughput means the rate of successful data transmission over a communication channel.
| TYPE OF ALOHA | DESCRIPTION | THROUGHPUT (EFFICIENCY) |
|---|---|---|
| Pure ALOHA | Stations transmit data anytime without synchronization. Collisions can occur if frames overlap. | S=G×e−2G Max = 18.4% |
| Slotted ALOHA | Time is divided into equal slots. The stations can transmit only at the start of a slot, reducing collisions. | S=G×e−G Max = 36.8% |
| PROTOCOL | DESCRIPTION |
|---|---|
| ALOHA | Simple method but has high collisions. |
| Slotted ALOHA | Improved version using time slots to reduce collisions. |
| CSMA (Carrier Sense Multiple Access) | Stations listen to the channel before transmitting. |
| CSMA/CD (CSMA with Collision Detection) | Detects collisions and stops transmission. Used in Ethernet (IEEE 802.3). |
| CSMA/CA (CSMA with Collision Avoidance) | Avoids collisions using backoff and acknowledgment. Used in Wi-Fi (IEEE 802.11). |
Q: 2 The physical layer is responsible for –
Process to process delivery.
Bit-by-bit delivery.
Application to application delivery.
Port to port delivery.
[ Option B ]
The OSI (Open Systems Interconnection) model has seven layers, with the Physical Layer at the bottom (Layer 1).
The physical layer main job is to send raw bits (0s and 1s) from one device to another through a physical medium like cables, radio waves, or fiber optics. It does not understand data, packets, or addresses, it only deals with electrical signals, light signals, or radio signals.
| LAYER NAME | MAIN ROLE |
|---|---|
| Physical Layer | Bit-by-bit delivery over physical transmission medium. |
| Data Link Layer | Node-to-node delivery, framing, and error detection. |
| Network Layer | Logical addressing, routing, and packet forwarding. |
| Transport Layer | Process-to-process delivery, flow and error control. |
| Session Layer | Establishing, maintaining, and terminating sessions. |
| Presentation Layer | Data formatting, encryption, and translation. |
| Application Layer | Provides network services to end-user applications. |
Q: 3 Which of the following is not related to data link layer?
Congestion Control
Error Control
Framing
MAC Addressing
[ Option A ]
The Data Link Layer is responsible for Node-To-Node Delivery and ensures reliable communication over a physical link. It performs key functions such as Framing, Error Control, and MAC Addressing, all of which are essential for organizing data into frames, detecting, or correcting errors, and identifying devices on the network.
However, Congestion Control is typically not a function of the data link layer; it is primarily handled by higher layers such as the network or transport layer to manage traffic load and avoid network congestion.
Q: 4
Match the OSI layers in Column – I with their tasks in Column – II:
| Column – I | Column – II |
|---|---|
| a. Data Link Layer | i. End-to-end communication between source and destination programs. |
| b. Transport Layer | ii. The sender breaks up the input data into data frames and transmits the frames sequentially. |
| c. Network Layer | iii. Routing and forwarding. |
| iv. Concerned with the syntax and semantics of the information transmitted. |
a-ii, b-i, c-iii
a-iv, b-ii, c-i
a-iii, b-i, c-iv
a-i, b-iii, c-ii
[ Option A ]
| OSI LAYER | DATA UNIT | DESCRIPTION | DELIVERY |
|---|---|---|---|
| Physical | Bits | Transmits raw binary data over physical medium and defines cables, connectors, voltages, and signals. | Node to Node |
| Data Link | Frame | Provides error detection and correction and reliable transfer between adjacent nodes and handles MAC addressing. Framing. | Node (Hop) to Node (Hop) |
| Network | Packet | Determines the best path for data transmission and handles logical addressing (IP Addresses), routing and forwarding. | Host to Host |
| Transport | Segment | Ensures reliable data transfer, flow control and error recovery, TCP and UDP operate here. | Process to Process / End-to-End |
| Session | Data | Manages sessions and connections between applications, establishes, maintains, and terminates sessions. | Process to Process / End-to-End |
| Presentation | Data | Translates, encrypts, compresses, or formats data for the application and ensures data is in usable form. | Process to Process / End-to-End |
| Application | Data | Provides network services to end-user applications like email, file transfer, and web browsing. | End-to-End |
Q: 5 Which protocol layer uses the protocol SMTP, HTTP, FTP?
Application layer
Transport layer
Internal layer
Hardware layer
[ Option A ]
Protocols such as SMTP (Simple Mail Transfer Protocol), HTTP (Hypertext Transfer Protocol), and FTP (File Transfer Protocol) operate at the Application Layer of the OSI and TCP/IP models. The application layer provides network services directly to end-user applications and manages communication between users and networks.
SMTP is responsible for email transmission, HTTP is used for accessing and transferring web pages, and FTP allows file transfers between systems.
Q: 6 The reliable data transfer is implemented by ______________.
Network Layer
Presentation Layer
Physical Layer
Transport Layer
[ Option D ]
Reliable data transfer means ensuring that data reaches the receiver without errors, without loss, and in the correct order.
Reliable data transfer is implemented by the Transport Layer in the OSI model. The transport layer is responsible for providing end-to-end communication services for applications.
It ensures reliable delivery of data through mechanisms such as error detection and correction, flow control, segmentation, acknowledgment of received data, and retransmission of lost or corrupted segments.
Protocols like TCP (Transmission Control Protocol) at this layer offer connection-oriented and reliable communication by managing data packets and maintaining the order and integrity of the data transmitted between sender and receiver.
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.