Add office photos
Engaged Employer

TCS

3.7
based on 84k Reviews
Filter interviews by

20+ Interview Questions and Answers

Updated 8 Oct 2024
Popular Designations

Q1. @Transactional default behaviour, difference between Authentication and Authorization. Difference between Cookies and session what is preferred.

Ans.

Explaining @Transactional, Authentication vs Authorization, and Cookies vs Session

  • By default, @Transactional rolls back on unchecked exceptions

  • Authentication is verifying the identity of a user, while Authorization is granting access to resources based on their role

  • Cookies are stored on the client-side, while sessions are stored on the server-side

  • Sessions are preferred for security reasons, as cookies can be easily manipulated

  • Examples of authentication mechanisms include user...read more

Add your answer

Q2. why we use event in c#? What is freezable object in WPF?

Ans.

Events in C# are used to provide a way for objects to communicate with each other. Freezable objects in WPF allow for efficient memory usage and improved performance.

  • Events allow for loosely coupled communication between objects

  • They are used to notify subscribers when an action occurs

  • Freezable objects can be shared across multiple threads and can be modified without creating a new instance

  • They are used in WPF to improve performance and reduce memory usage

  • Examples of freezable...read more

Add your answer

Q3. Where we can use node js to take maximum advantages

Ans.

Node.js can be used for building scalable network applications.

  • Real-time chat applications

  • Streaming applications

  • APIs and microservices

  • Single-page applications

  • Internet of Things (IoT) applications

Add your answer

Q4. Difference between equal and == Java Stream program for finding maximum salary of employees

Ans.

Explaining the difference between equal and == in Java and providing a Java Stream program for finding maximum salary of employees.

  • Equal checks for object equality while == checks for reference equality

  • Equal compares the values of two objects while == compares their memory addresses

  • Java Stream program for finding maximum salary of employees: employees.stream().max(Comparator.comparing(Employee::getSalary)).get()

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

Q5. What is the difference between Viewbag, Viewdata and Tempdata?

Ans.

Viewbag, Viewdata, and Tempdata are used to pass data from controller to view in ASP.NET MVC.

  • ViewBag is a dynamic property that allows you to pass data from controller to view.

  • ViewData is a dictionary object that is used to pass data from controller to view.

  • TempData is a dictionary object that is used to pass data from one controller action to another.

  • ViewBag is a property of the ControllerBase class, ViewData is a property of the Controller class, and TempData is a property ...read more

Add your answer

Q6. Map and Flat Map difference, Predicate in depth

Ans.

Map applies a function to each element and returns a new stream, while flatMap applies a function that returns a stream and flattens the result.

  • Map transforms each element of a stream into another element using a function

  • FlatMap transforms each element of a stream into a stream of elements using a function and then flattens the result

  • Predicate is a functional interface that takes an argument and returns a boolean value based on a condition

Add your answer
Are these interview questions helpful?

Q7. What is event loop in node js

Ans.

Event loop is a mechanism in Node.js that allows non-blocking I/O operations to be performed efficiently.

  • Event loop is responsible for handling all the asynchronous callbacks in Node.js

  • It continuously checks the event queue for any pending event and executes them one by one

  • It allows Node.js to handle multiple requests simultaneously without blocking the execution of other requests

  • Event loop is a single-threaded mechanism that uses callbacks to handle I/O operations

  • Example: Re...read more

Add your answer

Q8. What is data action in Genesys Cloud

Ans.

Data actions in Genesys Cloud are used to manipulate data within the platform.

  • Data actions allow users to perform actions on data such as creating, updating, or deleting records.

  • They can be used in automation flows to streamline processes and improve efficiency.

  • Examples of data actions include creating a new contact record, updating a customer's information, or deleting a ticket entry.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. What is data tables in Genesys cloud

Ans.

Data tables in Genesys Cloud are used to store and manage structured data for reporting and analytics purposes.

  • Data tables allow users to create custom tables to store data in a structured format

  • Users can import data into data tables from external sources

  • Data tables can be used to create custom reports and dashboards based on the stored data

Add your answer

Q10. RPA Lifecycle and the documentation involved

Ans.

RPA Lifecycle involves analysis, design, development, testing, deployment, and maintenance with documentation at each stage.

  • Analysis phase involves identifying processes suitable for automation

  • Design phase includes creating process flow diagrams and defining requirements

  • Development phase involves building automation scripts or bots

  • Testing phase ensures the automation works as expected

  • Deployment phase involves rolling out the automation to production

  • Maintenance phase includes ...read more

