Capgemini
100+ Accenture Interview Questions and Answers
Q101. Write a program to print characters in the string?
Program to print characters in a string
Use a loop to iterate through each character in the string
Print each character as you iterate through the string
Q102. Explain concepts of Docker and Kubernetes
Docker is a platform for developing, shipping, and running applications in containers. Kubernetes is a container orchestration tool for managing containerized applications across a cluster of nodes.
Docker allows developers to package applications and dependencies into containers for easy deployment.
Kubernetes automates the deployment, scaling, and management of containerized applications.
Docker containers are lightweight, portable, and isolated environments that can run on an...read more
Q103. Talk for 3 min in any topic of your interest
Discussing the impact of artificial intelligence on society
Introduction to artificial intelligence and its applications
Benefits of AI in various industries such as healthcare, finance, and transportation
Ethical considerations and concerns surrounding AI technology
Future implications of AI on the job market and economy
Q104. What are your preffered location?
I prefer locations with a good work-life balance, access to outdoor activities, and a vibrant tech community.
Good work-life balance is important to me
Access to outdoor activities like hiking and biking
Vibrant tech community for networking and growth opportunities
Q105. Difference between Union and Union All in Sql
Union combines and removes duplicates, Union All combines without removing duplicates.
Union merges the result sets of two or more SELECT statements and removes duplicates
Union All merges the result sets of two or more SELECT statements without removing duplicates
Union is slower than Union All as it involves removing duplicates
Example: SELECT column1 FROM table1 UNION SELECT column1 FROM table2;
Example: SELECT column1 FROM table1 UNION ALL SELECT column1 FROM table2;
Q106. Difference between list and tuple in python
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List uses square brackets [], tuple uses parentheses ().
List is used for collections of items that may change, tuple for fixed collections.
Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)
Q107. What do you know about Capg?
Capgemini is a global leader in consulting, technology services and digital transformation.
Capgemini is a multinational corporation headquartered in France.
It provides consulting, technology services, and digital transformation.
Capgemini operates in over 40 countries and has around 200,000 employees worldwide.
Q108. What is Enhanced RE Framework?
Enhanced RE Framework is a robust automation framework in UiPath that provides reusable components and efficient error handling.
Enhanced RE Framework is an advanced version of the Robotic Enterprise Framework (REFramework) in UiPath.
It includes additional features such as enhanced error handling, logging, and reusability of components.
The framework follows best practices for automation development and helps in building scalable and maintainable automation solutions.
It consist...read more
Q109. What is functional interface?
Functional interface is an interface with only one abstract method.
Functional interface can have any number of default or static methods.
It is used in lambda expressions and method references.
Examples of functional interfaces are Runnable, Comparator, and Predicate.
Q110. what is different security majors
Different security majors focus on various aspects of cybersecurity such as network security, application security, and cloud security.
Network Security: Focuses on securing networks and preventing unauthorized access.
Application Security: Involves securing software applications from threats and vulnerabilities.
Cloud Security: Concentrates on protecting data stored in cloud environments.
Information Security: Encompasses all aspects of securing information and data.
Cybersecurit...read more
Q111. Goroutines - explain with example code
Goroutines are lightweight threads managed by Go runtime, allowing concurrent execution of functions.
Goroutines are created using the 'go' keyword followed by a function call.
They are multiplexed onto multiple OS threads by the Go runtime.
Example: go func() { fmt.Println('Hello, goroutine!') }
Goroutines are used for concurrent programming in Go, enabling parallelism.
Q112. what is node and how it works
Node is a runtime environment that allows JavaScript code to be executed outside of a browser.
Node.js is built on the V8 JavaScript engine from Google Chrome.
It uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.
Node.js is commonly used for building server-side applications and APIs.
Example: Creating a simple web server using Node.js.
Q113. Write a program using java 8 steams
Program using Java 8 streams to filter even numbers from a list
Use Stream API to filter even numbers from a list
Use lambda expressions for concise code
Use collect method to convert stream back to a list
Q114. Difference between List and Linked List.
List is a general term for a collection of elements, while Linked List is a specific type of list where elements are linked via pointers.
List is a collection of elements where each element has an index or position, like an array.
Linked List is a data structure where each element contains a reference to the next element, forming a chain.
In List, elements are stored in contiguous memory locations, while in Linked List, elements are stored in scattered memory locations connected...read more
Q115. Difference between forecasting and budgeting
Forecasting involves predicting future trends based on historical data, while budgeting involves setting financial goals and allocating resources.
Forecasting uses past data to predict future trends, while budgeting sets financial goals and allocates resources accordingly
Forecasting is more focused on predicting outcomes, while budgeting is more focused on planning and controlling expenses
Forecasting is typically done on a longer-term basis, while budgeting is usually done on ...read more
Q116. Factorial using recursion
Factorial using recursion is a function that calls itself to calculate the factorial of a given number.
Define a function that takes an integer parameter n
Base case: if n is 0, return 1
Recursive case: return n * factorial(n-1)
Example: factorial(5) = 5 * factorial(4) = 5 * 4 * factorial(3) = 5 * 4 * 3 * factorial(2) = 5 * 4 * 3 * 2 * factorial(1) = 5 * 4 * 3 * 2 * 1 = 120
Q117. What is the update technical?
An update technical is a software update that includes new features, bug fixes, and improvements to existing functionality.
An update technical typically involves modifying code, adding new features, and testing the changes before releasing them to users.
Examples of update technicals include software updates for operating systems, applications, and websites.
Update technicals are important for ensuring that software remains secure, reliable, and up-to-date with the latest techn...read more
Q118. What are joins in Sql.
Joins in SQL are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column.
Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
INNER JOIN returns rows when there is at least one match in both tables.
LEFT JOIN returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN returns all rows from the right table and the mat...read more
Q119. Tell about the Binary Search
Binary search is a search algorithm that finds the position of a target value within a sorted array.
It works by repeatedly dividing in half the portion of the array that could contain the target value.
It has a time complexity of O(log n).
It can be implemented recursively or iteratively.
Example: Searching for the number 7 in the sorted array [1, 3, 5, 7, 9] would return index 3.
Q120. what is request mapping
Request mapping is a technique used in web development to map incoming HTTP requests to specific handler methods in the application.
Request mapping is used in frameworks like Spring MVC to define how incoming requests should be handled.
It helps in routing requests to the appropriate controller methods based on the URL and HTTP method.
Request mapping annotations like @RequestMapping or @GetMapping are used to specify the mapping between requests and methods.
For example, @Reque...read more
Q121. Difference between tuple and list
Tuple is immutable and ordered while list is mutable and ordered.
Tuple uses parentheses while list uses square brackets.
Tuple is faster than list for accessing elements.
Tuple can be used as keys in dictionaries while list cannot.
Tuple is used for heterogeneous data while list is used for homogeneous data.
Tuple is used for returning multiple values from a function.
Q122. working of concurrentHashmap
ConcurrentHashMap is a thread-safe implementation of HashMap in Java.
It allows multiple threads to read and write to the map concurrently without any external synchronization.
It uses a technique called lock striping to divide the map into segments, allowing multiple threads to access different segments simultaneously.
It provides better performance than Hashtable as it does not lock the entire map during write operations.
It also provides some additional methods like putIfAbsen...read more
Q123. WHAT is SDLC in testing
SDLC in testing refers to the Software Development Life Cycle followed specifically for testing purposes.
SDLC in testing involves planning, designing, executing, and evaluating the testing activities within the overall software development process.
It includes phases such as requirement analysis, test planning, test design, test execution, and test closure.
SDLC in testing ensures that the software meets the specified requirements and is of high quality before release.
Examples ...read more
Q124. What is automation testing
Automation testing is the use of software tools to control the execution of tests and compare actual outcomes with expected outcomes.
Automation testing helps in reducing manual effort and time required for testing.
It ensures faster feedback on the quality of the software being tested.
Common automation testing tools include Selenium, Appium, and JUnit.
Automation testing can be used for regression testing, performance testing, and load testing.
It is essential for continuous int...read more
Q125. Diffrence between list and tuple
Lists and tuples are both sequence types in Python, but lists are mutable while tuples are immutable.
Lists are enclosed in square brackets [], while tuples are enclosed in parentheses ().
Lists can be modified by adding, removing, or changing elements, while tuples cannot be modified once created.
Lists are typically used for collections of similar items, while tuples are used for heterogeneous data.
Lists have more built-in methods and are more flexible, while tuples are more m...read more
Q126. Find duplicate elements in list
Find duplicate elements in list
Iterate through the list and add each element to a set
If the element is already in the set, it is a duplicate
Alternatively, sort the list and compare adjacent elements
Use collections.Counter to count occurrences of each element
Q127. remove duplicates from an array
Remove duplicates from an array of strings
Create a Set to store unique elements
Iterate through the array and add each element to the Set
Convert the Set back to an array to get the unique elements
Q128. what is method overriding
Method overriding is a feature in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its parent class.
Occurs when a subclass provides a specific implementation of a method that is already provided by its parent class
The method in the subclass must have the same name, return type, and parameters as the method in the parent class
Allows for polymorphism, where a subclass can be treated as an instance of its par...read more
Q129. what is oops in java
Object-oriented programming concepts in Java
OOPs stands for Object-Oriented Programming
It is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures
Encapsulation, Inheritance, Polymorphism, and Abstraction are the four main principles of OOPs in Java
Example: Class, Object, Inheritance, Polymorphism
Q130. What is testing life cycle
Testing life cycle is the process of planning, designing, executing, and evaluating tests throughout the software development lifecycle.
Includes test planning, test design, test execution, and test evaluation
Involves creating test cases, executing them, and analyzing results
Iterative process to ensure software quality and reliability
Can include different types of testing like unit testing, integration testing, system testing, and acceptance testing
Q131. Difference in AC/ DC
AC is alternating current, constantly changing direction. DC is direct current, flowing in one direction.
AC changes direction periodically, while DC flows in one direction constantly
AC is used in household appliances, while DC is used in electronics like computers
AC is generated by power plants, while DC is used in batteries
Q132. useEffect and dependency with example
useEffect is a React hook used to perform side effects in function components. Dependencies are used to control when the effect runs.
useEffect is used to perform side effects in function components
Dependencies are specified as the second argument to useEffect
The effect will run whenever the dependencies change
Example: useEffect(() => { console.log('Component rendered') }, [dependency])
Q133. SQL Integration with UiPath
SQL Integration with UiPath allows for seamless data manipulation and automation processes.
UiPath provides activities to connect to SQL databases and execute queries
SQL queries can be used to retrieve, update, or delete data within UiPath workflows
Data can be transferred between SQL databases and UiPath variables for processing
Q134. ever used G-Suite in UiPath
Yes, I have used G-Suite in UiPath for automating tasks and integrating with Google services.
Used G Suite activities in UiPath to automate tasks like sending emails, creating Google Sheets, and fetching data from Google Drive
Integrated UiPath with Google Calendar API to schedule tasks and appointments
Utilized Google OAuth 2.0 authentication for secure access to G Suite services
Q135. Explain about partitions
Partitions are divisions of a hard drive or storage device that allow for separate areas to store data.
Partitions help organize data and prevent it from mixing together.
Each partition can have its own file system and operating system.
Partitions can be resized, created, or deleted using disk management tools.
Examples include creating a separate partition for the operating system and another for personal files.
Q136. Write a Program In Python
Program to find the sum of two numbers
Take input from user for two numbers
Add the two numbers using the '+' operator
Print the sum of the two numbers
Q137. what is overriding.?
Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its superclass.
Occurs in inheritance when a subclass provides a specific implementation of a method that is already provided by its superclass
The method in the subclass must have the same name, return type, and parameters as the method in the superclass
Allows for polymorphism, where a subclass can be treated as an instance of its s...read more
Q138. What is OOPS concept
OOPS (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPS focuses on creating objects that interact with each other to solve problems
It involves concepts like inheritance, encapsulation, polymorphism, and abstraction
Inheritance allows one class to inherit properties and methods from another class
Encapsulation involves bundling data and methods that operate on the data into a single unit
Polymorphism allow...read more
Q139. What is super method
The super method is used in object-oriented programming to call a method from a superclass.
Used in inheritance to call a method from a superclass
Helps avoid code duplication by reusing code from a superclass
Can be used to access overridden methods in subclasses
Q140. what is abstraction
Abstraction is the concept of hiding complex details and showing only the essential features of an object or system.
Abstraction allows us to focus on what an object does, rather than how it does it
It helps in reducing complexity and improving efficiency in software development
For example, in object-oriented programming, abstract classes and interfaces are used to define common behavior without specifying implementation details
Q141. What is an array
An array is a data structure that stores a collection of elements of the same type in a contiguous block of memory.
Arrays can be of any data type, but in this case, it must be an array of strings.
Arrays have a fixed size determined at the time of declaration.
Elements in an array are accessed using their index, starting from 0.
Arrays allow efficient random access and traversal of elements.
Q142. Deploying an app in Kubernetes
Deploying an app in Kubernetes involves creating a deployment configuration, defining pods, services, and managing resources.
Create a deployment configuration file specifying the app's image, ports, and replicas
Define pods to run the app containers
Create services to expose the app internally or externally
Manage resources such as CPU and memory limits for optimal performance
Q143. Interfaces in Golang - Code
Interfaces in Golang allow for defining behavior without specifying implementation details.
Interfaces are a collection of method signatures.
A type satisfies an interface if it implements all the methods in the interface.
Interfaces allow for polymorphism in Golang.
Example: type Writer interface { Write([]byte) (int, error) }
Example: type MyWriter struct {} func (mw MyWriter) Write(data []byte) (int, error) { return len(data), nil }
Q144. React hooks explanation
React hooks are functions that let you use state and other React features without writing a class.
React hooks were introduced in React 16.8.
They allow you to use state and other React features in functional components.
useState() is a hook that allows you to add state to functional components.
useEffect() is a hook that allows you to perform side effects in functional components.
Custom hooks can be created to reuse logic across multiple components.
Q145. Splice and slice difference
Splice is used to add or remove elements from an array, while slice is used to extract a portion of an array into a new array.
Splice can add elements to an array, remove elements from an array, or replace elements in an array.
Slice creates a new array by extracting elements from an existing array based on start and end index parameters.
Example of splice: array.splice(2, 0, 'new element') - adds 'new element' at index 2
Example of slice: array.slice(1, 4) - extracts elements fr...read more
Q146. Create custom form in Drupal
To create a custom form in Drupal, you can use the Form API to define the form structure and functionality.
Use hook_form_alter() to modify existing forms or hook_form_FORM_ID_alter() to alter a specific form.
Define the form elements using the Form API functions like 'textfield', 'select', 'submit', etc.
Implement a submit handler to process the form data and perform any necessary actions.
Use the Form API validation functions to validate user input before submission.
Q147. What is insurance
Insurance is a financial protection against potential losses or risks.
Insurance is a contract between an individual or organization and an insurance company.
The insured pays a premium in exchange for coverage against specified risks.
Common types of insurance include health, life, auto, home, and business insurance.
Insurance helps mitigate financial losses in case of accidents, illnesses, or other unforeseen events.
Q148. call back with example
I have experience implementing callback functions in JavaScript for asynchronous operations.
Implemented callback functions in JavaScript for handling asynchronous operations
Used callbacks in event handling, AJAX requests, and setTimeout functions
Ensured proper error handling and data manipulation within callback functions
Q149. Intro projects challenges
Handling challenges in introductory software projects
Understanding project requirements thoroughly
Managing time effectively to meet deadlines
Collaborating with team members for better outcomes
Q150. Rating summary of hr process.
The HR process was efficient and well-organized.
Clear communication throughout the process
Timely updates on the status of the application
Professional and friendly HR representatives
Thorough evaluation of technical skills
Smooth onboarding process
Q151. merge two arrays
Merge two sorted arrays into a single sorted array without using extra space.
Iterate through both arrays simultaneously, comparing elements and placing them in the correct position in the merged array.
Use two pointers to keep track of the current position in each array.
Modify the original array in place to achieve the merge without using extra space.
Q152. Explain Polymorphism
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to represent multiple underlying forms.
Examples include method overloading and method overriding in object-oriented programming.
More about working at Capgemini
Top HR Questions asked in Accenture
Interview Process at Accenture
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month