Guide · coding-prep
CS Fundamentals Interview Questions: How to Ace the Pop Quiz
OS, networking, and database trivia comes up in roughly a third of new-grad loops. The fastest fix is depth on six core topics: virtual memory, TCP, HTTP, SQL fundamentals, transactions, and big-O. You don't need to memorize every page of the textbook; you need to talk fluently for ninety seconds on the topic when asked.
By Sam K., Founder, InterviewChamp.AI · Last updated
TL;DR: You don't need the whole CS curriculum for a fundamentals pop quiz. Go deep on six topics: virtual memory, processes vs threads, TCP vs UDP, HTTP basics, SQL fundamentals (including ACID), and big-O. Practice explaining each one out loud in about 90 seconds, rehearse its most likely follow-up, and when a question lands outside your prep, reason from what you do know instead of bluffing.
How do you handle a pop quiz on CS fundamentals?#
Cover six high-value topics in depth instead of trying to cover everything in breadth. Those six are virtual memory, processes vs threads, TCP vs UDP, HTTP basics, SQL fundamentals (with ACID transactions), and big-O analysis. For each one, practice explaining it out loud in 90-120 seconds, then practice answering one common follow-up.
As of the 2026 hiring cycle, pop-quiz questions are graded on fluency and reasoning, not encyclopedic recall. A new grad who talks fluently in Python or Java beats one who memorized ten extra facts. You aren't trying to win a trivia contest. You're trying to explain things well in your own voice.
These rounds show up across the new-grad loop, whether the role leans toward a system design discussion or a straight coding screen. This page covers:
- The six topics and a cheat sheet
- A full question bank by topic
- A step-by-step walkthrough of the URL-loading question
- How to answer, what to do when you're stuck, and a two-week schedule
If you'd rather hear yourself explain virtual memory or the TCP handshake out loud before the real round, run a practice fundamentals quiz and rehearse the answer in your own words first. That way you walk in already knowing what landing the explanation feels like.
What a fundamentals pop quiz looks like in a real interview#
There's no editor and no problem statement. The interviewer asks a short conceptual question, you answer out loud, and then they push on whatever you said. Nobody asks you to implement a hash table. They ask you why it's fast and what makes it slow.
A pop quiz can show up as its own round. It can also be a handful of questions folded into a phone screen or a coding interview. Here are two exchanges you could realistically hit.
Exchange 1
- Interviewer: "What's the difference between a process and a thread?"
- You: "A process gets its own private memory. Threads live inside a process and share that memory, so switching between them is cheaper."
- Interviewer: "So what goes wrong when two threads share memory?"
Exchange 2
- Interviewer: "Why would you add an index to a table?"
- You: "To turn a full-table scan into a fast lookup on that column. It's usually a B-tree under the hood."
- Interviewer: "When would you skip it?"
Notice the pattern. The first question is easy. The follow-up is where the interviewer learns something about you, which is why every topic on this page comes paired with its likely follow-up.
What interviewers are testing#
The pop quiz on CS fundamentals isn't checking whether you memorized your operating systems textbook. It's testing three things:
- Did you learn this stuff for real, or did you cram it for the final and forget it the next semester? Direct definition questions ("What is virtual memory?") check this.
- Can you reason about systems? In other words, can you connect the textbook concept to a real-world consequence? Follow-ups like "What does a page fault cost?" check this one.
- Can you communicate technically? Can you explain a concept in plain terms to someone who already knows it? Every question checks this, honestly, because every answer is spoken.
The third one matters most. A candidate who explains the TCP three-way handshake confidently in 90 seconds beats a candidate who can recite ten extra details but stumbles through the explanation.
According to NACE employer surveys, "communication of technical concepts" ranks as the top-cited weakness in new-grad CS candidates, ahead of coding ability and ahead of theoretical knowledge. Pop-quiz rounds are partly screening for this skill.
The six topics that come up most#
If you only prepare six fundamentals topics, prepare these. They cover roughly 70% of pop-quiz questions in new-grad CS loops. Everything else (caching, file systems, compilers, formal language theory) is upside, not foundation.
1. Virtual memory and paging
Know what it does, why it exists, and what happens on a page fault. A page fault is the event that fires when a program touches a virtual address whose data isn't currently in RAM, so the OS has to fetch it from disk.
The follow-up: "What's the cost of swapping to disk?"
2. Processes vs threads
Know the memory model difference, the context-switch cost, and when you'd use each. A process is an isolated program with its own private memory space. A thread is a unit of execution that shares its process's memory with sibling threads.
The follow-up: "What's a race condition and how do you prevent one?" This topic is your doorway into concurrency, so the question bank below gives it its own section.
3. TCP vs UDP
Know when to use each, the three-way handshake, and how TCP handles packet loss. TCP is the connection-oriented transport protocol that guarantees ordered, reliable delivery. UDP is the connectionless protocol that gives up those guarantees for lower latency.
The follow-up: "Why does HTTP run over TCP?"
4. HTTP basics
Know the common verbs, the status code categories, and what happens between typing a URL and the page rendering. That last one gets its own walkthrough further down because it pulls in almost every other topic.
The follow-up: "What's the difference between HTTP and HTTPS?"
5. SQL fundamentals
Know JOIN types, indexing, what makes a query slow, and ACID transactions. An index is an auxiliary data structure (usually a B-tree) that speeds up reads on a column at the cost of slower writes and extra storage.
The follow-up: "When would you NOT add an index?"
6. Big-O analysis
Know time vs space, the common complexity classes, and how to analyze nested loops and recursion.
The follow-up: "What's amortized analysis and when does it matter?" If counting loops and stating the dominant term still feels shaky, work through our companion guide on how to explain time complexity in an interview until the cost claim comes out clean.
Get these six down and you'll handle the bulk of fundamentals questions with confidence.
CS fundamentals cheat sheet: the six topics at a glance#
This table is the fast-reference version of the six. Use it the morning of a technical round to confirm you can hit each one-line answer and its most common follow-up.
| Fundamentals topic | One-line answer to lead with | Concept to know cold | Most common follow-up | Prep priority | |---|---|---|---|---| | Virtual memory | "Each process sees a private, contiguous address space backed by page tables." | Page faults | "What does a page fault cost?" | High | | Processes vs threads | "Processes isolate memory; threads share it and context-switch cheaper." | Race conditions | "What's a race condition?" | High | | TCP vs UDP | "TCP is reliable and ordered, UDP is fast and best-effort." | The three-way handshake | "Why does HTTP run over TCP?" | High | | HTTP basics | "Stateless request/response over TCP, with verbs and status-code classes." | Status code categories | "HTTP vs HTTPS?" | Medium | | SQL fundamentals | "JOINs combine tables, and indexes trade write speed for read speed." | The index trade-off | "When would you NOT index?" | Medium | | Big-O analysis | "Count the loops, multiply nested work, keep the dominant term." | The dominant term | "What's amortized analysis?" | High |
How to read it: the High-priority rows for virtual memory, threads and big-O show up across nearly every kind of new-grad loop, so drill those first. TCP vs UDP is also marked High. The Medium rows are still worth a pass but skew toward backend, infra, and data roles.
Common CS fundamentals interview questions by topic#
Below is a question bank in our own words, grouped by topic. Each question has a short hint about what a good answer covers. Don't memorize the hints word for word. Use them to check whether your spoken answer hit the main idea.
Data structures
Most data structure questions in a pop quiz are "why would you pick this one?" questions in disguise. Expect trade-offs, not code.
Arrays
- Why is reading by index fast in an array, while inserting in the middle is slow? Hint: contiguous memory gives direct access, but an insert shifts every element after it.
- What happens when a dynamic array (a Python list or a Java ArrayList) runs out of room? Hint: it allocates a bigger block and copies everything over, which is the classic setup for amortized analysis.
Stacks and queues
- When would you use a stack instead of a queue? Hint: last-in-first-out for things like undo or the call stack, first-in-first-out for task queues and BFS.
- How would you build a queue out of two stacks? Hint: push onto one stack, pop from the other, and move items over only when the pop side is empty.
Linked lists
- When is a linked list a better pick than an array? Hint: cheap inserts and deletes once you hold a pointer to the node, but no random access and worse cache behavior.
- How do you detect a cycle in a linked list? Hint: a slow pointer and a fast pointer will eventually meet if there's a loop.
Hash tables
- How does a hash table get near-constant-time lookups, and what can break that? Hint: the hash picks a bucket, but collisions, a bad hash function or a table that never resizes all slow it down.
- How are collisions handled? Hint: chaining (a list per bucket) or open addressing (probe for the next free slot).
Trees
- What's the difference between a binary tree and a binary search tree? Hint: a BST keeps smaller values on the left and larger on the right, which only helps if the tree stays balanced.
- Why do databases usually use B-trees for indexes? Hint: wide nodes keep the tree shallow, so a lookup touches fewer pages. This ties straight back to the SQL topic.
Tries
- When would you use a trie instead of a hash table? Hint: prefix lookups, like autocomplete, where you care about every word starting with "inter".
Graphs
- How would you store a graph in memory, and how do you choose? Hint: adjacency list for sparse graphs, adjacency matrix when the graph is dense or you need fast edge checks.
Algorithms and complexity
- What's the big-O of this nested loop? Hint: count the loops, multiply the nested work, keep the dominant term.
- Compare merge sort and quicksort. Hint: merge sort is stable with a guaranteed n log n but needs extra memory, while quicksort sorts in place and degrades to quadratic time with bad pivots.
- BFS or DFS: when do you pick each? Hint: BFS uses a queue and finds shortest paths in unweighted graphs, DFS uses a stack or recursion and goes deep first.
- Recursion vs iteration: what's the trade-off? Hint: recursion is often easier to read, but every call adds a stack frame, so deep recursion can overflow the stack.
- What's amortized analysis, and when does it matter? Hint: the average cost per operation over a whole sequence, like appending to a dynamic array that only occasionally resizes.
- What's the space complexity of a recursive function? Hint: at minimum, the maximum depth of the call stack.
Operating systems
- What is virtual memory, and why does it exist? Hint: private address spaces per process, plus the ability to use more memory than the machine physically has.
- What happens on a page fault? Hint: the OS traps, finds the page, loads it from disk if needed, updates the page table and resumes the program.
- What's the difference between a process and a thread? Hint: isolated memory vs shared memory, and the cost of switching between them.
- What is a context switch, and why isn't it free? Hint: the OS saves and restores registers and state, and switching processes also means switching address spaces and losing warm caches.
- How does the OS decide what runs next? Hint: the scheduler, time slices, priorities, and a simple policy like round robin as an example.
- What's the difference between the stack and the heap? Hint: the stack holds function call frames and is per thread, the heap holds dynamically allocated memory shared across the process.
Concurrency
Concurrency isn't one of the six on its own, but it hangs off the processes vs threads follow-up. So it comes up a lot.
- What's a race condition, and how do you prevent one? Hint: the result depends on thread timing, and the fix is mutual exclusion or not sharing mutable state.
- Mutex vs semaphore? Hint: a mutex lets one thread in at a time and is owned by whoever locked it, while a semaphore is a counter that can let a set number of threads through.
- What causes a deadlock, and how would you avoid one? Hint: threads each hold a lock while waiting on a lock another thread holds, in a cycle. Always acquiring locks in the same order breaks the cycle.
- What does "thread-safe" mean? Hint: the code behaves correctly when called from multiple threads at once, without the caller adding locks.
- What's the difference between concurrency and parallelism? Hint: concurrency is dealing with many tasks by interleaving them, while parallelism is running them at the same moment on separate cores.
Networking
- TCP vs UDP: give a use case for each. Hint: TCP for anything that needs every byte in order, like web pages, and UDP where speed beats completeness, like live video.
- Walk me through the three-way handshake. Hint: SYN, SYN-ACK, ACK, and why both sides need to agree on starting sequence numbers.
- How does TCP deal with a lost packet? Hint: sequence numbers, acknowledgments, and retransmission when an ACK doesn't arrive in time.
- What does DNS do? Hint: it turns a domain name into an IP address, with caching at several levels.
- What's the difference between HTTP and HTTPS? Hint: HTTPS wraps HTTP in TLS, so traffic is encrypted and the server proves its identity with a certificate.
- What do the status code categories tell you? Hint: success, redirect, client error and server error each have their own class.
- HTTP is stateless, so how does a site remember you're logged in? Hint: cookies, sessions or tokens sent with each request.
- Where does TCP sit in the networking layers? Hint: the transport layer, below application protocols like HTTP and above IP.
Databases
- Explain the main JOIN types. Hint: inner, left, right and full outer, and what happens to rows that don't match.
- What does an index do, and when would you NOT add one? Hint: faster reads in exchange for slower writes and extra storage, so skip it on write-heavy tables or columns you rarely filter on.
- Walk through ACID using a bank transfer. Hint: the whole transfer commits or none of it does, balances stay valid, concurrent transfers don't see each other's half-done work, and a committed transfer survives a crash.
- What is normalization, and why might you denormalize? Hint: splitting data so each fact lives in one place, and copying some of it back when joins get too expensive for reads.
- What makes a query slow? Hint: full-table scans from a missing index, pulling far more rows than needed, or firing one query per row inside a loop.
- SQL vs NoSQL: how do you choose? Hint: fixed schemas and joins vs flexible documents and simpler horizontal scaling, plus what consistency the app needs.
The question that touches every topic: loading a URL#
Ask engineers to name the most famous fundamentals question and plenty will point to this one. It belongs to the HTTP basics topic, and interviewers like it because one answer can show networking, OS and database knowledge all at once. Here's the full walkthrough, with the topic for each step:
- DNS lookup (networking). The browser needs an IP address for the domain. It checks local caches first, then asks a DNS resolver.
- TCP connection (networking). The browser opens a TCP connection to that IP with the three-way handshake: SYN, SYN-ACK, ACK.
- TLS handshake (networking). For HTTPS, the client and server set up encryption, and the server proves its identity with a certificate.
- HTTP request (networking). The browser sends something like a GET request with headers and cookies.
- Server handles it (operating systems). A process or thread on the server picks up the request. This is a natural place to mention threads sharing memory, or a context switch.
- Data lookup (databases). The app probably queries a database. An index on the right column is the difference between a fast lookup and a full-table scan.
- HTTP response (networking). The server sends back a status code and the body.
- Rendering (browser). The browser parses the HTML, fetches CSS, JavaScript and images (often more requests), and paints the page.
The 90-second version
You won't always have time for all eight steps. A tight spoken version sounds something like this:
"First the browser resolves the domain to an IP through DNS. Then it opens a TCP connection with the three-way handshake, and for HTTPS it sets up TLS on top. It sends an HTTP request, the server handles it in a process or thread and probably hits a database, and it sends back a response with a status code. The browser then parses the HTML, fetches whatever else the page needs, and renders it."
Then stop. Let the interviewer pick which step to zoom into. That's usually where the real question is anyway.
The 90-second explanation drill#
For each of the six topics, practice this drill:
- Define it in one sentence. "Virtual memory is the abstraction that lets each process see a private, contiguous address space, regardless of what's physically in RAM."
- Say why it exists in one sentence. "It exists so multiple programs can run without stepping on each other's memory and so programs can use more memory than the machine physically has."
- Give one concrete mechanism in two sentences. "The OS maintains page tables that map virtual addresses to physical ones. When a program accesses a virtual address that's not in RAM, a page fault triggers the OS to load it from disk."
- Name one tradeoff in one sentence. "Page faults are expensive (disk access is roughly 100,000x slower than RAM), so heavy swapping kills performance."
That's roughly ninety seconds. Practice each topic until you can deliver it fluently without notes.
Worked example: "What's the difference between TCP and UDP?"
Here's the same drill applied to a question from the bank above.
- Define it. "TCP and UDP are both transport protocols, but TCP guarantees ordered, reliable delivery and UDP doesn't."
- Why it exists. "Some apps need every byte in the right order, like loading a web page, while others would rather drop a packet than wait for it, like a live video call."
- Mechanism. "TCP opens a connection with a three-way handshake, then numbers every segment so the receiver can acknowledge it. If an acknowledgment doesn't come back, the sender retransmits."
- Tradeoff. "All that bookkeeping adds latency, which is exactly why UDP exists."
Short answer, clean structure. It also sets up the follow-up ("Why does HTTP run over TCP?") so well that you've mostly answered it already.
The "I don't know" recovery move#
You will hit a topic you don't know. The recovery move:
- Say so. "I haven't worked with that directly."
- Reason from adjacent knowledge. "Based on the name and what I know about [related concept], I'd guess it works like X..."
- Frame it as a hypothesis. "...but I'd want to verify that. Can you tell me if I'm on the right track?"
This shows the three things they're testing (honesty, reasoning, and communication) without pretending you know something you don't. Bluffing is the fastest way to lose a fundamentals round, and reasoning under uncertainty is one of the fastest ways to win one.
Example: "What's a Bloom filter?"
Say you've never touched one. The move might sound like this:
"I haven't worked with a Bloom filter directly. From the name and what I know about hash tables, I'd guess it hashes items into some kind of bit array to answer 'have I seen this before?' cheaply, maybe with some chance of being wrong in exchange for using less memory. But I'd want to check that. Am I on the right track?"
Even if a detail is off, you've shown real reasoning from something concrete. That beats a confident wrong answer every time.
The same move works on coding rounds too. See how to handle "I don't know" in an interview and how to handle a coding problem you've never seen for the full recovery scripts.
How deep to go for a new grad role#
For a new grad, the target depth is the 90-second drill: a definition, a reason it exists, one mechanism and one tradeoff. Add one follow-up you can handle without freezing. Most new grads don't need to go further than that on any of the six.
Going deeper on topics outside the six is upside, not foundation. Distributed systems is the most obvious example. You don't need to design a consistency protocol from memory for most new-grad loops.
There's one exception worth taking seriously. If the job description mentions distributed systems, performance, or infrastructure, prep heavier. The section on companies below covers which kinds of teams that usually means.
The drill schedule#
If you only have an hour
Interview tomorrow and no time for the full plan? Split one hour into two 30-minute blocks.
- First 30 minutes: go down the cheat sheet table. Say each one-line answer out loud, then answer its follow-up. Mark any row where you stumble.
- Second 30 minutes: run the full 90-second drill on the rows you marked, starting with the High-priority ones. Then do the 90-second URL answer once out loud.
It's not a substitute for real prep. It'll still make you noticeably smoother than reading notes silently on the train.
The two-week plan
Week 1: depth on the six. One topic per day, 30 minutes each. Read the canonical source (an OS textbook chapter for virtual memory, an RFC for TCP, a SQL tutorial for indexes), then practice the 90-second explanation drill out loud three times.
Week 2: breadth and follow-ups. Add lighter coverage of caching, concurrency, networking layers, and database normalization. Practice the follow-up questions from the question bank above. Do mock pop quizzes with a friend, or record yourself.
Two weeks of focused prep is enough to handle nearly any new-grad pop quiz comfortably. Five weeks of unfocused cramming often produces less.
How to practice out loud#
The single biggest upgrade for fundamentals prep is talking through topics out loud instead of silently reading. Why:
- Pop-quiz answers are graded on verbal fluency, not internal understanding.
- You find out what you understand vs what you just recognize when you have to produce sentences in real time.
- It surfaces the awkward transitions where you know the concept but can't explain it in order.
Record yourself answering each topic on day one of prep. Listen back. You'll cringe. Re-record on day three and you'll cringe less. By day seven you'll sound like a candidate who knows their stuff.
I'd record the TCP handshake first, by the way. It's the one people think they know and then describe out of order on the second clause, every time.
When the question is outside the six#
If the pop quiz lands on a topic outside your prepared list, fall back to the structural answer:
- Acknowledge specifically what you know and don't know. "I haven't used [specific tool], but I have a working understanding of [adjacent concept]."
- Reason in public. Walk through the question step by step.
- Ask one clarifying question if the question is ambiguous.
- Land on a defensible answer, even if it's hedged.
The interviewer isn't looking for a perfect answer to a question outside your background. They're looking for how you behave when you don't immediately know the answer. The behavior is the signal.
Reasoning out loud is a trainable skill on its own. Our guide on how to think aloud during a coding interview breaks down the cadence, and the broader CS new grad interview loop walkthrough shows where the fundamentals round usually sits in the day.
Distributed systems questions
These show up more at infra and database teams. A few you might hear:
- What does it mean for a system to be "eventually consistent"?
- Why would you put a cache in front of a database, and what can go wrong?
- What happens if one server in a cluster stops responding?
Use the recovery move here. You can get surprisingly far by reasoning from what you know about databases, caching and networking. For example, cache problems usually come down to stale data, which you can talk through without ever having run a cluster.
Language-specific questions (pick your stack)
Some interviewers ask about the language on your resume. So pick the one you're strongest in and know how it handles memory and concurrency. Examples:
- In Java: how does garbage collection decide what to free?
- In Python: why don't threads speed up CPU-heavy code in the standard interpreter?
- In any language: what's the difference between passing by value and passing by reference?
If you're unsure, say which part you know and reason toward the rest. It's the same move as above.
Companies where this matters more#
Pop-quiz fundamentals come up more often at:
- Quant finance and HFT firms (heavy on networking, OS, low-level memory)
- Database and infra companies (heavy on SQL, distributed systems, consistency)
- Embedded systems and OS-level roles (obvious)
- Security-focused companies (cryptography, networking, OS)
- Some legacy enterprise CS interview loops (just by tradition)
They come up less often at:
- Pure frontend and product roles
- Startup full-stack roles (more practical, less theoretical)
- ML and data-science new-grad roles (more focus on math and ML-specific topics)
Per the Levels.fyi blog interview reports, candidates can usually predict whether a fundamentals round will appear by reading the team description and the JD carefully. If the role mentions distributed systems, performance, or infrastructure, prep heavier. For where this round fits alongside the coding screen, our coding interview cheat sheet and technical phone screen tactics for CS new grads cover the rest of the day.
Frequently asked questions#
How long does it take to review CS fundamentals before an interview?
Two weeks of focused prep is enough to handle nearly any new-grad pop quiz comfortably. Spend week one going deep on the six topics, then use week two for breadth and follow-ups. If you only have an hour, use the cheat sheet and the 90-second drill on your weakest rows.
Do new grads get asked operating systems questions?
Yes. Virtual memory and processes vs threads are two of the High-priority rows on the cheat sheet, and they show up across nearly every kind of new-grad loop. Expect a definition question followed by something like "What does a page fault cost?" or "What's a race condition?"
Are fundamentals questions harder than coding questions?
They're different more than harder. Nobody asks you to write code. They ask you to explain a concept, and you're graded on fluency and reasoning. That's why practicing out loud matters so much more here than rereading notes.
What if I never took a networking or OS course?
Start with the canonical sources from the drill schedule: an OS textbook chapter for virtual memory and an RFC for TCP. Then run the 90-second drill on each topic until you can say it without notes. In the interview itself, the "I don't know" recovery move covers you on anything you didn't get to.
Key terms#
A quick glossary of the fundamentals vocabulary that shows up most in pop-quiz rounds. Knowing the precise one-line definition is half the battle. Being able to say it fluently is the other half.
Virtual memory: The OS abstraction that gives each process a private, contiguous address space mapped to physical RAM (or disk) through page tables. It's the classic POSIX-style mechanism behind "why doesn't program A clobber program B's memory?"
Page fault: The trap that fires when a process accesses a virtual page not currently resident in RAM, prompting the OS to load it from disk. A minor fault hits a page already in memory. A major fault requires a disk read, which is roughly 100,000x slower than RAM.
Process vs thread: A process owns an isolated memory space. Threads live inside a process and share its heap while keeping separate stacks. Threads context-switch more cheaply but expose you to race conditions.
Context switch: The OS saving one task's state and loading another's so the CPU can run something else. Switching between processes costs more than switching between threads in the same process.
Race condition: A bug where the outcome depends on the unpredictable timing of two or more threads touching shared state. The standard fixes are mutual exclusion (a mutex or lock) and avoiding shared mutable state altogether.
Deadlock: A state where threads are stuck forever because each one holds a lock another one is waiting for. Acquiring locks in a consistent order is the usual way to prevent it.
Semaphore: A synchronization counter that lets a limited number of threads into a section at once. A mutex behaves like a semaphore that only lets one thread in.
TCP three-way handshake: The SYN, SYN-ACK, ACK exchange that opens a reliable TCP connection, specified in RFC 793. It's the standard "explain TCP" follow-up, and it's why HTTP (which needs ordered, lossless delivery) runs over TCP rather than UDP.
DNS: The system that translates a domain name into an IP address. It's the first step when you walk through loading a URL.
ACID: Atomicity, Consistency, Isolation, Durability, the four guarantees a relational database transaction provides. Be ready to give a one-line example of each. "Atomicity means the whole transfer commits or none of it does" is the kind of answer that lands.
Database index: An auxiliary structure, usually a B-tree, that turns a full-table scan into a fast lookup on a column. The trade-off of slower writes and extra storage is exactly the "when would you NOT add an index?" follow-up.
Normalization: Organizing tables so each fact is stored in one place, which avoids update mistakes. Denormalizing copies some data back to make reads faster.
Hash table: A structure that maps keys to buckets with a hash function for near-constant-time lookups. Collisions and resizing are the two things interviewers usually ask about.
Trie: A tree where each edge is a character, so every word sharing a prefix shares a path. It's the go-to structure for autocomplete and prefix search.
Big-O notation: The upper-bound description of how an algorithm's time or space grows with input size. Interviewers grade whether you can justify the dominant term, not whether you can recite a table.
For a candidate hundreds of applications deep into the 2026 cycle and still chasing the offer that ends the search, the win condition here isn't memorizing this glossary. It's walking into the room able to say each answer in your own voice. If you want to rehearse the full fundamentals round and hear your explanations graded before it counts, see how live coaching turns a shaky pop quiz into a confident one, the same approach that starts free (60 minutes a month, no card), with Pro at $29 a month.
About the author: Sam K. is the founder of InterviewChamp.AI and writes about the modern tech interview from the inside: what changed, what works for new grads, and where the old playbook fails.
Originally published on InterviewChamp.AI
Frequently asked questions
- How common are CS fundamentals questions in new-grad interviews?
- Roughly 30-40% of new-grad loops include at least one fundamentals question, typically in the technical-discussion round. They're far less common at top product companies, more common at finance, infra, and systems-heavy companies.
- Do I need to memorize the OSI model?
- Know the layers and what each one does at a high level. Memorizing which protocol lives at which layer isn't useful unless you're interviewing for networking-specific roles. Focus on practical understanding over rote memorization.
- What's the most-asked OS topic?
- Virtual memory and processes vs threads. Be able to explain what virtual memory does, why it exists, and the difference between a process and a thread in two minutes each. Those two cover roughly half of all OS pop-quizzes.
- What if I genuinely don't know the answer?
- Say so, then reason. 'I haven't worked with that specifically, but based on the name and what I know about adjacent concepts, my guess would be X because Y' shows reasoning under uncertainty, which is what they're really testing.
- Are these questions still relevant in 2026 interview loops?
- Yes, especially at companies with infrastructure, systems, or distributed-systems work. They're less emphasized at pure product or frontend-focused teams. Always check the team description before deciding how much to prep.
- What CS fundamentals questions get asked most in coding interviews?
- The recurring set is virtual memory and paging, processes vs threads, TCP vs UDP, HTTP verbs and status codes, SQL JOINs and indexing, and big-O time and space analysis. Across new-grad loops in the 2026 hiring cycle, those six topics account for roughly 70 percent of fundamentals pop-quiz questions. Prep them in depth before adding breadth on caching, file systems, or concurrency.
- How do I prepare for an operating systems pop quiz fast?
- Spend 30 minutes each on virtual memory, processes vs threads, and one synchronization concept (locks or race conditions). For each, practice a 90-second out-loud explanation: define it, say why it exists, give one mechanism, name one tradeoff. Virtual memory and processes-vs-threads alone cover about half of all OS pop-quizzes, so a focused two- or three-day pass beats a week of unfocused textbook reading.
- Is it better to memorize CS fundamentals or understand them for interviews?
- Understand them. Pop-quiz rounds grade fluency and reasoning, not recall. A candidate who explains the TCP three-way handshake confidently in 90 seconds beats one who recites ten extra facts but stumbles through the explanation. Memorize only the small anchors (page-fault cost, ACID's four letters, common big-O classes) and build the rest from understanding you can talk through.