StarkSeek
EventsJobs
Sign in

Menu

Practice

  • DSA sheetsProblem sheets by topic and company
  • AptitudeNewQuant, logic, data and verbal, with fresh questions
  • SQLNew400 interview-style SQL problems with checked solutions
  • CS fundamentalsNewOS, DBMS, networks and OOP, with labs you can run
  • Skill tracksProject-based learning in 12 domains

Interview prep

  • Mock interviewAIPractise with an AI interviewer by voice
  • Code ComprehensionNewRead, fix and explain real code with an AI assistant
  • EventsHackathons, workshops, meetups and contests
  • JobsOpen roles from companies hiring through StarkSeek

Pricing

  • MembershipsCompare plans and what each includes
  • Add-ons and creditsExtra credits when you need more
  • Rewards store

For Companies

  • Hire talentAssess real work, read the evidence behind every score and decide with your team
  • Host an eventHackathons, coding contests, workshops and meetups, with certificates and a live leaderboard
Sign in
CS fundamentals/Computer Networks/Transport layer: TCP, UDP and flow control

Computer Networks

Transport layer: TCP, UDP and flow control

Reliable delivery, handshakes, windows and delay arithmetic.

Practise this topic

In two minutes

One idea to a line

  1. 1

    TCP is connection-oriented and reliable (acknowledgements, retransmission, ordering). UDP is connectionless with no delivery promise and far less overhead.

  2. 2

    The TCP three-way handshake is SYN, SYN-ACK, ACK. Closing takes FIN and ACK in each direction.

  3. 3

    Delay = transmission (size ÷ rate) + propagation (distance ÷ speed) + queueing + processing. Transmission and propagation are different things.

  4. 4

    Stop-and-wait utilisation = Ttx ÷ (Ttx + 2 × Tp). A window of 1 + 2a frames keeps the link busy, where a = Tp ÷ Ttx.

  5. 5

    Go-Back-N needs window + 1 sequence numbers; Selective Repeat needs 2 × window. Congestion control (slow start, then additive increase) keeps the sender from flooding the network.

Slips people make here

Interviewers know them too

  • Using the size in bytes where bits are needed.

  • Counting the propagation delay once in a round trip.

  • Saying TCP guarantees speed: it guarantees order and delivery.

Your practice here

Not started

10 written questions, and 4 kinds of calculation that change every time

No answers yet

Get product updates

New tracks and events, straight to your inbox.

StarkSeek

Learn by building real projects, practise interview-level DSA, and apply to roles from hiring teams.

Platform

  • Learning tracks
  • Practice problems
  • Aptitude
  • SQL practice
  • CS fundamentals
  • Mock interviews
  • Code Comprehension
  • Events

Resources

  • Host an event
  • For companies
  • Certificates
  • Rewards store
  • Pricing
  • Add-ons
  • Blog

Company

  • Careers
  • Contact us
  • Privacy policy
  • Terms of service

Support

  • contact@starkseek.com
  • community@starkseek.comEvents and organizers
  • partner@starkseek.comCompanies and partnerships

© 2026 StarkSeek. A product of NOKATI LLP.

Recognized by