Add your answer

Q11. How callbacks works

Ans.

Callbacks are functions passed as arguments to other functions and are executed when a certain event occurs.

  • Callbacks are commonly used in asynchronous programming to handle events or responses.

  • They allow for non-blocking code execution and can be used to pass data between functions.

  • An example of a callback is the event listener in JavaScript, where a function is executed when an event occurs.

  • Callbacks can also be used for error handling and to control the flow of code execut...read more

Add your answer

Q12. Why node js popular

Ans.

Node.js is popular due to its event-driven, non-blocking I/O model, scalability, and ease of use.

  • Node.js allows for efficient handling of a large number of simultaneous connections

  • It is built on top of Google's V8 JavaScript engine, making it fast and efficient

  • Node.js has a large and active community, with many useful libraries and modules available

  • It can be used for both server-side and client-side development

  • Node.js is easy to learn and use, especially for developers alread...read more

Add your answer

Q13. difference between sql and nosql

Ans.

SQL is a relational database management system, while NoSQL is a non-relational database management system.

  • SQL databases are table-based and have a predefined schema, while NoSQL databases are document-based, key-value pairs, graph databases, or wide-column stores.

  • SQL databases are good for complex queries and transactions, while NoSQL databases are better for hierarchical data storage and real-time web applications.

  • Examples of SQL databases include MySQL, Oracle, and Postgre...read more

Add your answer

Q14. How to do hast sort?

Ans.

Quickly sort elements by repeatedly selecting the minimum element from unsorted portion and placing it at the beginning.

  • Initialize a pointer to the first element of the array.

  • Iterate through the array to find the minimum element.

  • Swap the minimum element with the element at the pointer position.

  • Move the pointer to the next position and repeat the process until the array is sorted.

Add your answer

Q15. Streaming in node js

Ans.

Streaming in Node.js allows for real-time data processing and transmission.

  • Node.js provides the 'stream' module for efficient data streaming

  • Streams can be readable, writable, or duplex

  • Streams can be used for file I/O, network communication, and more

  • Examples include piping data between streams, creating custom streams, and using third-party modules like 'socket.io'

Add your answer

Q16. Buffer in node js

Ans.

Buffer is a temporary storage area for data in Node.js

  • Buffers are instances of the Buffer class in Node.js

  • They are used to handle binary data

  • Buffers can be created in various ways, such as from a string or an array of integers

  • They have a fixed size and cannot be resized

  • Buffers can be converted to and from other data types, such as strings or arrays

Add your answer

Q17. Explain design patterns used

Ans.

Design patterns are reusable solutions to common problems in software design.

  • Design patterns help in creating flexible, maintainable, and scalable software.

  • Some commonly used design patterns include Singleton, Factory, Observer, and Strategy.

  • Singleton pattern ensures a class has only one instance and provides a global point of access to it.

  • Factory pattern creates objects without specifying the exact class of object that will be created.

  • Observer pattern defines a one-to-many d...read more

Add your answer

Q18. Life cycle of RPA

Ans.

RPA life cycle involves planning, development, testing, deployment, and maintenance of robotic process automation.

  • Planning phase involves identifying processes suitable for automation

  • Development phase includes designing and building the automation workflows

  • Testing phase ensures the automation functions correctly and meets requirements

  • Deployment phase involves implementing the automation into production environment

  • Maintenance phase includes monitoring, updating, and optimizing...read more

Add your answer

Q19. Example about Flows

Ans.

Flows in programming refer to the sequence of steps or actions taken to achieve a specific task or goal.

  • Flows help in understanding the logic and order of operations in a program.

  • They can be represented using flowcharts or diagrams.

  • Examples include login flow, payment flow, and registration flow in a web application.

Add your answer

Q20. example about Flow

Ans.

Flow is a tool that automates workflows between different apps and services.

  • Flow allows users to create automated workflows by connecting different apps and services.

  • Users can set up triggers and actions to automate tasks without manual intervention.

  • For example, a user can create a flow that automatically saves email attachments to a cloud storage service.

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

Interview Process at null

based on 16 interviews in the last 1 year
2 Interview rounds
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Technical Lead Interview Questions from Similar Companies

3.6
 • 86 Interview Questions
3.7
 • 75 Interview Questions
3.7
 • 66 Interview Questions
3.6
 • 40 Interview Questions
3.8
 • 27 Interview Questions
3.6
 • 17 Interview Questions
View all
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