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('');