DSSSB TGT / PGT · Computer Science

Computer Networks Previous Year Questions (page 3)

173 Computer Networks (Computer Science) questions asked in DSSSB TGT / PGT previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 173 questions
  • Official answer key
  • Free

Other Computer Science topics

Q101DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
What is the advantage of using a sliding window over a stop-and-wait protocol?
  1. ASliding window is simpler to implement.
  2. BSliding window uses larger packet sizes.
  3. CSliding window increases throughput by allowing multiple packets to be sent before acknowledgment.
  4. DSliding window requires no acknowledgments.
Show answerHide answer

Correct answer: (C) Sliding window increases throughput by allowing multiple packets to be sent before acknowledgment.

Explanation

Stop-and-wait sends one frame and waits for its ACK. A sliding window allows several frames in flight before acknowledgment, which uses the link better and gives higher throughput.

Q102DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
In which scenario would the ReadConsole system call be used over ReadFile?
  1. AWhen reading input from a network socket
  2. BWhen reading from a database
  3. CWhen reading from the console or terminal window
  4. DWhen reading from a disk file
Show answerHide answer

Correct answer: (C) When reading from the console or terminal window

Explanation

In the Windows API, ReadConsole reads characters from the console input buffer (the terminal window). ReadFile is the general call for files, pipes and devices.

Q103DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
What is the size of the TCP header without any options?
  1. A32 bytes
  2. B16 bytes
  3. C24 bytes
  4. D20 bytes
Show answerHide answer

Correct answer: (D) 20 bytes

Explanation

The fixed part of a TCP header is 20 bytes (five 32-bit words). Options can extend it up to 60 bytes.

Q104DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
What is the role of a checksum in ensuring message integrity?
  1. ATo authenticate the sender
  2. BTo validate the size of the message
  3. CTo detect errors or alterations in the transmitted message
  4. DTo encrypt the message during transmission
Show answerHide answer

Correct answer: (C) To detect errors or alterations in the transmitted message

Explanation

The sender computes a checksum over the data, and the receiver recomputes it. If the two differ, the message was corrupted or altered in transit.

Q105DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
What type of communication does TCP support?
  1. ABroadcast
  2. BConnectionless
  3. CStateless
  4. DFull-duplex
Show answerHide answer

Correct answer: (D) Full-duplex

Explanation

TCP is full-duplex: once connected, data can flow in both directions at the same time. TCP is connection-oriented and stateful, and does not broadcast.

Q106DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
What will happen if we DO NOT use the break statement in a switch case?
  1. AThe program will throw a compilation error.
  2. BThe control will continue executing the following cases until the end of the switch block is encountered.
  3. CThe control will break out of the switch automatically after the first matching case.
  4. DThe program will throw a runtime error.
Show answerHide answer

Correct answer: (B) The control will continue executing the following cases until the end of the switch block is encountered.

Explanation

Without break, execution falls through: after the matching case, the statements of all the following cases run until a break or the end of the switch.

Q107DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Which of the following is NOT a field in the UDP header?
  1. AChecksum
  2. BSequence Number
  3. CSource Port
  4. DLength
Show answerHide answer

Correct answer: (B) Sequence Number

Explanation

The UDP header has only four fields: source port, destination port, length and checksum. Sequence numbers belong to TCP, which needs them for reliable, ordered delivery.

Q108DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
What does an ICMP Destination Unreachable message indicate?
  1. AThe packet’s checksum is invalid.
  2. BThe destination host or network is unreachable.
  3. CThe packet has reached its destination.
  4. DThe destination IP address is incorrect.
Show answerHide answer

Correct answer: (B) The destination host or network is unreachable.

Explanation

ICMP Destination Unreachable (type 3) is sent by a router or host when a packet cannot be delivered to the destination network, host, protocol or port.

Q109DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Which of the following scenarios indicates successful connection establishment in TCP?
  1. AOnly the SYN is sent and received
  2. BData packets are transmitted without SYN packets
  3. CSYN, SYN-ACK and ACK packets are exchanged
  4. DOnly the SYN-ACK is sent
Show answerHide answer

Correct answer: (C) SYN, SYN-ACK and ACK packets are exchanged

Explanation

TCP sets up a connection with a three-way handshake: the client sends SYN, the server replies SYN-ACK and the client answers ACK. Only after this exchange is the connection established.

Q110DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Which firewall type acts as an intermediary for requests between a client and a server?
  1. AProxy firewall
  2. BStateful
  3. CPacket-filtering
  4. DCircuit-level gateway
Show answerHide answer

Correct answer: (A) Proxy firewall

Explanation

