Microsoft interview prep · updated Oct 2026

Microsoft Fresher Interview Questions

Fresher 8 questions

Microsoft makes the Windows operating system, the Office tools such as Word, Excel and Outlook, the Teams meeting app, the Azure cloud and the Xbox console. Much of this software has been used for decades, so a fresher must respect what people already rely on. Prepare to explain basics such as memory, stacks and graphs inside familiar tools, and to tell stories about learning quickly and changing code carefully. What to show here: solid basics and care for what users already rely on. Each question below has what the interviewer is checking, an answer frame and a sample spoken answer to adapt.

Technical

1. In a spreadsheet, a cell's formula can depend on other cells, which depend on others. When one value changes, how would you decide the order in which to recalculate, and how do you catch a circular reference?

What they are checking
Checks whether you can see a dependency graph in a familiar product and apply a topological order and cycle detection.
Answer frame
  1. Model cells as nodes and dependencies as directed edges.
  2. Recalculate in topological order, only the cells affected.
  3. Detect a cycle during the ordering.
  4. Explain what the user should see for a cycle.
Sample spoken answer

“I would treat each cell as a node in a directed graph, with an edge from a cell to every cell whose formula uses it. When a value changes, only the cells reachable from it need work, and they must be done in topological order, so a cell is computed after everything it depends on. A depth-first search that records when each node is finished gives that order. If the search reaches a node that is still on the current path, there is a cycle, which is a circular reference. In that case I would stop, mark the cells involved and show the user a clear message rather than loop forever.”

Red flag to avoid

Weak answers recalculate every cell in the sheet, or cannot say how a circular reference would be noticed.

Technical

2. How would you implement undo and redo in a document editor, so that a person can step backwards through many changes and forwards again?

What they are checking
Checks whether you can use stacks for a real feature and think about memory and grouping small edits.
Answer frame
  1. Keep two stacks: one for undo and one for redo.
  2. Store each change as an operation with enough detail to reverse it.
  3. Clear the redo stack when a new edit is made.
  4. Group letters into words and limit the history size.
Sample spoken answer

“I would keep two stacks. Every edit is stored as a small operation, such as insert this text at this position, with enough detail to reverse it. Doing an edit pushes it onto the undo stack. Undo pops it, reverses it and pushes it onto the redo stack. Redo does the opposite. When the user makes a fresh edit after undoing, the redo stack is cleared, because those futures no longer apply. Storing every single key press would make undo tedious, so I would group letters typed quickly into one operation. I would also cap the history so memory does not grow without limit.”

Red flag to avoid

Weak answers save a full copy of the document after every key press, or forget to clear redo after a new edit.

Technical

3. A person edits the same file on a laptop and a phone while both are offline. When they reconnect, the cloud folder sees two versions. What should happen?

What they are checking
Checks whether you can reason about sync conflicts and choose a safe behaviour over a clever one.
Answer frame
  1. Explain why last writer wins can lose work.
  2. Detect the conflict using a version number or hash.
  3. Keep both versions and tell the user, or merge when the format allows.
  4. Describe the user experience.
Sample spoken answer

“The worst outcome is quietly losing someone's work, so I would not let the last upload win. Each device records the version it started from. When both upload with the same starting version, the server knows there is a conflict. For plain text a merge may be possible, but for most files the safe choice is to keep both: save the second one with a name that says it is a conflicted copy from that device, and notify the user on both devices. They can then compare and choose. If only one device changed the file, there is no conflict and the newer version simply replaces the older one.”

Red flag to avoid

Weak answers keep the newer file and discard the other, or assume conflicts are too rare to handle.

Technical

4. Several programs on a computer together ask for more memory than the machine has. Explain what the operating system does, and why the computer becomes slow rather than crashing.

What they are checking
Checks your understanding of virtual memory and paging, explained simply.
Answer frame
  1. Explain that each program sees its own virtual address space.
  2. Describe pages and how they map to physical memory.
  3. Explain swapping pages to disk when memory is short.
  4. Say why heavy swapping makes everything slow.
Sample spoken answer

“Each program is given its own virtual address space, so it thinks it has the whole memory to itself. The operating system splits memory into pages and keeps a table mapping each program's virtual pages to real physical pages. When physical memory runs out, the system moves pages that have not been used recently to a file on disk. If a program touches such a page, a page fault happens, and the system brings it back, possibly moving another page out. Disk is far slower than memory, so when many programs keep needing pages that are on disk, the machine spends most of its time swapping, and everything crawls.”

