Skip to content
InterviewEra
What is InterviewEraThe platform, founder, and missionHow It WorksAdaptive interview, live captions, scoringResume-aware ScoringCV-native questions + 5-dimension feedback
Campus Placements OverviewStructured mock interviews and cohort analytics for T&P teamsSet up Campus WorkspaceCreate your campus dashboard and invite your batchT&P Product & PricingPilot pricing, bulk onboarding, and placement trackingStudent Invitation HelpHow to accept a campus invite and start practising
Software EngineerDSA, system design, OOP roundsFrontend DeveloperReact, HTML/CSS, JavaScript interviewsTCS Interview QuestionsNQT + technical + HR roundsWipro Careers HubNLTH, WILP, Turbo hiring tracksSolera Careers HubCognitive assessment + Java/SQL roundsReact Interview QuestionsHooks, state, performance topics
Interview Question GeneratorRole-specific questions in secondsATS Resume CheckerScore your resume against job rolesSTAR Answer BuilderStructure behavioral answers clearly
All ResourcesCentral guide and hub directoryBlogInterview prep articles and guidesAgentic AI Interview GuideAI-assisted coding interviews, rubrics, and prepPlacement GuideStep-by-step campus prep playbookSTAR Method GuideMaster behavioral answers
Help CenterGuides, FAQs, and supportDSA Topic MapPatterns, roadmap, and top 50 problemsSoftware Engineer GuideSWE questions and prep hubAndroid GuideKotlin, Compose, MVVM prep hubFrontend GuideReact and JavaScript interviews
PricingFor Teams
Sign inSign up
InterviewEra

InterviewEra is an AI-powered mock interview platform with adaptive follow-ups, resume-aware scoring, and structured interview preparation for campus placements and early-career hiring.

Start Mock Interview

Mock Interview

  • How It Works
  • For Teams
  • Start Mock Interview
  • Campus Placements
  • Campus Workspace
  • Help Center

Free Tools

  • Interview Question Generator
  • ATS Resume Checker
  • STAR Answer Builder

Interview Questions

  • Wipro Careers Hub
  • Solera Careers Hub
  • Amazon SDE Questions
  • Microsoft SDE Questions
  • Infosys SWE Questions
  • Infosys Java Questions
  • Freshworks Frontend Questions
  • Android Developer Questions
  • Frontend Developer Questions
  • Java Developer Questions

Resources

  • Community Hub
  • All Resources
  • Blog
  • Agentic AI Interview Guide
  • What Is Agentic AI
  • Agentic Coding Round
  • AI Prompt Engineering
  • Cursor AI Interview Guide
  • DSA Topic Map
  • Placement Guide
  • STAR Guide
  • HR Guide
  • Interview Tips

Company

  • What is InterviewEra
  • About Us
  • Pricing
  • Contact

© 2026 InterviewEra. All rights reserved.

Privacy PolicyTermsRefundRanchi, Jharkhand, India
Interview Questions›Topics›Computer Networks

CS Fundamentals · Fresher-relevant

Computer Networks Interview Questions 2026

Computer Networks interview questions on OSI model, TCP/IP, DNS, HTTP/HTTPS, subnetting, and network security fundamentals.

CS FundamentalsFresher-relevant

Computer Networks Interview Questions

Placement-oriented · Updated 2026
  1. 01

    What is the difference between TCP and UDP?

    TechnicalEasy

    Tip: TCP is connection-oriented, reliable, ordered, and flow/congestion-controlled (HTTP, email, file transfer). UDP is connectionless, unreliable, and low-latency with no handshake (DNS, VoIP, gaming, video). Choose TCP when correctness matters, UDP when speed and tolerance to loss matter.

  2. 02

    Explain the TCP three-way handshake.

    TechnicalMedium

    Tip: SYN (client → server with initial seq), SYN-ACK (server acknowledges and sends its seq), ACK (client acknowledges). This synchronises sequence numbers and establishes a reliable connection before data flows. Connection teardown uses a four-way FIN/ACK exchange.

  3. 03

    What happens when you type a URL into a browser and press Enter?

    TechnicalHard

    Tip: DNS resolves the domain to an IP → TCP connection (and TLS handshake for HTTPS) → HTTP request sent → server responds → browser parses HTML, fetches CSS/JS/images, builds the DOM/CSSOM, and renders. Caching (DNS, browser, CDN) short-circuits many steps. Mention each layer to show depth.

  4. 04

    What are the layers of the OSI model?

    TechnicalMedium

    Tip: Physical, Data Link, Network, Transport, Session, Presentation, Application (mnemonic: "Please Do Not Throw Sausage Pizza Away"). Map them to real protocols: IP at Network, TCP/UDP at Transport, HTTP/DNS at Application. The TCP/IP model collapses these into 4 layers.

  5. 05

    How does DNS resolution work?

    TechnicalMedium

    Tip: The resolver checks caches, then queries the root server → TLD server (.com) → authoritative name server for the domain, returning the IP. Records are cached per their TTL. Record types: A (IPv4), AAAA (IPv6), CNAME (alias), MX (mail), NS (name server).

  6. 06

    What is the difference between HTTP and HTTPS, and how does TLS work?

    TechnicalHard

    Tip: HTTPS is HTTP over TLS, providing encryption, integrity, and server authentication. The TLS handshake uses asymmetric crypto to verify the certificate and agree on a shared symmetric session key, then encrypts traffic with that faster symmetric key. It defends against eavesdropping and tampering.

  7. 07

    What is the difference between a switch, a router, and a hub?

    TechnicalEasy

    Tip: A hub blindly repeats signals to all ports (Layer 1). A switch forwards frames to specific ports using MAC addresses (Layer 2). A router connects different networks and forwards packets by IP address, choosing routes (Layer 3).

  8. 08

    Explain how HTTP status codes and methods convey request outcomes.

    TechnicalEasy

    Tip: Methods: GET (read, safe), POST (create), PUT/PATCH (update), DELETE (remove). Status ranges: 2xx success, 3xx redirect, 4xx client error (404, 401, 403, 429), 5xx server error. Together they make HTTP a self-describing, stateless protocol.

Practice CN questions with your own resume

InterviewEra generates role-specific questions using your actual projects and skills. Get scored feedback on technical depth, clarity, and structure — free to start.

Start free mock interviewFree question generator

Roles that need CN

  • Software Engineer questions
  • DevOps Engineer questions
  • Cybersecurity Analyst questions

Related cs-fundamentals topics

  • Data Structures questions
  • Algorithms questions
  • System Design questions
  • Object-Oriented Programming questions
  • Database Management Systems questions

Practice tools

  • Interview question generator
  • ATS resume checker
  • STAR answer builder

Guides and resources

  • All interview questions
  • HR interview answer tips
  • STAR method with examples