Add office photos
Employer?
Claim Account for FREE

Devship

-
No reviews yet
-
Reviews
-
Jobs
-
Benefits
-
Photos
Filter interviews by

Sir Biotech Interview Questions and Answers

Updated 20 Jun 2024

Q1. Have you worked on any file upload tasks previously ? Explain the process and how it saved in DB and retrieval process

Ans.

Yes, I have experience with file upload tasks. Files are saved in DB by storing the file path and retrieval is done by fetching the file path from the DB.

  • Used multer middleware in Node.js to handle file uploads

  • Saved file path in MongoDB using Mongoose schema

  • Retrieved file by querying the database for the file path

  • Implemented file upload functionality in a project using React for the front end

Add your answer

Q2. Why $lookup , $project , ..ect are used ?

Ans.

They are used in MongoDB aggregation pipeline to perform various operations like joining, filtering, projecting, etc.

  • Used in MongoDB aggregation pipeline for data manipulation

  • Perform operations like joining, filtering, projecting, etc.

  • Help in combining data from multiple collections

  • Use $lookup to perform a left outer join between two collections

Add your answer

Q3. What are react hooks and explain with a usecase

Ans.

React hooks are functions that let you use state and other React features in functional components.

  • Allow functional components to have state and lifecycle methods

  • Replace class components with simpler functional components

  • Examples: useState, useEffect, useContext

Add your answer

Q4. Share your experience / task you worked on Node js

Ans.

Developed a real-time chat application using Node.js with Socket.io for instant messaging functionality.

  • Implemented server-side logic using Node.js to handle incoming messages and broadcast them to all connected clients

  • Utilized Socket.io library to establish WebSocket connections for real-time communication

  • Integrated with MongoDB to store chat messages and user information

  • Implemented authentication and authorization mechanisms to ensure secure messaging

Add your answer
Discover Sir Biotech interview dos and don'ts from real experiences

Q5. What is Redux and why its used

Ans.

Redux is a predictable state container for JavaScript apps, used to manage application state in a centralized store.

  • Redux helps manage the state of an application in a predictable way

  • It allows for a single source of truth for the state of the application

  • Redux is commonly used with React to manage the state of components

  • Actions are dispatched to update the state in Redux store

  • Reducers specify how the state changes in response to actions

Add your answer

Q6. Give some crud operations in Mongo db

Ans.

CRUD operations in MongoDB include create, read, update, and delete operations on documents in a collection.

  • Create: db.collection.insertOne()

  • Read: db.collection.find()

  • Update: db.collection.updateOne()

  • Delete: db.collection.deleteOne()

Add your answer

Q7. What is aggregation

Ans.

Aggregation is the process of combining data from multiple sources to provide a summary or overview.

  • Aggregation in databases involves grouping and summarizing data to provide insights.

  • In MongoDB, aggregation pipelines are used to process data and return computed results.

  • Examples of aggregation functions include sum, average, count, and group by.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Sir Biotech

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter