Complete Interview Preparation Guide
1. HTML (Core Basics)
- What is HTML? Why is it called a markup language?
- Difference between block-level and inline elements.
- Semantic tags (header, footer, article, section).
- Difference between div and span.
- What are forms and input types in HTML5?
- What is the difference between local storage, session storage, and cookies?
- Difference between id and class.
2. CSS
- Difference between inline, internal, external CSS.
- CSS Box model.
- Difference between relative, absolute, fixed, sticky positioning.
- Flexbox vs Grid.
- Media queries (responsiveness).
- CSS pseudo-classes (:hover, :nth-child).
- Difference between inline-block vs block.
- Specificity in CSS.
- Difference between transitions and animations.
3. JavaScript
- var, let, const.
- Hoisting.
- Closure (explain with example).
- Callback vs Higher-order function.
- setTimeout & setInterval.
- Event loop & execution context.
- Difference between == vs ===.
- Promise vs async/await.
- Map, filter, reduce.
- Shallow copy vs deep copy.
- Arrow function vs normal function.
- Lexical scope.
- DOM manipulation basics (getElementById, querySelector).
- Event bubbling & capturing.
- Difference between null, undefined, NaN.
- What is JSON?
4. ReactJS
- What is React? Advantages over plain JS.
- JSX — what and why.
- Components: functional vs class.
- Props vs State.
- What are Hooks? (useState, useEffect most important).
- Lifecycle methods (in class components).
- Conditional rendering.
- Lists & keys.
- Controlled vs uncontrolled components.
- Context API (basic).
- What is Virtual DOM?
- Difference between SPA vs MPA.
- Difference between React and Angular/Vue.
- React Router basics.
5. General Computer Science / CS Fundamentals
- OOP Concepts (Encapsulation, Abstraction, Inheritance, Polymorphism).
- Difference between class and object.
- Static method vs static variable vs static block.
- What is abstraction vs interface?
- Compile-time vs run-time polymorphism.
- Difference between stack vs heap memory.
- Difference between process vs thread.
- What is parsing?
- What is API?
6. Coding (for tests & rounds)
- Reverse a string.
- Factorial of a number.
- Fibonacci series.
- Palindrome check.
- Prime number check.
- Swapping numbers without 3rd variable.
- Sorting (bubble sort, insertion sort, merge sort).
- Binary search.
- Print patterns (triangle, pyramid).
7. Aptitude / Logical
- Time, speed, distance.
- Percentages & profit/loss.
- Simple & compound interest.
- Number system basics.
- Ratios & proportions.
- Probability basics.
- Seating arrangement, directions.
8. HR / Behavioral Questions
- Tell me about yourself.
- Strengths and weaknesses.
- Why should we hire you?
- Where do you see yourself in 5 years?
- Tell me about a challenge you faced and how you solved it.
- Are you willing to relocate?
- Do you prefer working in a team or alone?
- What do you know about our company?