A proxy firewall (application-level gateway) sits between client and server: it receives the client's request and makes its own request to the server, so the two never connect directly.

Q111DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Which of the following protocols supports multiplexing in transport layer?
  1. AHTTP
  2. BFTP
  3. CUDP
  4. DSMTP
Show answerHide answer

Correct answer: (C) UDP

Explanation

Transport-layer protocols such as UDP and TCP multiplex several application streams over one network connection using port numbers. HTTP, FTP and SMTP are application-layer protocols.

Q112DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
How does TCP ensure a clean termination of both sides during a normal connection release?
  1. ABy resending SYN packets
  2. BBy encrypting all termination packets
  3. CBy entering the LISTEN state after termination
  4. DBy sending FIN and ACK packets sequentially
Show answerHide answer

Correct answer: (D) By sending FIN and ACK packets sequentially

Explanation

In a normal TCP release, each side sends a FIN and the other side acknowledges it with an ACK (usually four segments). This closes both directions of the connection cleanly.

Q113DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
In the switch control statement of the C program, the control falls through all the cases unless the _______ statement is given or the end of the switch block is reached.
  1. Acontinue
  2. Bbreak
  3. Cfor
  4. Dreturn
Show answerHide answer

Correct answer: (B) break

Explanation

Without break, control falls through into the following cases until a break or the end of the switch. continue applies only to loops.

Q114DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
What is the main purpose of a multimedia communication system?
  1. ATo create 3D graphics
  2. BTo store files
  3. CTo edit multimedia content
  4. DTo facilitate the transmission of audio, video, and data
Show answerHide answer

Correct answer: (D) To facilitate the transmission of audio, video, and data

Explanation

A multimedia communication system carries audio, video and data between users, as in video conferencing and streaming.

Q115DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Cellular phones and televisions use the __________ regions of the electromagnetic spectrum for signal transmission.
  1. Aultraviolet and visible light
  2. Bgamma rays and X-rays
  3. Cradio waves and microwaves
  4. Dinfrared and visible light
Show answerHide answer

Correct answer: (C) radio waves and microwaves

Explanation

Mobile phones and TV broadcasting send signals on radio waves and microwaves, the long-wavelength part of the spectrum, because these travel far and pass through the atmosphere.

Q116DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
The control statement in C program that allows us to make a decision from multiple number of choices simultaneously is called _______.
  1. Aswitch
  2. Bwhile
  3. Cgoto
  4. Dfor
Show answerHide answer

Correct answer: (A) switch

Explanation

A switch statement chooses one of many case labels by the value of a single expression. Loops repeat code and goto jumps; they do not choose among several cases.

Q117DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Which protocol enables presence detection, contact management, and real-time messaging in instant messaging applications?
  1. AIMAP (Internet Message Access Protocol)
  2. BSIP (Session Initiation Protocol)
  3. CXMPP (Extensible Messaging and Presence Protocol)
  4. DIRC (Internet Relay Chat)
Show answerHide answer

Correct answer: (C) XMPP (Extensible Messaging and Presence Protocol)

Explanation

XMPP (Jabber) is an open XML-based protocol for instant messaging, presence (online status) and contact lists (rosters). IMAP is for email, and SIP sets up calls.

Q118DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
Which cryptographic protocol is used to ensure privacy in secure web communications?
  1. AHTTP
  2. BARP (Address Resolution Protocol)
  3. CTLS (Transport Layer Security)
  4. DFTP (File Transfer Protocol)
Show answerHide answer

Correct answer: (C) TLS (Transport Layer Security)

Explanation

TLS (successor of SSL) encrypts data between browser and server and is the security layer of HTTPS. Plain HTTP, ARP and FTP do not provide privacy.

Q119DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
What is a transport layer address typically called?
  1. ASubnet Mask
  2. BPort Numbe
  3. CMAC Address
  4. DIP Address
Show answerHide answer

Correct answer: (B) Port Numbe

Explanation

The transport layer identifies a process on a host by a port number (16 bits in TCP/UDP). MAC addresses belong to the data link layer and IP addresses to the network layer.

Q120DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
Which of the following is NOT a phase of TCP congestion control?
  1. ASlow start
  2. BData fragmentation
  3. CFast retransmit
  4. DCongestion avoidance
Show answerHide answer

Correct answer: (B) Data fragmentation

Explanation

TCP congestion control uses slow start, congestion avoidance, fast retransmit and fast recovery. Fragmentation of data is done at the IP (network) layer, not a congestion control phase.

Q121DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
Which of the following best describes the function of a NOT gate?
  1. AIt performs logical multiplication.
  2. BIt passes the input as output without change.
  3. CIt performs logical addition.
  4. DIt inverts the input signal.
