CSC 138 Exam 4 study hub
Interactive practice built from Module 4 slide decks (Decks 1 to 5), the Exam 4 study guide, and the Project 4 EdgePolicy.java code. Progress saves locally in your browser with no account required.
What is inside
Six tools covering every question format and topic on Exam 4.
Suggested study order
If you are starting fresh, work through these three passes in order.
Review formulas and protocol rules
Skim the 1-page reference sheet or flip through Flashcards by topic to lock in bit stuffing, 2D parity vs CRC, CSMA/CD backoff, 802.1D STP port roles, 802.1Q VLANs, and 802.11 Wi-Fi.
Drill Project 4 code assembly and traces
Solve all 5 Code Assembly pipelines and test traces in Packet Labs. Watch how Stage 1 deducts a token before 401/403/400 checks, why / 1000.0 avoids integer truncation, and how auth_denied counts both 401 and 403.
Take a closed-book mock exam
Complete Form A (18 questions), review explanations in the Missed filter, then test cold recall on Form B or generate a fresh Permuted exam.
Exam 4 overview
Logistics, question breakdown, and tested syllabus scope.
| Area | Format | Details |
|---|---|---|
| Schedule | Wed, Dec 2, 4:00-5:15 PM | Riverside Hall 1015, closed-book, permuted per student |
| Multiple choice | 18 questions | 12 standard 4-choice + 6 combinational True/False items |
| Code assembly | 2 questions | Order Project 4 Java blocks while avoiding near-duplicate traps |
| Module 4 scope | Decks 1-5 + Project 4 | Framing, CRC/parity, Ethernet, STP/VLANs, 802.11, edge security |
| Module 3 review | Carry-over concepts | Longest-prefix match, NAT, Dijkstra/DV, BGP policy, SDN |
Code assembly
EdgePolicy.java trace engine
Executes Stage 1 rate limit, Stage 2 auth and BOLA, and Stage 3 positive schema validation on trace lines.
| Seq | Time (ms) | Client IP | Bucket state | Request | Outcome |
|---|
802.1D Spanning Tree failover
Toggle physical links below to observe root path costs and RP, DP, and BLK port roles.
Learning switch MAC table
Topology: P1 holds A, P2 holds B, P3 connects a shared hub with C and E, and P4 holds D.
| MAC address | Port | State |
|---|
Per-IP token bucket stepper
Step arrival timestamps to inspect lazy refill, capacity clamping, and 429 retention.
| Time (ms) | Client IP | Elapsed | After refill | Decision | Remaining |
|---|
Ethernet frame padding and CSMA/CD window
Compute minimum 46-byte payload padding, copper 2-tau RTT window, and binary exponential backoff.
2D even parity localization and 4-bit defeat
Click any data bit in the 3x3 block to flip it, or load a preset error pattern.
Printable study documents
Formatted for iPad Apple Pencil practice and single-page rapid review. Exam 4 is closed-book.
iPad cold practice and solutions
40 pages (496 x 755 pt). 20 paired work and solution drills covering Module 4 Decks 1-5, Project 4 traces, and Module 3 carry-over.
One-page study reference
1 page (US Letter). Dense 3-column summary of formulas, STP/VLAN/802.11 comparisons, and the EdgePolicy.java pipeline.
| Component | Format | Key details |
|---|---|---|
| Exam 4 window | Wed, Dec 2, 4:00-5:15 PM | Riverside Hall 1015, closed-book, permuted per student |
| Multiple choice | 18 questions | 12 standard 4-choice items + 6 combinational statement items |
| Code assembly | 2 questions | Order Project 4 fragments while avoiding near-duplicate traps |
| Total points | 91 points | Same scoring structure as Exam 3 |