Accenture Interview Prepration
Accenture Interview Prepration
@bzlearnin
Interview Process At Accenture
Eligibility: To take this exam, you should have at least scored 65% or 6.5 CGPA in
your graduation. There must be no active backlogs. For some colleges,
Accenture has kept no percentage criteria.
First, you need to pass Cognitive and Technical assessment. After passing these
assessments, you will have to take the Coding Test. After Coding Test, you will
have to give communication assessment and then, the Accenture interview round
(which includes technical and HR interview round).
Accenture Interview Exam Pattern
https://docs.google.com/document/d/10pVwpl8FJeR2WuPmqKTE9x8DG09QS
VhuZZQjDLMQR2Q/edit?tab=t.0
Ans. Through Springboot, you can create standalone applications that can run on their
own. There is no need to rely on an external web server. You can do this by embedding
a web server into your application during the initialization process. Springboot
framework reduces overall development time and increases efficiency through a default
setup for unit and integration tests.
Ans. Spring Boot provides embedded container support. It comes with the provision to
independently run the jars through the command java -jar. There is the option to exclude
dependencies so that one can avoid potential jar conflicts while deploying in an external
container. Spring boot is better to use for developing simple Spring-based applications
and RESTful services. It simplified the Java EE development so that developers can be
more productive.
Q3. Explain the Spring MVC flow.
Ans. Spring MVC is a JAVA framework that is used for building web applications.
● According to the diagram, you can see that each incoming request is
intercepted by DispatcherServlet that acts as front controller.
● Once DispatcherServlet gets the entry of handler mapping from XML file, it
forwards this request to the controller.
● The controller then returns an object of ModelAndView.
● DispatcherServlet checks the entry of the view resolver in XML file. Then, it
invokes the specified view component.
Ans. Overloading occurs when two or more methods have the same name but different
parameters in the same class. Overriding occurs when the method signature (name and
parameters) are the same in both superclass and child class.
Ans. Static keywords are used with block, variable, method and nested classes for the
purpose of memory management as follows:
It can have both methods: abstract and It can only have abstract methods. It can
non-abstract. also have default and static methods since
Java 8.
An abstract class can have final, It can only have static and final variables.
non-final, non-static and static variables.
5) Abstract keyword is used for declaing The interface keyword is used for declaring
abstract class. the interface.
6) It can extend another Java class and It can only extend another Java interface.
can also implement multiple Java
interfaces.
7) An abstract class can be extended An interface can be implemented using
using keyword “extends”. keyword “implements”.
8) A Java abstract class can have By default, the members of Java interface
private, protected, etc as class are public.
members
Ans. Yes, it is possible to implement multiple interfaces in a single Java class. Java
supports multiple inheritance through interfaces, allowing a class to inherit or implement
multiple interfaces.
Ans. To implement multiple interfaces, you can use the implements keyword that are
followed by comma-separated list of interface names. The class must provide
implementations for all the methods declared in each interface it implements. Here is an
example demonstrating the implementation of multiple interfaces:
}
In the above example, MyClass is implementing three interfaces: Interface1, Interface2,
and Interface3. It is required to provide implementations for all the methods defined in
each interface.
By implementing multiple interfaces, a Java class can inherit and use the methods and
behaviors defined in each interface, allowing for greater flexibility and code reuse.
Answer:-
Talk about your final year project. Focus on your contribution to the project, what work you
did, how you completed your tasks, problems you faced, etc. The interviewer will also ask
about your teamwork and leadership skills from this question.
Question 11:- What is call by value and call by reference in C Programming language?
Answer:-
We can pass value to function by two different ways: call by value and call by reference.
In case of call by value, a copy of value is passed to the function, so original value is not
modified in the call by value.
But in case of call by reference, an address of value is passed to the function, so original
value is modified in the call by reference.
Answer:-
Global variables are globally accessible. Java does not support globally accessible variables
due to following reasons:
1)The global variables breaks the referential transparency
Answer:-
Method overloading: When a method in a class having the same method name with different
arguments is said to be method overloading.
Method overriding: When a method in a class having the same method name with same
arguments is said to be method overriding.
Answer:-
A constructor is a member function of a class that is used to create objects of that class. It
has the same name as the class itself, has no return type, and is invoked using the new
operator.
A method is an ordinary member function of a class. It has its own name, a return type (which
may be void), and is invoked using the dot operator.
advantages?
Answer:-
● reusability of code
● accessibility of variables and methods of the super class by subclasses.
Answer:-
SQL stands for Structured Query Language, and is the most important data processing
language in use today. It is not a complete programming language like Java or C#, but a data
sublanguage used for creating and processing database data and metadata. All DBMS
products today use SQL.
Answer:-
Using recursion, one function can be called multiple times. This reduces the code length,
reducing the overall complexity of the program.
number or not.
Ans. To create a thread, you can declare a variable of that thread class or you can use
new to create one. To run a thread, you have to call ThreadFunc() of that thread. The
thread will terminate when the execution of a thread reaches the return point or
executes the call to Exit().
Ans. BRD is focused on the requirements of business and stakeholders and why these
requirements are being taken. It is used in the initiation phases. On the other hand, SRS
focuses on both functional and non-functional requirements to understand what
requirements are being taken. It is used in the planning phases.
Ans. API’s test environment takes effort to set up. To set this test environment, you will
need the configuration of the database and server. This will depend on the requirement
of the software. Once the installation process is complete, you will need API verification
for the proper operation. During this process, the API that is called from the original
environment is set up with various parameters in order to study the test results.
Ans. First of all, we will choose the suite for adding the API test case. After that, we will
choose a test development mode. Now, demand the development of test cases for
needed API methods. Configure the application’s control parameters and then test the
conditions. Now, configure method validation and then, execute the API test. Check the
test reports and then filter the API test cases. In the end, arrange every API test case.
Q5. What is a use case and which process do you follow to make it?
Ans. The use case is a methodology that is used for identifying, clarifying and
organizing system requirements during system analysis. It is a set of sequences related
to a goal that are possible between users and systems in a particular environment. The
use case is available as a document for user reference so that the user can take the
necessary steps to complete an activity. Through the use case document, you can
identify areas of error during a transaction. There are three essential elements in every
use case:
Actor: It is the system user (one or more) that is interacting with the process.
System. Steps were taken to reach the goal. This includes the necessary functional
requirements and the anticipated behaviour.
Ans. We must understand our client’s business model to accurately understand their
requirements. Along with that, we must pay attention to what they are trying to say.
Their words will convey what they need. According to that, create a plan and get it
confirmed by the client. Revise the plan if there are still more requirements that are not
included in the plan.
Ans. Pandas is an open-source software library that is used for data manipulation and
analysis in Python. This library offers several data structures and operations.
Pandas provide various methods including ’empty’, ‘axes’, ‘values’, ‘size’, head()
and tail(). It can deal with different file types.
Answer:-
Answer:-
Virtual inheritance is a C++ mechanism that assures that grandchild-derived classes inherit
only one copy of a base class’s member variables. If two classes B and C inherit from a class
A, and class D inherits from both B and C, D will include two copies of A’s member variables:
one via B and the other via C. Using scope resolution, these will be available independently.
Answer:-
JDBC is a set of Java API for executing SQL statements. This API consists of a set of classes
and interfaces to enable programs to write pure Java Database applications.
Answer:-
● Mutual Exclusion: Only one process may use a critical resource at a time.
● Hold & Wait: A process may be allocated some resources while waiting for others.
● No Pre-emption: No resource can be forcible removed from a process holding it.
● Circular Wait: A closed chain of processes exist such that each process holds at least
one resource needed by another process in the chain.
Answer:-
● Long term scheduler determines which programs are admitted to the system for
processing. It controls the degree of multiprogramming. Once admitted, a job
becomes a process.
● Medium term scheduling is part of the swapping function. This relates to processes
that are in a blocked or suspended state. They are swapped out of real-memory until
they are ready to execute. The swapping-in decision is based on
memory-management criteria.
● Short term scheduler, also know as a dispatcher executes most frequently, and makes
the finest-grained decision of which process should execute next. This scheduler is
invoked whenever an event occurs. It may lead to interruption of one process by
preemption.
Answer:-
Diamond problem also known as deadly diamond problem or deadly diamond of death,
occurs when multiple inheritance is conducted in JAVA. JAVA does not support multiple
inheritance, and therefore consequently leads to a compilation error if attempted.
Answer:-
AVL stands for Adelson Velskii and Landis. In a binary search tree, if the difference between
height of the left and right subtrees is at most one, it is known as AVL tree.
Answer:-
Answer:-
Overflow errors occur when a program is given an input outside its scope.
Answer:-
● Program in C
● Program in C++
● Program in JAVA
● Program in Python