Show answerHide answer

Correct answer: (D) It inverts the input signal.

Explanation

A NOT gate (inverter) has one input and outputs its complement: 0 becomes 1 and 1 becomes 0. AND is logical multiplication and OR is logical addition.

Q122DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
Which of the following correctly describes a TCP connection termination?
  1. AIt is immediate and requires no acknowledgment.
  2. BIt does not involve the FIN flag.
  3. CIt uses a two-way handshake.
  4. DIt ensures both the sender and receiver agree to close the connection.
Show answerHide answer

Correct answer: (D) It ensures both the sender and receiver agree to close the connection.

Explanation

TCP connection termination is graceful: each side sends a FIN and the other acknowledges it (a four-way exchange), so both ends agree to close. It is not immediate and does use the FIN flag.

Q123DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
In TCP, which flag is used to initiate connection termination?
  1. AACK
  2. BRST
  3. CFIN
  4. DSYN
Show answerHide answer

Correct answer: (C) FIN

Explanation

A host sends a segment with the FIN flag set to start closing the connection. SYN opens a connection and RST aborts it abruptly.

Q124DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
What type of data does RTP (Real Time Protocol) primarily support?
  1. AText documents
  2. BFile transfers
  3. CEncrypted email attachments
  4. DReal-time multimedia (audio and video)
Show answerHide answer

Correct answer: (D) Real-time multimedia (audio and video)

Explanation

RTP carries real-time audio and video (VoIP, video conferencing, streaming), with timestamps and sequence numbers, usually over UDP.

Q125DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
What will be the output of the following code? #include <stdio.h> int main() { int x = 5; switch(x) { case 5: printf("Five"); default: printf("Default"); } return 0; }
  1. ADefault
  2. BCompilation error
  3. CFive
  4. DFiveDefault
Show answerHide answer

Correct answer: (D) FiveDefault

Explanation

case 5 matches and prints "Five". There is no break, so control falls through to default and also prints "Default", giving FiveDefault.

Q126DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
What will be the output of the following code? #include <stdio.h> int main() { int a = 2, b = 3; switch (a) { case 1: printf("Case 1"); break; case 2: switch (b) { case 3: printf("Case 3"); break; default: printf("Inner Default"); } default: printf("Outer Default"); } return 0; }
  1. ACase 3Inner Default
  2. BCase 3
  3. CInner DefaultOuter Default
  4. DCase 3Outer Default
Show answerHide answer

Correct answer: (D) Case 3Outer Default

Explanation

a = 2 selects case 2; the inner switch matches case 3, prints "Case 3", and its break exits only the inner switch. With no break after it, control falls into the outer default and prints "Outer Default".

Q127DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
Which of the following is NOT an instant messaging service?
  1. ASnapchat
  2. BFirefox
  3. CWeChat
  4. DSignal
Show answerHide answer

Correct answer: (B) Firefox

Explanation

Firefox is a web browser developed by Mozilla. Snapchat, WeChat and Signal are instant messaging apps.

Q128DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
What happens if a RST (reset) packet is received during the connection management process?
  1. AThe receiver sends another SYN packet.
  2. BThe connection is immediately terminated.
  3. CThe sender continues retransmissions.
  4. DThe connection remains active.
Show answerHide answer

Correct answer: (B) The connection is immediately terminated.

Explanation

An RST segment aborts the TCP connection at once: no further data is sent, no graceful FIN handshake happens, and buffered data is discarded.

Q129DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
Which of the following describes the use of digital certificates in authentication?
  1. AThey store the user's passwords.
  2. BThey compress large files for secure transfer.
  3. CThey verify the identity of entities using Public Key Infrastructure (PKI).
  4. DThey encrypt data transmission.
Show answerHide answer

Correct answer: (C) They verify the identity of entities using Public Key Infrastructure (PKI).

Explanation

Note: the official answer key marks option 2. Conceptually, digital certificates verify the identity of an entity using PKI (option 3). The key has been kept as published.

Q130DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
Which technology is commonly used in Wi-Fi to enhance signal range and reliability?
  1. AMIMO (Multiple Input Multiple Output)
  2. BWEP (Wired Equivalent Privacy)
  3. CTDMA (Time Division Multiple Access)
  4. DCDMA (Code Division Multiple Access)
Show answerHide answer

Correct answer: (A) MIMO (Multiple Input Multiple Output)

Explanation

MIMO uses several antennas at the transmitter and receiver (spatial multiplexing, diversity), which raises throughput, range and reliability in 802.11n/ac/ax Wi-Fi. WEP is an old security protocol, not a range technique.

