Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
17 views2 pages

MERN Interview Notes Anshul

The document contains interview preparation notes for a MERN stack fresher, detailing both HR and technical interview questions and answers. Key topics include personal introduction, strengths and weaknesses, career aspirations, and technical knowledge related to MERN stack projects and React components. It also covers JWT authentication, React hooks, and a function to check for palindromes.

Uploaded by

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

MERN Interview Notes Anshul

The document contains interview preparation notes for a MERN stack fresher, detailing both HR and technical interview questions and answers. Key topics include personal introduction, strengths and weaknesses, career aspirations, and technical knowledge related to MERN stack projects and React components. It also covers JWT authentication, React hooks, and a function to check for palindromes.

Uploaded by

anshultyagi42261
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Interview Preparation Notes - HR + Technical (MERN Stack Fresher)

HR Interview Questions

Q: Tell me about yourself

A: My name is Anshul Tyagi. I've completed my MCA and BCA. I'm passionate about web

development, especially with the MERN stack. I've built projects like Wanderlust (a travel booking

platform) and a weather app using ReactJS. I'm a fast learner and a good team player.

Q: What are your strengths?

A: - Quick learning

- Problem-solving attitude

- Team collaboration

Q: What are your weaknesses?

A: I tend to over-focus on small details, like perfecting the UI, which sometimes affects time

management. I'm improving this with better planning.

Q: Where do you see yourself in 5 years?

A: As a skilled full-stack developer working on scalable products, possibly mentoring juniors and

handling architectural responsibilities.

Q: Why do you want to join our company?

A: Because your company promotes learning and innovation, which aligns with my growth mindset

and technical interests.

Technical Interview Questions

Q: Describe your MERN project.

A: Wanderlust is a full-stack travel booking app built with MongoDB, Express.js, React.js, and

Node.js. It supports user login, search, booking, and image upload. JWT handles authentication;

Multer is used for file uploads.


Q: How does JWT authentication work?

A: JWT generates a token after successful login. The token is stored on the client side and sent with

API requests. The server verifies the token before granting access.

Q: Write a simple React component to display a list.

A: const items = ['Apple', 'Banana', 'Orange'];

<ul>{items.map((item, i) => <li key={i}>{item}</li>)}</ul>

Q: Difference between useState and useEffect?

A: useState is for state management. useEffect handles side effects like API calls, DOM updates.

Q: Write a function to check if a string is a palindrome.

A: function isPalindrome(str) {

return str === str.split('').reverse().join('');

You might also like