CoreHRx Jobs

Apply in one click, save jobs and take free mock tests.

Register free Log in
Hiring? Post jobs with CoreHRx
My account
user

View & update profile

Computer Networks mock test: free online practice

15 to 30 random questions in 15 to 30 minutes, by the level you choose: osi, subnetting, routing, tcp/udp, congestion, dns, security, delays. After you submit you get your score, your strong and weak topics, and the right answer with an explanation for every question.

Want to revise first? Read the Computer Networks interview questions and answers.

Choose your level

Free with a CoreHRx Jobs account: you will be asked to sign in or create one first.

What does the Computer Networks mock test cover?

The test covers 12 topics across three levels. Each attempt picks 15 to 30 questions at random, by the level you choose, so every attempt is different.

  • Data Link Layer and Ethernet
  • Delays and Throughput
  • DNS, DHCP and HTTP
  • Email and Other Application Protocols
  • Error Detection and Correction
  • Flow and Congestion Control
  • IP Addressing and Subnetting
  • Network Devices
  • Network Security
  • OSI and TCP/IP Models
  • Routing
  • TCP and UDP

Sample Computer Networks mock test questions

One question from each level, the way they appear in the test. A new set comes on the 1st of every month. Try it, then open the answer.

  1. EasyTCP and UDP

    Why do most DNS queries use UDP rather than TCP?

    • TCP cannot carry DNS data, since DNS has no port in TCP
    • UDP encrypts each query, which keeps the looked-up names private
    • A short question and answer need no connection setup, so UDP is quicker
    • UDP guarantees that every reply arrives and arrives in order
    Show the answer

    Answer: A short question and answer need no connection setup, so UDP is quicker. A typical lookup fits in one small datagram each way, so a TCP handshake would add a full round trip for nothing; the client simply retries if the answer is lost. DNS does use TCP port 53 for large answers and zone transfers.

  2. MediumData Link Layer and Ethernet

    What is a gratuitous ARP?

    • An ARP for the host own IP address, used to spot duplicates or refresh neighbours caches
    • An ARP request that asks a server to assign the host an IP address when it boots
    • An ARP sent every minute by a switch to stop its port entries from aging out
    • An ARP reply that a router sends on behalf of hosts that sit on a different network
    Show the answer

    Answer: An ARP for the host own IP address, used to spot duplicates or refresh neighbours caches. A host announces or asks about its own IP. If anyone answers, the address is a duplicate; if not, everyone that hears it updates its cache, which is how a failover IP moves to a new MAC fast. Answering for other networks is proxy ARP.

  3. HardFlow and Congestion Control

    Why does AIMD (additive increase, multiplicative decrease) push two competing TCP flows towards a fair share?

    • The bigger flow increases faster, so it soon takes the whole link and the other flow stops
    • The router tells each flow its fair share, and AIMD simply moves the window to that value
    • Both gain the same amount per RTT, but a cut removes more from the bigger flow, so the gap shrinks
    • Both halve their windows on every ACK, so they meet at zero and then restart with equal windows
    Show the answer

    Answer: Both gain the same amount per RTT, but a cut removes more from the bigger flow, so the gap shrinks. Additive increase moves both flows up in parallel, keeping their difference. Multiplicative decrease on a shared loss halves both, which halves the difference too. Repeating this drives them towards equal shares, the classic Chiu-Jain result.

Take the full Computer Networks mock test: 15 to 30 questions and 15 to 30 minutes, by level.

How is the Computer Networks mock test scored?

A question counts as right only when you pick exactly the right option, or all the right options where it says so; a question left blank counts as wrong. Your score is the share of the test's questions you got right (15 to 30, by level). The result also scores every topic, so you know what to revise before the interview.

  • 75% or more in a topica strength
  • 50% to 74%worth a revision
  • Under 50%a topic to work on

Computer Networks mock test: questions people ask

Is the Computer Networks mock test free?

Yes. The Computer Networks mock test is free. You need a free CoreHRx Jobs account to start it, so your score and the topics to work on are saved.

How many questions are in the Computer Networks mock test?

It depends on the level: Easy has 15 questions in 15 minutes, Medium has 20 questions in 20 minutes, Hard has 30 questions in 30 minutes. They are multiple-choice questions picked at random from a larger bank of Computer Networks questions at your level, so every attempt is different.

Which Computer Networks topics does the test cover?

The questions cover Data Link Layer and Ethernet, Delays and Throughput, DNS, DHCP and HTTP, Email and Other Application Protocols, Error Detection and Correction, Flow and Congestion Control, IP Addressing and Subnetting, Network Devices, Network Security, OSI and TCP/IP Models, Routing, TCP and UDP. Your result shows how you did in each topic.

Which level should I choose?

Easy: OSI and TCP/IP layers, devices, common protocols and ports. Medium: Subnetting, TCP vs UDP, routing, DNS and error control. Hard: Congestion control, sliding windows, delays and tricky subnetting. Start with Easy and move up.

Can employers see my Computer Networks score?

Only your best Computer Networks score, and only when it is 60% or more. It shows on the job applications you send on CoreHRx. Lower scores stay private.

Can I take the Computer Networks mock test again?

Yes, up to 10 tests a day. Each attempt picks questions you have not seen recently first.

All mock tests