Q131DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
What does the TCP service model guarantee about the order of data delivery?
  1. AData is delivered in the order it is transmitted.
  2. BData is not guaranteed to arrive in any specific order.
  3. CData may arrive out of order and is handled by the application layer.
  4. DData is delivered as fast as possible.
Show answerHide answer

Correct answer: (A) Data is delivered in the order it is transmitted.

Explanation

TCP provides a reliable, in-order byte stream: sequence numbers let the receiver reorder segments, so the application gets data in the same order it was sent. UDP gives no ordering guarantee.

Q132DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
Which of the following is true about nested switch statements in C?
  1. ABoth inner and outer switch statements must have a default case.
  2. BA switch statement cannot contain another switch.
  3. CInner switch cases should not contain break statement
  4. DA switch statement can contain another switch statement inside any of its cases.
Show answerHide answer

Correct answer: (D) A switch statement can contain another switch statement inside any of its cases.

Explanation

C allows switch statements to be nested: any case of an outer switch can contain a complete inner switch. A default case is optional and break is allowed inside inner cases.

Q133DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
Which advantage of AJAX helps in reducing bandwidth consumption?
  1. AAJAX uses less JavaScript.
  2. BAJAX only loads images on the page.
  3. CAJAX increases data transfer.
  4. DAJAX sends and retrieves only small amounts of data from the server.
Show answerHide answer

Correct answer: (D) AJAX sends and retrieves only small amounts of data from the server.

Explanation

AJAX exchanges only the small pieces of data needed in the background and updates part of the page, instead of reloading the whole page, so less data is transferred.

Q134DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Too many packets present in (a part of) the network causes packet delay and loss that degrades performance. This situation is referred to as ______.
  1. Athrottling
  2. Bchocking
  3. Ccongestion
  4. Dcollapse
Show answerHide answer

Correct answer: (C) congestion

Explanation

Congestion occurs when more packets enter (part of) a network than it can handle, causing queuing delay and packet loss.

Q135DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following statements is/are true with reference to java servlets? (i) A Servlet is a Java program that runs without a web server. (ii) It receives the requests and responds to them using related protocols (usually HTTP).
  1. AOnly (i)
  2. BBoth (i) and (ii)
  3. CNeither (i) nor (ii)
  4. DOnly (ii)
Show answerHide answer

Correct answer: (D) Only (ii)

Explanation

Only (ii) is true: a servlet receives and answers requests, usually over HTTP. It runs inside a web server or servlet container, so (i) is false.

Q136DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
In connectionless services offered by the network layer, packets are injected into the network individually and routed independently of each other. In this context, the packets are frequently called ______, and the network is called a ______ network.
  1. Adatagrams; virtual-circuit
  2. Bdatagrams; datagram
  3. Cvirtual circuits; datagram
  4. Dvirtual circuits; virtual-circuit
Show answerHide answer

Correct answer: (B) datagrams; datagram

Explanation

In a connectionless network service packets are called datagrams and the network a datagram network. Connection-oriented service uses a virtual-circuit network.

Q137DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is a router in a foreign network to which the mobile node is currently connected with reference to mobile communication?
  1. AForeign agent
  2. BHome agent
  3. CForeign agent COA
  4. DCo-located COA
Show answerHide answer

Correct answer: (A) Foreign agent

Explanation

In Mobile IP, the foreign agent is a router on the visited (foreign) network that serves the mobile node while it is attached there.

Q138DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following are two arguments that 'chmod' takes to change different permission configurations of files in KDE Linux shell?
  1. APermission changes and network names
  2. BPermission changes and user names
  3. CPermission changes and system names
  4. DPermission changes and file names
Show answerHide answer

Correct answer: (D) Permission changes and file names

Explanation

chmod takes the permission changes (e.g. u+x or 755) and the file names to apply them to, as in chmod 755 file.txt.

Q139DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following refers to messages sent from transport entity to transport entity in the transport layer of the ISO/OSI network model?
  1. APacket
  2. BBlock
  3. CFrame
  4. DSegment
Show answerHide answer

Correct answer: (D) Segment

Explanation

Messages exchanged between transport entities in the transport layer are called segments (TPDUs). Packets belong to the network layer and frames to the data link layer.

Q140DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
In which of the following radio channel sharing methods several users share the same frequency channel of higher bandwidth by dividing it into different time slots?
  1. ATime Division Multiple Access
  2. BNetwork Division Multiple Access
  3. CFrequency Division Multiple Access
  4. DPacket Division Multiple Access
Show answerHide answer

Correct answer: (A) Time Division Multiple Access

Explanation

TDMA lets several users share one frequency channel by giving each user its own time slot.

