GPA Guarantee: Score A+ under Finals

Lecture Transcription |LMS sync |Live Tutor Q&A
50% OFFAll plan

COMP90007 Cheatsheet · Internet Technologies

University of Melbourne · Cheatsheet for the final exam. Semester 2 examination period, 2–20 November 2026. Full COMP90007 study guide →

A4 landscape · 7pt body · 6 columns · two-sided COMP90007 revisionv2 · Semester 2, 2026
COMP90007
Internet Technologies
The University of Melbourne · Computer Science · Graduate coursework
COMP90007 cheatsheet QR code – open the full COMP90007 study guide
Full guide + ask Sia about COMP90007
SIDE 1/2   DEFINITIONS · FORMULAS · DECISION RULES · COMPARISONS EXAM REVISION SHEET S2 2026 · what the final rewards

0 · Exam Mapcourse.json · BRIEF

HW 10P1 15P2 15WRITTEN EXAMINATION 60%
AssessmentWeight
Two equally-weighted homework assignments10%
Networking Project 115%
Networking Project 215%
Written examination60%

Permitted materials: not confirmed for this offering in the course materials we hold — check the exam instructions on the LMS.

Assessment and materials framing: course.json and BRIEF.md.

1 · Trace the StackC1 P1–3

Application request Transport exchange Network packet Link frame Physical signal
Encapsulation adds control information down the stack.

Client initiates a service request; a server accepts it and constructs a reply. A packet is a formatted message carrying layer-appropriate control information and payload. Name the object at the layer before explaining its path.

Trace sentenceapplication message → transport exchange → network packet → link frame → physical signal; reverse on receipt.

At every hop ask what remains end-to-end and what is replaced locally. A changed first-hop technology does not change the application into a link-layer protocol.

Packet-trace ledger

BoundaryRecord
Application ↔ transportRequested capability, local interface action, application message.
Transport ↔ networkEndpoint exchange, packet handed down, network-layer delivery identity.
Network ↔ linkNext hop, link frame, fields replaced on the current link.
Link ↔ physicalFrame bits represented as signal states on the medium.

Trace request and reply separately. Client/server roles belong to the exchange, not permanently to a machine type. An IP address identifies a network interface for network-layer delivery; the application request remains conceptually distinct from that identifier.

Self-check → Label every arrow: upward capability, adjacent-layer access, peer coordination or physical/link movement. If one arrow silently does two jobs, split it.

2 · Scope ≠ TopologyC1 P1–2

QuestionClassificationRule
Who can receive?BroadcastOne shared channel; every attached station can receive, addressed recipient processes.
Point-to-pointIndividual pairwise links; traffic is not automatically presented to all machines.
MulticastDelivery selects a subset.
How arranged?Mesh / bus / star / ringPhysical relationship only; does not determine access or forwarding protocol.
centre ABCD
A star’s centre may repeat or switch traffic.

Check → A bus creates a shared-medium coordination problem; a star identifies central attachment. State arrangement and behavioural rule separately.

3 · Three RelationsC1 P3

TermAskWhere
ServiceWhat capability is made available upward?Layer to layer above
InterfaceHow is that service invoked?Adjacent layers on one machine
ProtocolHow do corresponding entities coordinate?Peers across communication

If two things are on the same machine, test for an interface. If they are corresponding entities across communication, test for a protocol. Service is the capability, not the message exchange that implements it.

Reference models: OSI supplies a seven-layer reference vocabulary; TCP/IP is tied to a deployed protocol suite; the subject’s hybrid view keeps physical and data-link functions distinct while following the Internet stack. Compare by mapping functions, not forcing identical layer counts.

Fault localisationwrong name resolution → application; missing route → network; damaged frame → link; noisy signal → physical.

Reference-model comparison

ModelUse it to explainAvoid
OSIPrincipled seven-layer vocabulary and visible service boundaries.Treating layer count as proof of deployed behaviour.

