InterviewHub InterviewHub
Company Hiring Prep • 34+ Questions

Microsoft Interview Questions & Answers

Global leader in software, cloud, and productivity. Review key questions below or open the full interactive deck with code examples, bookmarks, and personal study notes.

Top Microsoft Interview Questions Preview

1. About Microsoft

Founded in 1975 and headquartered in Redmond, Washington, Microsoft is currently led by CEO Satya Nadella. It is an American multinational technology corporation which produces computer software, consumer electronics, personal computers, and related services.

2. Why Microsoft?

Microsoft's mission to empower every person and organization to achieve more aligns with my own desire to build impactful software. I want to work on the cloud and productivity tools that form the backbone of modern business.

3. What is package?

Package groups many modules. Contains init file often. Improves project structure. code Python print("Package concept")

print("Package concept")

4. What is self keyword?

Represents current object instance. Used inside class methods. Accesses variables easily. code Python class A: def show(self): print("ok") A().show()

class A:
    def show(self):
        print("ok")
A().show()

5. What is global variable?

Declared outside functions usually. Accessible in many places. Use carefully in projects. code Python x=10 def a(): print(x) a()

x=10
def a():
    print(x)
a()

Related Interview Topics