Red flag to avoid

Weak answers say the programs crash when memory runs out, or cannot explain why slowness follows.

Behavioral

5. Software used for many years has users who depend on the smallest habit. Tell me about a time you changed something in a project and someone relied on the old way. What did you do?

What they are checking
Checks whether you think about existing users when changing behaviour, and how you handle it when you miss one.
Answer frame
  1. Describe the change and who relied on the old way.
  2. Explain how you found out.
  3. Show what you did to fix or ease it.
  4. Say how your approach to changes moved.
Sample spoken answer

“In your project, a timetable tool used by my college department, I changed the export from a plain text file to a formatted spreadsheet because it looked nicer. A week later a staff member told me her script that read the old file had stopped working. I had never thought anyone processed the file. I apologised, brought the old export back as a second option, and kept the new one as the default. Then I asked the other users how they used exports before touching it again. Since then I list who uses a feature before I change it, and I keep old behaviour available for a while.”

Red flag to avoid

Weak answers dismiss the affected person as an unusual case, or never mention checking who relies on a behaviour.

Behavioral

6. Tell me about a time you had to learn a tool or technology from scratch to finish a project, such as a new language or a cloud service.

What they are checking
Checks how you learn on your own, whether you ask for help at the right time, and whether you can deliver while learning.
Answer frame
  1. Describe what you needed to learn and why.
  2. Explain how you started and what resources you used.
  3. Show how you applied it quickly on the real task.
  4. Share the result and what stuck with you.
Sample spoken answer

“During an internship on your project, I was asked to host our web app on a cloud service, which I had never used. I gave myself two days to learn only what the task needed: hosting the app, a database and a way to deploy. I followed the official beginner guides, built a tiny test app first, and kept a notes file of every command. When I got stuck on permissions, I asked a senior engineer a precise question instead of a vague one. The app was live within the week and your result. I learned to learn the smallest useful part first.”

Red flag to avoid

Weak answers describe reading for weeks without building anything, or never asking anyone for help.

Scenario

7. Your bug fix works on your machine, but a tester says it fails on an older laptop with less memory and an earlier system version. What do you do?

What they are checking
Checks whether you take the report seriously and can find differences between environments without blaming the tester.
Answer frame
  1. Get exact details: version, error message, steps.
  2. Reproduce on a similar setup or virtual machine.
  3. Look at differences: memory, versions, libraries, settings.
  4. Fix, test on both setups and note the lesson.
Sample spoken answer

“I would start by believing the tester and asking for exact details: the system version, memory, the error text and the steps. Then I would try to reproduce on a similar setup, using a virtual machine with the older version if I do not have the laptop. Common causes are a library that behaves differently on the older version, a feature that does not exist there, or my fix using more memory than a small machine has. Once I find it, I fix it in a way that works on both, test on both and add the older setup to my checklist. Works on my machine is not finished.”

Red flag to avoid

Weak answers argue that the tester is wrong, or add a special case without understanding the difference.

Why this company

8. Microsoft's software is used at work and at home by people who have relied on it for years. Why do you want to start your career on products like that?

What they are checking
Checks whether you understand what it means to work on long-lived, widely used software, and whether you want it.
Answer frame
  1. Say what interests you about long-lived software.
  2. Link it to a product you have used.
  3. Give a college example.
  4. Say what you hope to learn.
Sample spoken answer

“I am interested in software that has to keep working for people for years, not just impress them once. I have used Word and Excel since school, and I have seen features change while my old files still open. I want to learn how that is done. In your project, I had to keep old data files working after I changed the format, and I found the problem harder and more interesting than adding new features. I would like to work on tools that people rely on for their work, and learn from engineers who have kept software dependable through many versions.”

Red flag to avoid

Weak answers talk about the company being famous or safe, and show no interest in how the software is kept working.

Salary questions come last

No figures on this page: pay depends on the level, the city and the offer in front of you. When the offer comes, the free salary negotiation script helps with that part.

For the call itself

The questions above are the prep. On the real call, ClapAssist helps with the ones you did not practice.

ClapAssist is an AI interview assistant for Mac and Windows. It listens to the interview on your computer and shows you what to say, in short lines you can read while you talk. Your live interview audio and screen are never stored. Your resume and notes are saved to your account so the app fills them in on any computer. It is hidden from screen share on every plan, including Free; only you can see it.

Download with 10 free minutes
Mac and Windows · Stays out of screen share · No card