Answer order

    4 · Two Link ClocksC2 P1

    sender serialise L bits signal travels distance d receiver
    Serialisation and signal travel are separate clocks.
    Transmission delaytₜₓ = L / R
    L in bits; R in bit/s → seconds.
    Propagation delaytₚᵣₒₚ = d / s
    distance and signal speed in matching units → seconds.
    Stated one-way link latencyt = tₜₓ + tₚᵣₒₚ
    Add processing or queueing only when inputs are supplied.
    Changetₜₓtₚᵣₒₚ
    L increasesincreasesunchanged
    R increasesdecreasesunchanged
    d increasesunchangedincreases
    s increasesunchangeddecreases

    Bandwidth is a rate; delay is a time. Faster transmission cannot remove travel time over a long path. Audit every unit before interpreting.

    Dimension ledger

    InputWrite before substitutionCheck
    Frame length LbitsConvert bytes if the prompt supplies them; do not mix.
    Rate Rbit/sKeep the stated decimal prefix consistent.
    Path dkm or mMust match the distance unit in s.
    Signal speed skm/s or m/sd/s must finish in seconds.
    Final termsone time unitOnly then add.

    Sensitivity: changing frame size affects serialisation; changing path length affects travel; changing rate cannot alter geography. If a question gives processing or queueing, keep those as separate time terms rather than hiding them inside either link clock.

    Sanity check → Predict which term moves before calculating. A result far outside the estimate triggers a unit and assumption audit.

    5 · Media ChoiceC2 P2

    twistedcoaxialfibrewireless
    Conceptual reach/impairment comparison; not a scale.

    6 · Signal → CapacityC2 P3–4

    bitsstateswavechanneldecide
    Bits become signal states for the receiver to decide.

    A scheme with V levels carries log₂V bits per symbol. More levels encode more per symbol but place states closer together, demanding cleaner reception. Symbol rate and bit rate differ whenever one symbol carries more than one bit.

    Nyquist · noiseless signallingCᴺ = 2B log₂V bit/s
    Needs bandwidth B and distinguishable levels V.
    Shannon · noisy channelCˢ = B log₂(1 + S/N) bit/s
    Needs bandwidth B and linear signal-to-noise ratio S/N.
    Decision ruleIf both channel descriptions apply: C ≤ min(Cᴺ, Cˢ). Convert to the same unit; select the smaller. Never add or average upper bounds.

    These are ceilings, not guaranteed throughput. State the binding assumption and distinguish the selected signalling levels from the receiver’s noise-limited ability to tell them apart.

    Capacity answer scaffold

    1. Identify B and its unit. Decide whether the premise gives V, S/N or both.
    2. Convert levels to bits per symbol with log₂V.
    3. Evaluate each applicable ceiling in bit/s.
    4. If both apply, compare in the same unit and select the lower.
    5. Conclude with the binding assumption; do not report the bound as achieved throughput.
    EvidenceUseReason
    Noiseless + B + VNyquistLimits symbol changes and information per symbol.
    Noisy + B + S/NShannonLimits reliable distinction at the receiver.
    Both descriptionsBoth, then minimumNeither independent upper bound may be exceeded.

    Do not conflate: bandwidth may denote the rate in the link-delay model, while B in the capacity equations is the stated channel bandwidth. Follow the notation and units of the question rather than swapping terms casually.

    7 · Direction & SharingC2 P5

    ConceptRule
    SimplexOne fixed direction.
    Half-duplexBoth directions, not simultaneously.
    Full-duplexBoth directions simultaneously, with separated paths/resources.

    8 · Frame BoundariesC3 P1

    SchemeSenderFailure / receiver
    Character countLength in headerCorrupted count can lose alignment across later frames.
    Flag bytesReserve flag; escape a matching payload byteReceiver recognises boundaries and reverses byte stuffing.
    Bit flagsReserve pattern; insert a zero where requiredReceiver removes inserted bits without deleting genuine data.

    Framing solves boundary ambiguity. It does not itself prove that payload bits are correct or that delivery recovered from loss.

    9 · Error GuaranteesC3 P2–3

    MethodOperationWhat to say
    ParityAdd one parity bitDetects any odd number of flips; cannot locate the error.
    Internet checksumFixed-width sum + end-around carry; complementArithmetic check over words.
    CRCPolynomial modulo-two divisionAlgebraic remainder; receiver divides by same generator.
    Hamming distance dₘᵢₙGuarantee detection of up to e errors if dₘᵢₙ ≥ e + 1.
    Guarantee correction of up to e errors if dₘᵢₙ ≥ 2e + 1.

    Hamming distance is the minimum bit flips between valid codewords. Detection finds an invalid received word; correction identifies a valid word without retransmission. Use separate inequalities.

    CRC send-and-check contract

    1. Let generator degree be r; append r zero bits to data.
    2. Divide the extended bits by the generator using XOR in place of subtraction.
    3. Replace appended zeros with the remainder; transmit.
    4. Receiver divides by the same generator; a valid word leaves zero remainder.
    Trap → A detected error is not corrected data and is not proof that the original payload reached the application.

    Method-selection audit

    Prompt asks aboutRelevant methodNot enough by itself
    Where a frame endscount / byte flag / bit flagParity or CRC
    Whether bits changedparity / checksum / CRCBoundary flag
    Recover without resendcode with correction distanceError detection alone

    10 · Reliable DeliveryC3 P4

    Observed problemMechanismPurpose
    CorruptionParity / checksum / CRCDetect implausible bits.
    Frame or ACK disappearsTimeout + retransmissionRestore progress.
    Retransmission duplicatesSequence numberDistinguish new from repeated.
    Fast sender, slow receiverFlow control / windowAvoid receiver overflow.
    Long-delay link idleSeveral outstanding framesPipeline work across the path.
    ProtocolReceiver / retransmission trade-off
    Stop-and-WaitOne frame, then wait; simple, but a long-delay path sits idle.
    Go-Back-NSimpler receiver state; retransmits the missing frame and later outstanding frames.
    Selective RepeatBuffers acceptable out-of-order frames and retransmits missing frames selectively; more receiver memory.

    Choose → Prefer Selective Repeat when repeating correct frames is costly and buffering is affordable; prefer Go-Back-N when simpler receiver state dominates. Name delay, error rate and memory assumptions.

    11 · Shared AccessC4 P1–2

    FamilyWhen it helpsCost
    Static time/frequencyPredictable, regular demandIdle allocations waste capacity under bursty load.
    Pure / slotted ALOHADynamic contentionCollisions; slotted starts require synchronisation.
    Carrier sense / persistent CSMAListen before sendingLocal silence may be incomplete evidence.
    Collision detectionAbort failed attempt after noticing interferenceCollision must be observable during transmission.
    Reservation / limited contentionReduce collision cost under loadCoordination overhead or idle reservations.

    12 · Wireless & EthernetC4 P2–3

    Hidden: two senders cannot hear each other but share a receiver; each may sense idle and collide there. Exposed: a sender hears activity although different receivers might allow concurrency.

    RTS/CTS: sender requests; receiver clears; stations near the receiver hear CTS and defer. This reduces hidden-terminal risk but adds control overhead and is not universal collision prevention.

    Ethernet elementJob
    Synchronisation + startLocate the frame start.
    Destination/source addressesLink delivery interfaces.
    https://www.asksia.ai/cheatsheet/unimelb-comp90007 · Full COMP90007 study guide →
    Shared by ________
    Forward this to your tutorial groupv2 · 2026-10-25
    Semester 2 examination period, 2–20 November 2026.
    Check your exam instructions on the LMS for what you may bring; use this sheet to revise and self-test.
    COMP90007
    Internet Technologies
    The University of Melbourne · Computer Science · Graduate coursework
    COMP90007 cheatsheet QR code – open the full COMP90007 study guide
    Full guide + ask Sia about COMP90007
    SIDE 2/2   WORKED MINI-EXAMPLES · IF X → Y · CLASSIC TRAPS · EXAM-MORNING PLAN SELF-TEST DRILLS S2 2026 · answers follow the path

    13 · Drill: Link Delaycourse worked example

    Q. A 12,000-bit frame crosses a 2,000 km fibre link at 24 Mbit/s. Use propagation speed 200,000 km/s. Find transmission delay, propagation delay and stated one-way link latency.

    12,000 b 24 Mbit/s2,000 km at 200,000 km/s receive
    Serialisation and travel stay on separate lines.
    1. Normalise: 24 Mbit/s = 24,000,000 bit/s.
    2. Transmit: 12,000 ÷ 24,000,000 = 0.0005 s = 0.5 ms.
    3. Propagate: 2,000 ÷ 200,000 = 0.01 s = 10 ms.
    4. Add times: 0.5 + 10 = 10.5 ms, before processing or queueing.
    5. Interpret: distance dominates; increasing R changes only the smaller transmission term.
    AuditExpected unit
    bits ÷ bit/sseconds
    km ÷ km/sseconds
    sumsame time unit
    Trap → Do not divide distance by bit rate, add kilometres to milliseconds, or call every delay “bandwidth”.

    Reverse-check the answer

    CheckWhat the result should show
    DimensionsEach division independently ends in seconds.
    Dominance10 ms propagation is larger than 0.5 ms transmission.
    Rate sensitivityA higher rate can reduce 0.5 ms, not the 10 ms path term.
    Scope10.5 ms is the stated one-way link contribution before unsupplied processing or queueing.

    Answer sentence: “Transmission delay is 0.5 ms and propagation delay is 10 ms, giving 10.5 ms one way under the stated link model; propagation dominates.” This reports the arithmetic, units, scope and interpretation.

    When one input changes, recompute only its term, then rebuild the total.

    14 · If You See Delay…C2 FAQ

    Prompt evidenceDo
    frame length + rateL/R
    distance + signal speedd/s
    bothcalculate separately, then add
    rate riseschange tₜₓ only
    missing processing/queueing inputsdo not invent them

    Write-and-check order

    15 · Drill: Tighter CeilingC2 worked example

    Q. A 3 kHz channel uses four signal levels and has an independently calculated Shannon ceiling of 9 kbit/s. Find the Nyquist ceiling and controlling bound.

    channel inputs B + V → Nyquist B + S/N → Shannon same units → smaller
    Compute applicable ceilings; the smaller one binds.
    1. Four levels carry log₂4 = 2 bits/symbol.
    2. Nyquist: 2 × 3,000 × 2 = 12,000 bit/s.
    3. Shannon is given as 9,000 bit/s.
    4. Compare like units: min(12,000, 9,000) = 9 kbit/s.
    Answer pathlevels → bits/symbol → Nyquist; place beside Shannon; select the smaller; name the noisy-channel bound.
    Classic wrong moveCorrection
    12 + 9 or averageBoth are upper bounds; use min.
    Call 12 kbit/s throughputA ceiling is not achieved rate.
    Use V inside ShannonShannon uses received S/N, not selected levels.

    Assumption audit

    LineState explicitly
    RepresentationV=4 permits log₂4=2 bits per symbol.
    Noiseless boundNyquist uses B and V; here it permits 12 kbit/s.
    Noisy boundShannon ceiling is independently supplied as 9 kbit/s.
    ConclusionThe channel cannot exceed the tighter 9 kbit/s under the stated assumptions.

    Adding levels changes the Nyquist expression, but it does not overrule receiver uncertainty. Adding bandwidth changes both formulas when the corresponding assumptions still hold. A practical implementation may achieve less than either ceiling. A bound states what cannot be exceeded.

    Self-test → Cover the answer and say: “Which input belongs to which formula, what units emerge, and why is the minimum the only defensible conclusion?”

    16 · Signal JudgementsC2 P3–5

    If levels increase → more bits per symbol, but states become harder to distinguish. If asked about direction → simplex/half/full duplex. If asked how users share → time/frequency/statistical/code multiplexing. If supplied decibels, convert only when the question requires a linear S/N for Shannon.

    DistinctionSafe sentence
    bit vs symbolOne multilevel symbol can carry more than one bit.

    17 · Drill: Distance 5C3 worked example

    Q. A code has minimum Hamming distance five. State the maximum bit errors it guarantees to detect and correct.

    valid Avalid B5 flips between valid wordscorrect radius 2; detect through 4
    Distance 5: detect 4 errors or correct 2.
    1. Detection condition: 5 ≥ e + 1 → e ≤ 4.
    2. Therefore guarantee detection of up to four bit errors.
    3. Correction condition: 5 ≥ 2e + 1 → e ≤ 2.
    4. Therefore guarantee correction of up to two bit errors.
    ClaimInequalitydₘᵢₙ=5
    Detect edₘᵢₙ ≥ e+1e=4
    Correct edₘᵢₙ ≥ 2e+1e=2

    Trap → Distance five does not mean “five detectable” or “five correctable”. Write both inequalities before substituting.

    Why the guarantees differ

    For detection, fewer than five flips cannot reach another valid word. For correction, decoding regions must not overlap: radius two is safe because two plus two remains below distance five.

    Complete sentence: “Minimum distance five guarantees detection of four errors and correction of two in a codeword.”

    18 · Framing & CRC CardsC3 P1–3

    If you see…Do / say…
    reserved byte in payloadescape at sender; unescape at receiver.
    reserved bit patterninsert/remove the specified zero; preserve genuine data.
    generator degree rappend r zeros before modulo-two division.
    CRC subtractionuse XOR: no borrow or carry.
    non-zero receive remainderreport detected corruption, not repaired data.

    Checksum versus CRC: checksum uses arithmetic over fixed-width words and complements the sum; CRC treats bits algebraically and divides by a generator polynomial. Do not transfer the operation or guarantee of one to the other.

    Boundary diagnosis: corrupted length can desynchronise character counts; payload flags require stuffing; error-control redundancy is a separate layer of the answer.

    One receiver trace

    1. Locate the candidate frame boundary using the selected framing convention.

    19 · Drill: Hidden SendersC4 worked example

    Q. A and C cannot hear each other, but both can reach receiver B. Each senses idle and transmits to B. Explain the failure and how RTS/CTS changes available information.

    ABC A and C cannot sense each other CTS from B is heard near the receiver → defer
    Sender silence does not prove receiver safety.
    1. A and C are hidden from each other; local sensing cannot reveal the other transmission.
    2. Their frames overlap at B, where interference matters.
    3. A sender’s RTS asks B for permission; B’s CTS is heard by stations near B.
    4. A station hearing CTS defers, reducing hidden-terminal risk.
    5. State the trade-off: extra control frames; not universal collision prevention.
    JudgementEvidence to name
    Hiddensenders cannot hear each other; share receiver.
    Exposedsenders hear each other; receivers may not interfere.
    Safe?evaluate at intended receiver, not just sender.

    Each sender observes the wrong location. Draw sensing and receiver-interference relationships separately.

    Contrast → Hidden senders are over-confident after hearing silence; exposed senders may be over-cautious after hearing activity.

    20 · Access ChooserC4 P1–2

    If scenario says…Prioritise…
    regular demand, predictabilitystatic allocation; mention idle-share waste.
    bursty, sparse arrivalsdynamic contention; mention collision cost.
    listen before transmitCSMA; state persistence rule.
    abort on detected collisioncollision detection; check observability.
    high contentionreservation/limited contention; count coordination cost.

    Hold offered load, slotting, sensing and timing assumptions constant when comparing throughput claims; otherwise the scenario changed with the protocol.

    Recommendation sentence

    21 · Drill: Three RelationsC1 worked example

    Q. A browser requests a page over a wireless first hop. Distinguish application service, local interface and peer protocol.

    Application request Transport exchange Network packet Link frame Physical signal
    Wireless changes the hop, not the application.
    1. Service: capability requested by the browser, such as retrieving the named resource.
    2. Interface: local hand-off from application to transport, or transport to network.
    3. Protocol: coordination between corresponding transport entities, or wireless link entities on one hop.
    4. Boundary check: wireless changes the first hop; it does not make the Web a link protocol.
    One-line answerService = what the upper layer receives; interface = how adjacent local layers interact; protocol = how peers coordinate.

    Trap → The Web is an application over Internet infrastructure; it is not the Internet itself and not a property of every packet.

    Trace the same scenario

    ViewCorrect statement
    ApplicationBrowser requests the named resource; server constructs a reply.
    Local boundaryEach upper layer invokes the lower service through an interface.
    Peer relationCorresponding entities follow their protocol agreement.
    First hopWireless link entities frame and signal locally.
    End-to-end checkLower representation changes while the application meaning is carried.

    Scope test: broadcast, point-to-point or multicast says who can receive; bus, star, ring or mesh says how devices and links are arranged. Neither classification automatically names the peer protocol.

    Fault drill → Wrong name, missing route, damaged frame, noisy signal: explain only at application, network, link or physical respectively before discussing downstream effects.

    22 · Reliability ChooserC3 P4

    If you see…Reach for…
    bad bitsdetection/correction code
    silence after sendingtimeout + retransmit

    23 · Classic TrapsC1–C4 FAQ

    Tempting claimRepair
    “Star means switched.”Star is arrangement; centre behaviour determines repeated/switched traffic.
    “Faster rate removes latency.”It reduces L/R only; distance still sets d/s.
    “More levels always raise capacity.”Noise limits distinguishability; check Shannon.
    “CRC corrects the frame.”Here CRC detects corruption; recovery is separate.
    “ACK makes delivery reliable.”Loss needs timeout; repeats need sequence numbers.
    “Carrier idle means safe.”Wireless interference is evaluated at receiver.
    “Switching removes Ethernet framing.”It separates collision domains; frame/address/CRC functions remain.

    24 · 60-Second Methodstudy strategy

    classifyassumeapplyinterpretaudit answer mechanism—not neighbour
    Classify → assume → apply → interpret → audit.
    1. Classify: layer, object, failure or allocation question.
    2. Expose assumptions: units, load, synchronisation, sensing locality, duplex, buffer or error conditions.
    3. Apply: formula, inequality, protocol rule or comparison table.
    4. Interpret: name the binding term and the mechanism’s cost.
    5. Audit: units, direction, scope and whether the conclusion exceeds the evidence.

    25 · Exam-Morning PlanBRIEF · strategy

    PassSelf-test
    1 · Reciteservice/interface/protocol; L/R vs d/s; Nyquist vs Shannon; detect vs correct.
    2 · Redrawlayer trace; link clocks; CRC contract; hidden-terminal receiver view.
    3 · Rework10.5 ms; 9 kbit/s; d=5 → 4 detect/2 correct; RTS/CTS path.
    4 · ContrastGBN/SR; static/contention; hidden/exposed; hub/switch.
    5 · Verifycurrent exam instructions on the LMS.

    Stop when you can explain the choice, not merely name it. Every strong answer connects evidence → mechanism → limitation. Record the first mistaken distinction in a correction log; fixing that fork improves many later answers.

    Final check → For a numeric answer, show units and the controlling bound. For a protocol answer, state the failure it solves and the resource or overhead it spends.

    Last recall grid

    https://www.asksia.ai/cheatsheet/unimelb-comp90007 · Full COMP90007 study guide →
    Shared by ________
    Forward this to your tutorial groupv2 · 2026-10-25
    Semester 2 examination period, 2–20 November 2026.
    Check your exam instructions on the LMS for what you may bring; use this sheet to revise and self-test.

    Want one for YOUR exact syllabus?

    Sia is your free desktop study agent. Drop your University of Melbourne COMP90007 slides — Sia builds a sheet tailored to YOUR exam. Better than this library because it knows YOUR materials.

    ↓ Download Sia · Free