[Go to site: main page, start]

0% found this document useful (0 votes)
1 views9 pages

JavaScript Interview Questions

The document contains a comprehensive list of interview questions categorized into various topics for JavaScript, React, Node.js, system design, and project-based mock interviews. Each section covers fundamental concepts, advanced topics, and performance optimization strategies relevant to each technology. This structured approach helps candidates prepare effectively for technical interviews in web development.

Uploaded by

beintouch999
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views9 pages

JavaScript Interview Questions

The document contains a comprehensive list of interview questions categorized into various topics for JavaScript, React, Node.js, system design, and project-based mock interviews. Each section covers fundamental concepts, advanced topics, and performance optimization strategies relevant to each technology. This structured approach helps candidates prepare effectively for technical interviews in web development.

Uploaded by

beintouch999
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

JavaScript Interview Questions – Topic Wise

1. JavaScript Fundamentals

1. What is JavaScript?

2. What are the data types in JavaScript?

3. What is dynamic typing?

4. Difference between null and undefined?

5. What is NaN?

6. Difference between == and ===?

7. What is type coercion?

8. What is implicit vs explicit coercion?

9. What are primitive vs reference types?

2. Variables, Scope and Execution

10. What is variable hoisting?

11. Difference between var, let, const?

12. What is block scope?

13. What is function scope?

14. What is global scope?

15. What is Temporal Dead Zone?

16. What is lexical environment?

17. What is scope chain?

18. What is execution context?

19. What happens during JavaScript execution?

20. What is strict mode?

3. Modern JavaScript (ES6+)

21. What are template literals?

22. What are rest parameters?

23. What is the spread operator?


24. What is destructuring?

25. What is optional chaining?

26. What is nullish coalescing?

27. What is short-circuit evaluation?

4. Functions

28. Function declaration vs function expression

29. What are arrow functions?

30. Difference between arrow and normal functions

31. What is the this keyword?

32. What are higher order functions?

33. What are callback functions?

34. What are pure functions?

35. What is currying?

36. What is memoization?

37. What is recursion?

38. What are closures?

39. What is IIFE?

40. call vs apply vs bind

5. Performance Optimization

41. What is debounce?

42. What is throttle?

43. Write a debounce function

44. Write a throttle function

6. Objects and Prototypes

45. What is prototype?

46. What is prototype chain?


47. What is prototypal inheritance?

48. What is constructor function?

49. What are classes in JavaScript?

50. What happens when new keyword is used?

51. What is [Link]()?

52. What is [Link]()?

53. What is [Link]()?

7. Objects and Memory

54. Shallow copy vs deep copy

55. How to deep clone an object?

8. Advanced Data Structures

56. What are Map and Set?

57. What is WeakMap and WeakSet?

9. Iteration and Generators

58. What are iterators?

59. What are generators?

10. Asynchronous JavaScript

60. Synchronous vs asynchronous JavaScript

61. What are promises?

62. Promise states

63. [Link]

64. [Link]

65. async/await

11. Event Loop & Runtime


66. What is event loop?

67. What is call stack?

68. What is microtask queue?

69. What is macrotask queue?

70. What are Web APIs?

71. setTimeout

72. setInterval

12. Advanced JavaScript Concepts

Questions 73 – 300 belong to advanced topics such as:

 JavaScript modules

 Proxies

 Memory management

 Event delegation

 Performance optimization

 Browser rendering

 Garbage collection

 Security

 Functional programming

 Design patterns

React Interview Questions – Topic Wise

React Fundamentals

1. What is React?

2. What is Virtual DOM?

3. How does reconciliation work?

4. What is JSX?

Components
5. What are components?

6. Class vs functional components

7. Props

8. State

9. Lifting state up

10. Conditional rendering

React Hooks

11. What are React hooks?

12. useState

13. useEffect

14. useRef

15. useMemo

16. useCallback

17. useMemo vs useCallback

18. Custom hooks

State Management

19. Context API

20. [Link]

Performance

21. Lazy loading

22. Code splitting

23. Suspense

Lists and Rendering

24. Keys in React


Rendering Techniques

25. Hydration

26. Server Side Rendering

27. [Link]

Static Rendering

28. Static Site Generation

29. Incremental Static Regeneration

Routing

30. React Router

Advanced React

Questions 31 – 150

Topics include:

 React architecture

 Performance optimization

 State management (Redux/Zustand)

 Testing

 Suspense architecture

 Concurrent rendering

 Server components

[Link] Interview Questions – Topic Wise

[Link] Fundamentals

1. What is [Link]?

2. How does [Link] work internally?

3. [Link] event loop

4. Non-blocking I/O
Node Core Features

5. Streams

6. Buffers

7. Modules

8. CommonJS vs ES Modules

Node Ecosystem

9. [Link]

10. npm

[Link]

11. What is [Link]?

12. Middleware

13. Routing

14. Error handling middleware

Backend Security

15. CORS

16. Rate limiting

API Development

17. REST API

18. JWT authentication

19. Refresh tokens

20. Role-based access control

MongoDB Concepts

21. MongoDB indexing


22. Aggregation pipeline

Advanced Backend Topics

Questions 23 – 120

Topics include:

 Backend architecture

 Scaling [Link] apps

 Queues

 Caching

 Logging

 Monitoring

 Microservices

System Design Interview Questions

1. Design URL shortener

2. Design WhatsApp

3. Design Instagram feed

4. Design Twitter timeline

5. Design YouTube streaming

6. Design ride sharing system

7. Distributed file storage

8. Notification service

9. Caching system

10. Search engine

11. Real-time chat

12. Multiplayer gaming backend

13. Payment gateway

14. Job queue system

15. Leaderboard system


16. Rate limiter

17. Distributed logging

18. Video streaming platform

19. Microservices architecture

20. API gateway

Project-Based Mock Interview Questions

1. Explain the architecture of your Telegram Mini App

2. How did you implement WebSocket communication?

3. How does your betting system calculate rewards?

4. How do you prevent cheating in the game?

5. How does leaderboard system work?

6. How do you scale WebSockets?

7. How does Telegram WebApp authentication work?

8. How does backend manage game sessions?

9. How are wallet transactions secured?

10. How does blockchain integration work?

You might also like