0% found this document useful (0 votes)
2 views6 pages

Questions

The document contains a comprehensive list of interview questions covering React JS, JavaScript, Laravel, and Git basics. It includes fundamental concepts, advanced topics, and practical applications related to each technology. The questions are designed to assess knowledge and understanding of key principles and functionalities within these frameworks and languages.

Uploaded by

itopsteam1
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)
2 views6 pages

Questions

The document contains a comprehensive list of interview questions covering React JS, JavaScript, Laravel, and Git basics. It includes fundamental concepts, advanced topics, and practical applications related to each technology. The questions are designed to assess knowledge and understanding of key principles and functionalities within these frameworks and languages.

Uploaded by

itopsteam1
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
You are on page 1/ 6

QUESTIONS

React Js

1. What is React? How is it different from other frameworks?


2. What are components in React?

3. What are JSX, Babel, and Webpack?

4. Explain the difference between functional and class components.


5. What is the virtual DOM and how does React use it?
6. Unidirectional Data Flow?
7. What are props vs state in React?
8. What is React Router, and how is routing handled?
9. What is Prop Drilling, and how do you avoid it

10. What is the difference between Virtual DOM, and Real DOM in React JS?

11. What are controlled and uncontrolled components in React JS?

12. Lifting State Up?

13. What are Hooks in React JS? and Explain useEffect, useState, useMemo, and
useCallback hooks in detail.

14. What is the difference between useCallback and useMemo?


15. How does React handle form inputs?
16. How does reconciliation work in React?

17. Explain the difference between useEffect and componentDidMount.

18. How do you handle events in React?


19. What are keys in React lists, and why are they important?
20. What is the role of defaultProps and propTypes?

21. Explain Lifecycle Methods in React JS.

22. What is the difference between export default and export in React JS?

23. What is a Portal in React JS?

24. NPM/Yarn, package. json?


25. Basic Testing with tools like Jest or React Testing Library?
26. What is Redux? What are Reducer, Action, and Store in Redux?

27. What is Middleware in Redux?

28. Explain Data Flow in Redux.

29. What is Redux-Thunk?

30. What is Redux-Saga? What is the difference between Redux-Thunk and Redux-Saga?
31. How can we implement componentWillUnmount in a Functional Component?
32. Explain the concept of higher-order components (HOC).
33. What are render props?
34. How does code splitting work in React?
35. What is lazy loading in React and how do you implement it?
36. How do you optimize performance in a React application?
37. What are React portals?
38. How does React's concurrent mode improve user experience?
39. Explain error boundaries in React.
40. What are custom hooks, and when would you create one?
41. How does the useReducer hook work?

Javascript
🔹 Basic JavaScript Questions

1. What is JavaScript and how is it different from Java?


2. What are the data types available in JavaScript?
3. What is the difference between null and undefined?
4. How does type coercion work in JavaScript?
5. What are truthy and falsy values?
6. What is Data Binding in JavaScript and it’s types?

🔹 Variables and Scope

6. Difference between var, let, and const?


7. What is hoisting in JavaScript?
8. What is lexical scope?
9. What is the difference between block scope and function scope?

🔹 Functions
10. What are first-class functions?
11. What is a higher-order function?
12. What is the difference between a function declaration and function expression?
13. What is a callback function?
14. What are arrow functions?

🔹 Asynchronous JavaScript

15. What is the event loop?


16. What is a Promise?
17. How does async/await work?
18. What is the difference between setTimeout and setInterval?

🔹 Objects and Arrays

19. How do you create an object in JavaScript?


20. What are the different ways to clone an object?
21. What is destructuring in JavaScript?
22. What is the spread operator?

🔹 OOP in JavaScript

23. What is prototypal inheritance?


24. What is the difference between == and ===?
25. What are constructor functions?
26. What is the this keyword and how does it behave in different contexts?

🔹 DOM and Events

27. What is the DOM?


28. What is event delegation?
29. What is event bubbling and capturing?
30. What are the different types of events in JavaScript?

🔹 Advanced Concepts

31. What are closures in JavaScript?


32. What are modules and how do you export/import them?
33. What are call(), apply(), and bind()?
34. What is a memory leak and how can you avoid it?
35. What is debouncing and throttling?

✅ Interview Questions:

1. What is ECMAScript in JavaScript?


2. What is the difference between let, const, and var?
3. What is the Spread Operator, Rest Operator, and Default Parameter?
4. What is Deep Copy and Shallow Copy in JavaScript?
5. What is a Promise, Callback Function, and async/await in JavaScript?
6. What is the difference between Promise and Callback in JavaScript?
7. What is Event Bubbling and Event Capturing in JavaScript?
8. What is a Higher-Order Function in JavaScript?
9. Explain 2 different types of functions in JavaScript.
10. What is an Arrow Function in JavaScript?
11. Why do we use call, apply, and bind methods in JavaScript?
12. How many ways can you create an object in JavaScript?

Laraval
✅ Basic Laravel Interview Questions

1. What is Laravel?
2. What are the features of Laravel?
3. What is MVC architecture?
4. How do you install Laravel?
5. What is routing in Laravel?
6. What is a controller in Laravel?
7. What is a migration in Laravel?
8. How do you create a migration in Laravel?
9. What is an artisan command in Laravel?
10. What is middleware in Laravel?

🛠️Intermediate Laravel Interview Questions

11. How does Laravel’s Eloquent ORM work?


12. What are relationships in Eloquent?
o One to One
o One to Many
o Many to Many
o Has Many Through
13. What are service providers?
14. What is dependency injection in Laravel?
15. What is the difference between include, yield, and @section in Blade templates?
16. How do you validate forms in Laravel?
17. What is CSRF token in Laravel?
18. How do you use queues in Laravel?
19. How does Laravel handle file uploads?
20. What is the difference between get, post, put, and delete routes?

🔐 Advanced Laravel Interview Questions

21. What is Laravel Passport and Sanctum?


22. How do you schedule tasks in Laravel using the Task Scheduler?
23. How do you implement API authentication in Laravel?
24. How do you handle exceptions and errors in Laravel?
25. What are events and listeners in Laravel?
26. How does Laravel's service container work?
27. What is a repository pattern and why use it in Laravel?
28. How do you optimize the performance of a Laravel application?
29. What is the difference between hasOne and belongsTo?
30. What is soft delete and how does it work?

📦 Laravel & Database

31. How do you use database seeding?


32. What are database factories in Laravel?
33. How do you use raw queries in Laravel?
34. How do you run database transactions in Laravel?
35. How can you prevent N+1 query problem in Laravel?

Version Control (Git basics)


🧠 Basic Git Concepts:

 Repository (repo): A project’s folder tracked by Git.


 Commit: A snapshot of changes saved with a message.
 Branch: A copy of the project to work on features independently.
 Merge: Combining changes from one branch to another.
 Clone: Copying a remote repository to your local machine.
 Push: Uploading changes from local repo to remote (e.g., GitHub).
 Pull: Downloading changes from remote to local.
 Staging Area: Files you’re about to commit.
 HEAD: Pointer to the current branch reference.

❓ Git Interview Questions

1. What is Git and why is it used?


2. What is the difference between Git and GitHub?
3. How do you create a new Git repository?
4. What is the difference between git fetch and git pull?
5. What is the purpose of .gitignore?
6. What is a merge conflict and how do you resolve it?
7. What is the difference between git reset and git revert?
8. What is the use of git stash?
9. How do you undo the last commit?
10. How do branches help in version control?

You might also like