Q141DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following with reference to digital electronics is a device that stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship to a clock signal?
  1. ALatch
  2. BFlip-Flop
  3. CCounter
  4. DRegister
Show answerHide answer

Correct answer: (C) Counter

Explanation

A counter stores, and may display, the number of times an event has occurred, usually counting clock pulses.

Q142DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following belongs to the fixed and wireless configuration category of mobile devices?
  1. AWi-Fi router
  2. BDesktop computer
  3. CWi-Fi Dongle
  4. DLaptop
Show answerHide answer

Correct answer: (A) Wi-Fi router

Explanation

A Wi-Fi router is fixed in place but connects devices wirelessly, so it is a fixed and wireless device. A laptop is mobile, and a desktop is fixed and wired.

Q143DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is designed in such a way that all the stations are connected through a single cable known as a backbone cable in the computer network?
  1. ABus topology
  2. BMesh topology
  3. CStar topology
  4. DRing topology
Show answerHide answer

Correct answer: (A) Bus topology

Explanation

In a bus topology all stations connect to one common cable called the backbone.

Q144DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
The algorithm that manages routing tables and makes routing decisions in the network layer of the ISO/OSI model is called ______.
  1. Anetwork algorithm
  2. Brouting algorithm
  3. Ctable algorithm
  4. DIP algorithm
Show answerHide answer

Correct answer: (B) routing algorithm

Explanation

The routing algorithm in the network layer decides which output line an incoming packet goes to and maintains the routing tables.

Q145DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is FALSE with reference to peer-to-peer network?
  1. AThis network has a dedicated server.
  2. BIt is useful for small environments, usually up to 10 computers.
  3. CSpecial permissions are assigned to each computer for sharing the resources.
  4. DAll the computers are linked together with equal privilege and responsibilities for processing data.
Show answerHide answer

Correct answer: (A) This network has a dedicated server.

Explanation

A peer-to-peer network has no dedicated server; all computers have equal status. So the statement that it has a dedicated server is false.

Q146DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following internet protocols provides a way for applications to send encapsulated IP datagrams without having to establish a connection?
  1. ATelnet
  2. BUnit Datagram Protocol
  3. CTransmission Control Protocol
  4. Drlogin
Show answerHide answer

Correct answer: (B) Unit Datagram Protocol

Explanation

UDP (User Datagram Protocol, shown as 'Unit Datagram Protocol') lets applications send encapsulated IP datagrams without setting up a connection. TCP is connection-oriented.

Q147DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
In a Client/Server network, the central controller is known as a ______, while all other computers in the network are called ______.
  1. Apeer; servers
  2. Bclient; servers
  3. Cserver; clients
  4. Dserver; peers
Show answerHide answer

Correct answer: (C) server; clients

Explanation

In a client/server network the central computer is the server and the other computers that request services from it are the clients.

Q148DSSSB TGT Computer Science, 24 Jun 2023, Shift 3 (4:30 PM)
A network on the internet has a subnet mask of 255.255.240.0. What is the maximum number of hosts it can handle?
  1. A1024
  2. B3072
  3. C2048
  4. D4094
Show answerHide answer

Correct answer: (D) 4094

Explanation

255.255.240.0 is a /20 mask, which leaves 12 host bits. 2¹² − 2 = 4094 usable hosts (the network and broadcast addresses are excluded).

Q149DSSSB TGT Computer Science, 24 Jun 2023, Shift 3 (4:30 PM)
Which of the following statements is true?
  1. ACircuit setup is not required in both a datagram network and virtual-circuit network.
  2. BCircuit setup is required in both a datagram network and virtual-circuit network.
  3. CCircuit setup is required in a virtual-circuit network.
  4. DCircuit setup is required in a datagram network.
Show answerHide answer

Correct answer: (C) Circuit setup is required in a virtual-circuit network.

Explanation

A virtual-circuit network sets up a path (connection) before data is sent. A datagram network routes each packet independently, with no setup.

Q150DSSSB TGT Computer Science, 24 Jun 2023, Shift 3 (4:30 PM)
What feature of the transport layer prevents data loss?
  1. AEncryption
  2. BPacket switching
  3. CAddressing
  4. DFlow control
Show answerHide answer

Correct answer: (D) Flow control

Explanation

Transport-layer flow control (with acknowledgements and retransmission) stops a fast sender from overwhelming the receiver, which prevents data loss.

How to use these DSSSB TGT / PGT Computer Science questions

Every question here was asked in a real DSSSB TGT / PGT paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full DSSSB TGT / PGT papers as timed tests to check your speed under exam conditions.

More DSSSB TGT / PGT subjects