Add office photos
Employer?
Claim Account for FREE

Trois Infotech

3.6
based on 9 Reviews
Filter interviews by

Only-B2B Interview Questions and Answers

Updated 5 Feb 2024

Q1. Is node is synchronous or asynchronous explain with an example

Ans.

Node is asynchronous, meaning it can handle multiple requests at once without blocking the main thread.

  • Node uses an event-driven, non-blocking I/O model

  • Callbacks are used to handle asynchronous operations

  • Example: Reading a file using fs module

  • Example: Making an HTTP request using http module

Add your answer

Q2. What is call back & for what purpuse it use

Ans.

A callback is a function passed as an argument to another function, which is then invoked inside the outer function.

  • Callbacks are used to execute code asynchronously, such as when an event occurs or when data is retrieved from a server.

  • They are commonly used in JavaScript for event handling, AJAX requests, and timers.

  • Callbacks can also be used for error handling, allowing the caller to handle errors that occur inside the callback function.

  • An example of a callback in JavaScrip...read more

Add your answer

Q3. How to handle synchronous data in node js

Ans.

Synchronous data in Node.js can be handled using callbacks or promises.

  • Use callbacks to handle synchronous data in Node.js

  • Promises can also be used to handle synchronous data

  • Avoid using synchronous code in Node.js as it can block the event loop

Add your answer

Q4. What is two way binding in angular

Ans.

Two way binding in Angular allows automatic synchronization of data between the model and the view.

  • Two way binding is achieved using the ngModel directive.

  • Changes made in the view are automatically reflected in the model and vice versa.

  • It simplifies the code and reduces the need for manual event handling.

  • Example:

Add your answer
Discover Only-B2B interview dos and don'ts from real experiences

Q5. Why you use mongo db insteasd of mysql

Ans.

MongoDB is better suited for handling unstructured data and offers better scalability and performance compared to MySQL.

  • MongoDB is a NoSQL database that allows for flexible and dynamic schema design.

  • MongoDB is better suited for handling large amounts of unstructured data, such as social media posts or sensor data.

  • MongoDB offers better scalability and performance compared to MySQL, especially for write-heavy applications.

  • MongoDB also has better support for distributed database...read more

Add your answer

Q6. What is express ,what is restful api

Ans.

Express is a web application framework for Node.js. RESTful API is an architectural style for building web services.

  • Express is a popular framework for building web applications using Node.js

  • It provides a set of features for handling HTTP requests and responses

  • RESTful API is an architectural style for building web services that use HTTP methods to perform CRUD operations

  • It uses standard HTTP methods like GET, POST, PUT, DELETE to interact with resources

  • RESTful APIs are statele...read more

Add your answer

Q7. What is crud operation

Ans.

CRUD stands for Create, Read, Update, and Delete. It refers to the basic operations performed on a database.

  • Create - inserting new data into the database

  • Read - retrieving data from the database

  • Update - modifying existing data in the database

  • Delete - removing data from the database

  • CRUD operations are essential for managing data in a database

  • Examples include adding a new user, updating a product's price, or deleting a customer's account

Add your answer

Q8. What us observables in angular

Ans.

Observables are a way to handle asynchronous data streams in Angular.

  • Observables are similar to Promises but can emit multiple values over time.

  • They can be created using the RxJS library.

  • They are often used for handling HTTP requests and real-time data updates.

  • Operators can be used to transform, filter, and combine observables.

  • Subscriptions are used to listen to the emitted values and handle errors and completion.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 375 Interview Questions
3.7
 • 330 Interview Questions
3.8
 • 202 Interview Questions
3.6
 • 171 Interview Questions
4.0
 • 170 Interview Questions
4.1
 • 153 Interview Questions
View all
Top Trois Infotech Interview Questions And Answers
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
Get AmbitionBox app

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