Upload Button Icon Add office photos

Accenture

Compare button icon Compare button icon Compare

Filter interviews by

Accenture MVC Developer Interview Questions and Answers

Updated 7 Sep 2021

Accenture MVC Developer Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. From MVC- 1) Objective of last project. 2) MVC SDLC. 3) What is routing. 4) What is Bundling and Meanification 5) Type of filter and how used in projects. 6) H...
  • Ans. 

    Interview questions for MVC Developer and C#

    • Objective of last project in MVC

    • MVC SDLC and its phases

    • Routing in MVC and its importance

    • Bundling and Minification of files in MVC

    • Types of filters and their usage in projects

    • Lecture types of controller action methods

    • Usage of exception and authorization filters

    • Reflection and its usage in C#

    • SOLID principles and their examples

    • Dependency Injection and its importance

    • Threading and a...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Answere every question very smoothly. If not knowing, say as I am uable to recall.

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
1
Bad
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Jan 2025.

Round 1 - Coding Test 

A sequence was provided: 4181, 2684, 1597, 987, 610.
first 2 are given and write code for other value calculation using java 8

The second question required writing a reverse of a palindrome using both Java 8 streams. I was able to successfully write both and clear the first round.

Round 2 - Technical 

(6 Questions)

  • Q1. Interviewer was himself not knowing anything as it was walkin drive he was sitting infront of me and checking questions on phone Introduction that he inturrepted in between when I was introducing myself
  • Q2. What are the features of Java 17, specifically related to sealed classes, including their syntax and necessity, along with the potential errors encountered when invoking a sealed class?
  • Ans. 

    Java 17 introduces sealed classes to restrict inheritance and improve code maintainability.

    • Sealed classes are declared using the 'sealed' keyword followed by the permitted subclasses.

    • Subclasses of a sealed class must be either final or sealed themselves.

    • Errors may occur when trying to extend a sealed class with a non-permitted subclass.

  • Answered by AI
  • Q3. Java 8 feathers stream api, functional interface, Intermittent operator ,Ternary operator, Prediction,Bi predicate. Answered all successfully
  • Q4. Draw low level design of implementation of notify me if item is back in stock in a ecommerce application
  • Ans. 

    Implementation of 'notify me if item is back in stock' feature in an ecommerce application

    • Create a database table to store user notifications for out-of-stock items

    • Implement a service to check item availability and send notifications to subscribed users

    • Provide a user interface for users to subscribe to notifications for specific items

  • Answered by AI
  • Q5. All design patterns which I know. Asked me to implement adapter pattern on paper
  • Q6. Then given a problem that concurrent way perform operation on excell to decrease the response time

Interview Preparation Tips

Interview preparation tips for other job seekers - I always suggest staying away from these companies commonly referred to as WITCH (Wipro, Infosys, TCS, Cognizant, HCL). You will rarely encounter good interviewers there unless there is an extreme necessity. Interview was judging me on the basis of syntex by seeing in his phone. How can everyone write each and everything on copy. For the low level design first time in my 6 years carrier someone asked to design without using kafka or any other library like spring boot to achieve that add in reminder list problem 😂. At first it was my bad after holding a offer of almost 27 lakh I somehow agreed for giving interview. Second thing I also know that after Even clearing they cannot afford 30LPA which I asked. I just went there because from last 6.5 year I have never attended any walking or face to face interview so was curious for it. Currently also working with somewhat premium product development company only. My experience was very bad. May be it can get vary person to person.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(22 Questions)

  • Q1. API Gateway implementation
  • Ans. 

    API Gateway implementation is a centralized service that routes, manages, and secures API calls.

    • API Gateway acts as a single entry point for all API calls

    • It can handle authentication, rate limiting, caching, and request/response transformations

    • Examples include AWS API Gateway, Apigee, Kong

  • Answered by AI
  • Q2. Circuit breaker implementation
  • Ans. 

    Circuit breaker is a design pattern used to prevent system overload by temporarily stopping requests to a failing service.

    • Circuit breaker monitors requests to a service and opens when the service fails repeatedly.

    • It helps prevent cascading failures and allows the system to gracefully degrade.

    • Once the circuit breaker is open, it can periodically check if the service has recovered before allowing requests again.

  • Answered by AI
  • Q3. What is deadlock? How to avoid it?
  • Ans. 

    Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.

    • Avoid circular wait by ensuring processes request resources in the same order.

    • Prevent hold and wait by requiring processes to request all needed resources at once.

    • Implement a timeout mechanism to break potential deadlocks.

    • Use resource allocation graphs to detect and prevent deadlocks.

    • ...

  • Answered by AI
  • Q4. Explain equals() method
  • Ans. 

    The equals() method is used to compare the contents of two objects for equality.

    • The equals() method is a method of the Object class in Java.

    • It is used to compare the contents of two objects for equality.

    • The default implementation of equals() in the Object class compares memory addresses, so it is often overridden in custom classes to compare content.

    • Example: String class overrides equals() method to compare the content

  • Answered by AI
  • Q5. How mongodb was integrated in your application?
  • Ans. 

    MongoDB was integrated in the application by using the official Java driver and configuring connection settings.

    • Used the official MongoDB Java driver to interact with the database

    • Configured connection settings such as host, port, database name, and authentication credentials

    • Implemented CRUD operations using MongoDB Java driver methods

    • Utilized MongoDB aggregation framework for complex queries

  • Answered by AI
  • Q6. What is hibernate?
  • Ans. 

    Hibernate is an open-source Java framework that simplifies the development of database interactions in Java applications.

    • Hibernate is an Object-Relational Mapping (ORM) tool that maps Java objects to database tables.

    • It provides a way to perform database operations using Java objects instead of writing SQL queries.

    • Hibernate handles the mapping of Java classes to database tables and vice versa, as well as the generation ...

  • Answered by AI
  • Q7. Runnable vs Callable interface
  • Ans. 

    Runnable is a functional interface with a single run() method, while Callable is a functional interface with a single call() method.

    • Runnable is used for tasks that do not return a result, while Callable is used for tasks that return a result.

    • Callable can throw checked exceptions, while Runnable cannot.

    • Callable returns a Future object, which can be used to retrieve the result of the computation.

    • Example: Runnable - execu...

  • Answered by AI
  • Q8. Which type of data is returned by Callable interface?
  • Ans. 

    The Callable interface in Java returns a Future object.

    • Callable interface returns a Future object which represents the result of a computation that may not be available yet.

    • The Future object can be used to retrieve the result of the computation, check if it is done, or cancel the computation.

    • Example: Callable<Integer> task = () -> { return 42; }

  • Answered by AI
  • Q9. HashMap internal working
  • Q10. Concurrent HashMap internal working
  • Q11. How to monitor health of your application?
  • Ans. 

    Monitor application health using metrics, logs, alerts, and performance monitoring tools.

    • Use monitoring tools like Prometheus, Grafana, or New Relic to track key metrics such as CPU usage, memory usage, response times, and error rates.

    • Implement logging to record important events and errors in your application. Use tools like ELK stack (Elasticsearch, Logstash, Kibana) for log analysis.

    • Set up alerts to notify you of any...

  • Answered by AI
  • Q12. How to call an API in a Microservice architecture?
  • Ans. 

    To call an API in a Microservice architecture, use HTTP requests or messaging protocols like gRPC.

    • Use HTTP requests to communicate between microservices

    • Implement RESTful APIs for easy integration

    • Leverage messaging protocols like gRPC for efficient communication

    • Consider using service discovery mechanisms for dynamic API calls

  • Answered by AI
  • Q13. Explain Profiles
  • Ans. 

    Profiles in Java are configurations that define the capabilities of a Java platform.

    • Profiles allow developers to target specific types of devices or applications.

    • They help in reducing the size of the Java runtime environment by including only the necessary APIs.

    • Examples include Java SE Embedded Profile for embedded devices and Java SE Compact Profile for resource-constrained environments.

  • Answered by AI
  • Q14. What is OpenFeign, and how is it used in microservices architecture?
  • Ans. 

    OpenFeign is a declarative web service client used to simplify the process of making HTTP requests in microservices architecture.

    • OpenFeign allows developers to define RESTful web services as interfaces and automatically generate the necessary implementation code.

    • It integrates seamlessly with Spring Cloud and other microservices frameworks to facilitate communication between services.

    • OpenFeign supports features like loa...

  • Answered by AI
  • Q15. What is the implementation process for service registry and discovery?
  • Ans. 

    Service registry and discovery involves registering services and allowing clients to discover and connect to them.

    • Implement a service registry where services can register themselves with metadata

    • Use a service discovery mechanism for clients to find and connect to services

    • Implement health checks to ensure services are available and healthy

    • Use a load balancer to distribute traffic among multiple instances of a service

  • Answered by AI
  • Q16. What are Spring boot actuators?
  • Ans. 

    Spring Boot Actuators are built-in tools that provide insight into the running application.

    • Actuators expose various endpoints to monitor and manage the application.

    • They can be used to check health, metrics, environment details, and more.

    • Examples include /actuator/health, /actuator/metrics, and /actuator/env.

  • Answered by AI
  • Q17. Synchronous vs Asynchronous communication
  • Ans. 

    Synchronous communication is blocking, while asynchronous communication is non-blocking.

    • Synchronous communication waits for a response before continuing, while asynchronous communication does not wait.

    • Examples of synchronous communication include traditional function calls, while examples of asynchronous communication include callbacks and promises.

    • Synchronous communication can lead to performance issues if there are d...

  • Answered by AI
  • Q18. Explain Synchronized keyword
  • Ans. 

    Synchronized keyword is used in Java to control access to shared resources by multiple threads.

    • Synchronized keyword can be applied to methods or code blocks to ensure only one thread can access the synchronized code at a time.

    • It prevents race conditions and ensures thread safety by creating a lock on the object or class.

    • Example: synchronized void myMethod() { // synchronized code block }

  • Answered by AI
  • Q19. What are the consequences of excessively using synchronized blocks and methods in Java?
  • Ans. 

    Excessive use of synchronized blocks and methods in Java can lead to performance issues and potential deadlocks.

    • Decreased performance due to increased contention for locks

    • Potential deadlocks if multiple threads are waiting for each other to release locks

    • Increased complexity and difficulty in debugging and maintaining code

    • Use synchronized sparingly and consider alternatives like ConcurrentHashMap or Lock interface

  • Answered by AI
  • Q20. How can you determine the number of threads needed for your application?
  • Ans. 

    The number of threads needed for an application can be determined based on factors like the type of tasks, hardware resources, and performance requirements.

    • Consider the type of tasks your application needs to perform - CPU-bound tasks may benefit from more threads, while I/O-bound tasks may not.

    • Take into account the hardware resources available - more threads may be beneficial on a multi-core processor compared to a si...

  • Answered by AI
  • Q21. Explain Executor framework
  • Ans. 

    Executor framework is a framework in Java that provides a way to manage and execute tasks asynchronously.

    • Allows for managing thread execution in a more efficient way

    • Provides a way to decouple task submission from task execution

    • Supports various types of executors like ThreadPoolExecutor and ScheduledExecutorService

    • Helps in handling tasks concurrently and asynchronously

  • Answered by AI
  • Q22. Explain BlockingQueue
  • Ans. 

    BlockingQueue is an interface in Java that represents a queue which supports operations that wait for the queue to become non-empty when retrieving an element and wait for space to become available in the queue when adding an element.

    • BlockingQueue is part of the java.util.concurrent package.

    • It is used for implementing producer-consumer scenarios where multiple threads are involved.

    • Methods like put() and take() are used...

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Why did you leave your previous company?
  • Ans. 

    Seeking new challenges and opportunities for growth.

    • Desire for career advancement

    • Looking for new challenges

    • Seeking better work-life balance

    • Company restructuring or downsizing

    • Relocation to a new area

  • Answered by AI
  • Q2. Other basic questions asked regarding the relevant skills and technologies I have worked with.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(8 Questions)

  • Q1. What improvements to interfaces were introduced in Java 8 that were missing in Java 7, specifically regarding static and default methods?
  • Ans. 

    Java 8 introduced static and default methods in interfaces, allowing for method implementation and code reusability.

    • Java 8 introduced static methods in interfaces, allowing for method implementation directly in the interface itself.

    • Default methods were also introduced in Java 8, enabling interfaces to have method implementations without affecting implementing classes.

    • Static methods in interfaces can be called using the...

  • Answered by AI
  • Q2. Explain internal working of HashMap ? How to synchronize it ?
  • Ans. 

    HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

    • HashMap uses an array of linked lists to store key-value pairs.

    • When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.

    • If multiple keys hash to the same index, a linked list is used to handle collisions.

    • To synchronize a HashMap, you can use the synchronizedMap() m...

  • Answered by AI
  • Q3. Given a list of employees with their ratings, how can you sort the employees based on their ratings using the Java 8 Streaming API?
  • Q4. Will the program compile if the parent class throws a runtime exception while the child class throws an arithmetic exception?
  • Ans. 

    No, the program will not compile if the parent class throws a runtime exception while the child class throws an arithmetic exception.

    • In Java, if a parent class method throws a checked exception, the child class method can only throw the same exception or its subclasses.

    • ArithmeticException is an unchecked exception, so if the parent class throws a checked exception and the child class throws an unchecked exception, the ...

  • Answered by AI
  • Q5. In a Spring Boot application with two databases, how can you configure JDBC to specify which database to use?
  • Ans. 

    Configure JDBC in Spring Boot to specify which database to use

    • Define multiple DataSource beans in the configuration class

    • Use @Primary annotation to specify the primary DataSource

    • Use @Qualifier annotation to specify the secondary DataSource

    • Inject the DataSource beans where needed in the application

  • Answered by AI
  • Q6. How to use a jetty server in your spring boot application ?
  • Ans. 

    To use a Jetty server in a Spring Boot application, you can configure it as a dependency and customize its settings.

    • Add Jetty server dependency in your pom.xml file

    • Exclude Tomcat server dependency if it's included by default in Spring Boot

    • Configure Jetty server settings in application.properties or application.yml file

    • Example: Add Jetty dependency - <dependency> <groupId>org.springframework.boot</groupId...

  • Answered by AI
  • Q7. Difference between @RequestParam and @PathVariable ?
  • Ans. 

    RequestParam is used to extract query parameters from the URL, while PathVariable is used to extract values from the URI path.

    • RequestParam is used for query parameters in the URL, while PathVariable is used for values in the URI path.

    • RequestParam is optional, while PathVariable is required.

    • RequestParam is used with the @RequestParam annotation, while PathVariable is used with the @PathVariable annotation.

    • Example: @Requ...

  • Answered by AI
  • Q8. How would you handle a scenario where one microservice is awaiting a response from another microservice that is taking an extended time to respond?
  • Ans. 

    I would implement timeout mechanisms and retries to handle the scenario of one microservice awaiting a response from another microservice taking an extended time.

    • Implement timeout mechanisms in the calling microservice to limit the waiting time for a response.

    • Set up retry logic to automatically resend the request to the slow microservice if no response is received within the specified timeout period.

    • Use circuit breaker...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare the basics about Java 8 , Core Java , Springboot , Microservices and MySql.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Dec 2024. There were 5 interview rounds.

Round 1 - Aptitude Test 

An aptitude test is an assessment to measure a candidate mental aptitude/mental ability

Round 2 - Technical 

(3 Questions)

  • Q1. Can you briefly Tell us about yourself?
  • Ans. 

    I am a passionate software developer with 5 years of experience in web development and a strong background in computer science.

    • 5 years of experience in web development

    • Strong background in computer science

    • Passionate about software development

  • Answered by AI
  • Q2. What do you consider to be your strongest points?
  • Ans. 

    My strongest points include problem-solving skills, attention to detail, and ability to work well in a team.

    • Strong problem-solving skills - I enjoy tackling complex issues and finding creative solutions.

    • Attention to detail - I am meticulous in my work and strive for perfection in every task.

    • Team player - I collaborate effectively with colleagues, communicate openly, and contribute positively to group projects.

  • Answered by AI
  • Q3. Which programming languages do you use regularly in your work
  • Ans. 

    I regularly use Java, Python, and SQL in my work as a Software Developer.

    • Java

    • Python

    • SQL

  • Answered by AI
Round 3 - Group Discussion 

A group discussion is a structured conversation in which participants share their ideas, perspectives, and solutions on a specific topic.

Round 4 - HR 

(2 Questions)

  • Q1. What motivates you to seek employment at Wipro?
  • Ans. 

    I am motivated to seek employment at Wipro because of their reputation for innovation and opportunities for growth.

    • Impressed by Wipro's track record of delivering cutting-edge solutions

    • Excited about the chance to work with a diverse and talented team

    • Eager to take advantage of Wipro's professional development programs

  • Answered by AI
  • Q2. What are your long-term career goals?
  • Ans. 

    My long-term career goal is to become a lead software developer and eventually move into a management role.

    • Advance to a lead software developer position

    • Gain experience in managing a team of developers

    • Develop strong leadership and communication skills

    • Continue learning new technologies and staying updated with industry trends

  • Answered by AI
Round 5 - Assignment 

Assignment details refer to the specifics of an assignment, including any documents and/or emails or subsequent correspondence between the company and the client.

Interview Preparation Tips

Topics to prepare for Wipro Software Developer interview:
  • Your academic achievement
  • Responsibility related to your p
  • The way you address mistakes at
Interview preparation tips for other job seekers - Reflect on the activities you enjoy and what brings you happiness, while also taking into account your skills and strengths.
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Dec 2024.

Round 1 - HR 

(4 Questions)

  • Q1. Tell me about yourself. Why do you want to work here? What are your strengths and weaknesses? Why did you leave your previous job (or why are you looking for a new one)? Where do you see yourself in 5 year...
  • Q2. These questions help HR gauge how well you would fit into the company culture and how your experience aligns with the role. It's a good idea to prepare for them with specific examples from your past experi...
  • Q3. What are your strengths and weaknesses?
  • Q4. What motivates you to perform at your best?
Round 2 - Group Discussion 

Any one tell in gd in 5 minutes in english

Round 3 - Aptitude Test 

1. Numerical Reasoning
- Example: "If a car travels 60 km in 1 hour, how long will it take to travel 150 km at the same speed?"

2. **Verbal Reasoning**
- Example: "Which of the following words is most similar in meaning to 'elated'? (a) Sad (b) Happy (c) Angry (d) Tired"

3. **Logical Reasoning**
- Example: "If all cats are animals, and all animals are living beings, are all cats living beings? (True/False)"

4. **Data Interpretation**
- Example: "Given a graph showing sales data over the past 12 months, what was the highest monthly sales figure?"

5. **Pattern Recognition**
- Example: "What comes next in the series: 2, 4, 8, 16, __?"

6. **Mathematical Reasoning**
- Example: "If 3x + 4 = 19, what is the value of x?"

7. **Spatial Reasoning**
- Example: "Which shape is different from the others: Square, Circle, Triangle, Rectangle?"

8. **Time and Work Problems**
- Example: "If A can finish a task in 5 days and B can finish the same task in 10 days, how long will it take for both A and B to complete the task together?"

Round 4 - Case Study 

Tell me about yourself.
Why do you want to work here?
What are your strengths and weaknesses?
Why did you leave your previous job (or why are you looking for a new one)?
Where do you see yourself in 5 years?
Can you describe a time when you faced a challenge at work and how you handled it?
How do you prioritize your tasks?
What motivates you?
How do you handle working under pressure or tight deadlines?
What are your salary expectations?
How do you deal with conflict in the workplace?
Do you prefer working independently or as part of a team?
These questions help HR gauge how well you would fit into the company culture and how your experience aligns with the role. It's a good idea to prepare for them with specific examples from your past experie
The Aptitude test typically includes questions that assess your logical reasoning, problem-solving skills, and ability to think critically. It can cover a wide range of topics depending on the job you're applying for, but here are some common types of questions you might encounter:

Numerical Reasoning

Example: "If a car travels 60 km in 1 hour, how long will it take to travel 150 km at the same speed?"
Verbal Reasoning

Example: "Which of the following words is most similar in meaning to 'elated'? (a) Sad (b) Happy (c) Angry (d) Tired"
Logical Reasoning

Example: "If all cats are animals, and all animals are living beings, are all cats living beings? (True/False)"
Data Interpretation

Example: "Given a graph showing sales data over the past 12 months, what was the highest monthly sales figure?"
Pattern Recognition

Example: "What comes next in the series: 2, 4, 8, 16, __?"
Mathematical Reasoning

Example: "If 3x + 4 = 19, what is the value of x?"
Spatial Reasoning

Example: "Which shape is different from the others: Square, Circle, Triangle, Rectangle?"
Time and Work Problems

Example: "If A can finish a task in 5 days and B can finish the same task in 10 days, how long will it take for both A and B to complete the task together?"
To prepare, it's helpful to practice problems in these areas. Many online platforms offer free aptitude tests to help you improve your skills before the actual test.


Case study
In a case study interview, you'll be given a real-world business problem and asked to analyze the situation and come up with solutions or recommendations. The goal is to evaluate your problem-solving, analytical thinking, and decision-making abilities.

Round 5 - Coding Test 

**Coding tests** are commonly used in technical interviews to evaluate your programming skills. These tests usually involve solving algorithmic problems, debugging code, or writing efficient code to handle certain tasks. Here are the general types of coding tests you might encounter:

### 1. **Algorithm and Data Structure Questions:**
These focus on your ability to use algorithms and data structures to solve problems efficiently.
- **Sorting and Searching**
Example: Implement a sorting algorithm like QuickSort or MergeSort, or write a binary search function.
- **Linked Lists**
Example: Reverse a linked list or detect a cycle in a linked list.
- **Trees and Graphs**
Example: Find the height of a binary tree, or perform a breadth-first search (BFS) or depth-first search (DFS) on a graph.
- **Dynamic Programming**
Example: Solve problems like the Fibonacci sequence, the knapsack problem, or longest common subsequence.
- **Recursion**
Example: Write a function that calculates factorials or solves the Towers of Hanoi problem.

### 2. **String Manipulation:**
These problems test your ability to handle and manipulate strings efficiently.
- Example: Write a function to check if a string is a palindrome, or find the longest substring without repeating characters.

### 3. **Mathematical Problems:**
These involve solving problems with mathematical concepts.
- Example: Check if a number is prime, or find the greatest common divisor (GCD) of two numbers.

### 4. **Array and Matrix Problems:**
These involve operations and algorithms on arrays or matrices.
- Example: Rotate a matrix, find the maximum sum subarray (Kadane’s algorithm), or merge two sorted arrays.

### 5. **Problem Solving with Constraints:**
In some cases, you may be given a problem where you need to optimize for time or space complexity.
- Example: Write an algorithm that finds the shortest path in a maze with obstacles, and ensure that it runs in O(n log n) time.

### 6. **Debugging:**
In some coding tests, you might be asked to debug a given piece of code that’s producing errors or incorrect output.

### 7. **Object-Oriented Design:**
These questions test your ability to design systems and classes using object-oriented principles.
- Example: Design a class to represent a library system, or implement a parking lot with multiple types of vehicles.

---

### Tips for Coding Tests:

1. **Understand the Problem:**
- Read the problem statement carefully before jumping into writing code.
- Clarify the input, output, and constraints with the interviewer (if needed).

2. **Plan Your Approach:**
- Before writing code, think about the algorithm you’ll use and the time/space complexity.
- Break down the problem into smaller steps and outline your solution.

3. **Write Clean, Efficient Code:**
- Focus on writing readable and efficient code.
- Optimize your solution to handle edge cases and large input sizes.

4. **Test Your Solution:**
- Test your code with sample inputs, including edge cases (empty input, large numbers, etc.).

5. **Communicate Your Thought Process:**
- As you write your code, explain your approach to the interviewer. This shows your problem-solving process.

### Example Coding Problem:

**Problem:**
Write a function to find the "Nth" Fibonacci number.

**Solution:**
```python
def fibonacci(n):
if n <= 1:
return n
a, b = 0, 1
for i in range(2, n+1):
a, b = b, a + b
return b
```

**Explanation:**
- The Fibonacci sequence starts with 0 and 1, and each subsequent number is the sum of the two preceding ones.
- We use an iterative approach to calculate the Fibonacci number at the nth position.

### Practice Platforms:
To prepare for coding tests, you can practice on the following platforms:
- **LeetCode**
- **HackerRank**
- **CodeSignal**
- **Codewars**
- **Exercism**

These platforms provide a wide variety of problems to improve your coding skills and familiarize yourself with common interview questions.

Round 6 - Assignment 

An **assignment** in the context of a job or academic setting is typically a task or project that you're asked to complete as part of your evaluation. The nature of the assignment will depend on the type of role or course you're involved with. Below are a few types of assignments you might encounter, along with how you can approach them:

### 1. **Technical Assignment (for a tech role)**
If you're applying for a technical position (like software engineering or data science), you might be given a coding or algorithm-based task. This could include:
- **Building a program or web app**: You might be asked to create a simple application, implement an algorithm, or design a feature based on the company’s needs.
- **Data Analysis**: Given a dataset, you may be required to clean, analyze, and extract insights from it using tools like Excel, SQL, Python, or R.
- **Problem-Solving Tasks**: Solve algorithmic problems or complete coding challenges (similar to those in a coding interview).

**Approach:**
- **Understand the requirements**: Read the assignment carefully, understand the scope, and ask any questions if something isn’t clear.
- **Plan your solution**: Break down the task into smaller steps. Plan your code, database queries, or analysis method.
- **Test thoroughly**: Ensure your code or solution works with a variety of inputs, including edge cases.
- **Document your work**: Include comments in your code, and provide a brief explanation of your approach and thought process.

---

### 2. **Business Assignment (for a business role)**
In a business-related position, the assignment could involve:
- **Case Studies**: You may be given a hypothetical business problem, like a company facing challenges in sales or operations. You'll need to analyze the issue, suggest solutions, and present them clearly.
- **Market Research**: Conduct research about an industry or competitors, analyze trends, and compile a report with insights and recommendations.
- **Business Strategy**: Devise a strategy to help a company grow, expand its market, or improve operations.

**Approach:**
- **Identify key issues**: Make sure to fully understand the business problem, and highlight any key challenges.
- **Gather data**: Use relevant data, facts, or market trends to support your arguments.
- **Develop a solution**: Propose actionable solutions with clear reasoning, potential risks, and benefits.
- **Present your findings**: Structure your report or presentation logically, and be ready to defend your solution.

---

### 3. **Design or Creative Assignment**
For roles in design (graphic design, UX/UI, etc.), the assignment may involve:
- **Creating visual designs**: You could be tasked with designing logos, web pages, or app interfaces.
- **Developing a brand concept**: Designing a complete branding package, such as a logo, color scheme, and typography.
- **Wireframing or Prototyping**: Designing a prototype for a mobile or web application.

**Approach:**
- **Understand the brand or problem**: Research the company or product and ensure your design aligns with its values, audience, and goals.
- **Sketch or wireframe first**: Create initial mock-ups or wireframes before jumping into the final design.
- **Seek feedback**: If possible, get feedback from others to improve your design.
- **Present your design**: Provide context on how your design decisions align with the brand or project goals.

---

### 4. **Writing Assignment**
In fields like marketing, journalism, or academia, writing assignments are common. These might include:
- **Content creation**: Write a blog post, article, or social media content.
- **Research paper or essay**: You may be asked to write a research paper, analysis, or essay on a particular topic.
- **Copywriting**: Write persuasive copy for advertisements, websites, or product descriptions.

**Approach:**
- **Research thoroughly**: Understand the topic you're writing about, and gather credible sources or data.
- **Create an outline**: Organize your thoughts logically before writing the full content.
- **Write and revise**: Draft the assignment, then revise it for clarity, conciseness, and flow.
- **Proofread**: Make sure your writing is free of grammar or spelling errors.

---

### General Tips for Completing an Assignment:

- **Time Management**: Plan your time carefully. Break down the assignment into smaller tasks and set deadlines for each task.
- **Quality over Quantity**: Focus on providing a well-thought-out solution rather than rushing to complete a lot of work.
- **Seek Feedback**: If you're unsure about your approach, don't hesitate to ask for feedback from colleagues, peers, or mentors.
- **Polish Your Presentation**: Whether it's a report, code, or design, make sure your final deliverable is polished and easy to understand.

---

Would you like more specific guidance on a particular type of assignment you're working on?

Interview Preparation Tips

Interview preparation tips for other job seekers - 1. **Customize Your Resume and Cover Letter**: Tailor your resume and cover letter for each job you apply to. Highlight relevant skills and experiences that align with the job description.

2. **Network**: Connect with professionals in your industry, attend events, and use platforms like LinkedIn. Networking can open doors to unadvertised opportunities.

3. **Research Employers**: Before applying, research the company’s culture, values, and work environment. This will help you tailor your application and perform better in interviews.

4. **Stay Organized**: Keep track of the jobs you've applied to, the deadlines, and any follow-up actions. A job search can get overwhelming, so organization is key.

5. **Prepare for Interviews**: Practice common interview questions, research the company thoroughly, and have questions ready for the interviewer. Confidence and preparedness go a long way.

6. **Stay Persistent and Positive**: Job hunting can be tough, and rejection is part of the process. Stay motivated, keep improving your skills, and remain positive.

7. **Develop New Skills**: If you’re not landing the roles you want, consider taking online courses or certifications that can boost your qualifications and make you more marketable.

8. **Leverage Social Media**: Showcase your expertise by sharing articles, insights, or personal projects on LinkedIn. Employers sometimes use social media to find candidates.

Is there a particular area of the job search you’re focusing on? I can offer more targeted advice!
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Given an array {1, 2, 1, 4, 5, 4, 8, 7}, how can you use Streams to remove duplicates while retaining only the even numbers?
  • Ans. 

    Use Streams to remove duplicates and retain only even numbers from an array.

    • Convert the array to a stream using Arrays.stream()

    • Use distinct() to remove duplicates

    • Filter out odd numbers using filter()

    • Collect the result using collect(Collectors.toList())

  • Answered by AI
  • Q2. What is the use of Static and final when you will use Static methods
  • Ans. 

    Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.

    • Static methods belong to the class itself, not to any specific instance

    • Final keyword ensures that the method cannot be overridden in subclasses

    • Static methods are commonly used for utility methods that do not require access to instance variables

    • Example: Math class in Java has static methods like Ma

  • Answered by AI
  • Q3. What is the difference between @restController and @controller Annotation
  • Ans. 

    The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.

    • RestController is a specialized version of Controller used for RESTful web services

    • RestController eliminates the need for @ResponseBody annotation

    • Controller is used for traditional MVC controller functionality

    • RestController returns data directly without needing to go through a view resolve...

  • Answered by AI
  • Q4. What is microservices why we use it
  • Ans. 

    Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.

    • Microservices allow for easier scalability and maintenance of complex applications.

    • Each service in a microservices architecture can be developed, deployed, and scaled independently.

    • Microservices promote flexibility and agility in software development.

    • Examples of companies us...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Java Developer interview:
  • Java SpringBoot
Interview preparation tips for other job seekers - Need to have strong knowledge on basics Java Spring boot and Microservices
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. Project based questions
  • Q2. Scenario based question (multithreading and caching related scenarios were asked to me)
  • Q3. One coding challenge

Interview Preparation Tips

Interview preparation tips for other job seekers - Questions vary from team to team.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected
Round 1 - Technical 

(2 Questions)

  • Q1. Different types of streams based questions
  • Q2. Collection , competable future, java 8 features
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(9 Questions)

  • Q1. Transactions in springboot
  • Ans. 

    Transactions in Spring Boot manage database operations as a single unit of work to ensure data integrity.

    • Spring Boot provides support for declarative transaction management using @Transactional annotation.

    • Transactions can be configured at class or method level.

    • Transactions can be rolled back in case of exceptions to maintain data consistency.

    • Example: @Transactional annotation on a service method ensures that all databa...

  • Answered by AI
  • Q2. Difference between arraylist and linked list
  • Ans. 

    ArrayList is resizable array implementation, LinkedList is doubly linked list implementation.

    • ArrayList uses dynamic array to store elements, LinkedList uses doubly linked list.

    • ArrayList is faster for accessing elements by index, LinkedList is faster for adding/removing elements.

    • Example: ArrayList arrList = new ArrayList<>(); LinkedList linkedList = new LinkedList<>();

Answered by AI
  • Q3. How REST API used
  • Ans. 

    REST API is used to communicate between client and server using HTTP methods like GET, POST, PUT, DELETE.

    • REST API allows clients to access and manipulate resources on a server using standard HTTP methods.

    • It uses URLs to identify resources and HTTP methods to perform actions on those resources.

    • Common HTTP methods used in REST API are GET (retrieve data), POST (create data), PUT (update data), DELETE (remove data).

    • REST A...

  • Answered by AI
  • Q4. Annotations in springboot
  • Ans. 

    Annotations in Spring Boot are used to provide metadata about the application and its components.

    • Annotations are used to configure Spring Boot applications, define beans, handle requests, etc.

    • Examples include @SpringBootApplication, @RestController, @Autowired, @RequestMapping, etc.

  • Answered by AI
  • Q5. Features of java 8
  • Ans. 

    Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods in interfaces.

    • Lambda expressions allow for more concise code and enable functional programming.

    • Functional interfaces are interfaces with a single abstract method, used for lambda expressions.

    • Streams provide a way to work with collections of objects in a functional style.

    • Default methods in interfaces ...

  • Answered by AI
  • Q6. How interface is implemented in java
  • Ans. 

    Interfaces in Java are implemented using the 'implements' keyword, allowing classes to provide specific implementations for methods defined in the interface.

    • Interfaces in Java define a contract for classes to implement, specifying method signatures without implementations.

    • A class can implement multiple interfaces by separating them with commas.

    • Classes implementing an interface must provide concrete implementations for ...

  • Answered by AI
  • Q7. How stream API works
  • Ans. 

    Stream API in Java provides a way to process collections of objects in a functional style.

    • Stream API allows for functional-style operations on collections like map, filter, reduce, etc.

    • It supports lazy evaluation, meaning operations are only performed when needed.

    • Streams can be sequential or parallel, depending on the source and operations used.

  • Answered by AI
  • Q8. Benefits of springboot over spring
  • Ans. 

    Spring Boot simplifies the setup and development of Spring applications by providing a convention-over-configuration approach.

    • Spring Boot eliminates the need for XML configuration by using annotations and sensible defaults.

    • It includes embedded servers like Tomcat, Jetty, or Undertow, making it easy to deploy standalone applications.

    • Auto-configuration feature reduces the amount of boilerplate code needed to set up a Spr...

  • Answered by AI
  • Q9. Difference between throw and throwable
  • Ans. 

    throw is a keyword used to explicitly throw an exception, while Throwable is a class that serves as the base class for all exceptions in Java.

    • throw is used to throw an exception in a method, while Throwable is the superclass of all exceptions in Java.

    • throw is followed by an instance of Throwable class or its subclasses, while Throwable is a class that provides common methods for handling exceptions.

    • Example: throw new N...

  • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Try to speak about one topic of more time it will increase the time of interview.

    Skills evaluated in this interview

    Tell us how to improve this page.

    Interview Questions from Similar Companies

    TCS Interview Questions
    3.7
     • 10.5k Interviews
    Infosys Interview Questions
    3.6
     • 7.6k Interviews
    Wipro Interview Questions
    3.7
     • 5.7k Interviews
    Cognizant Interview Questions
    3.8
     • 5.6k Interviews
    Capgemini Interview Questions
    3.7
     • 4.8k Interviews
    Tech Mahindra Interview Questions
    3.5
     • 3.9k Interviews
    HCLTech Interview Questions
    3.5
     • 3.8k Interviews
    Genpact Interview Questions
    3.8
     • 3.1k Interviews
    LTIMindtree Interview Questions
    3.8
     • 3k Interviews
    IBM Interview Questions
    4.0
     • 2.4k Interviews
    View all
    Application Development Analyst
    39k salaries
    unlock blur

    ₹3 L/yr - ₹12 L/yr

    Application Development - Senior Analyst
    27k salaries
    unlock blur

    ₹6.9 L/yr - ₹20.2 L/yr

    Team Lead
    24.3k salaries
    unlock blur

    ₹7.1 L/yr - ₹25.4 L/yr

    Senior Software Engineer
    18.3k salaries
    unlock blur

    ₹6 L/yr - ₹19.5 L/yr

    Software Engineer
    17.5k salaries
    unlock blur

    ₹3.6 L/yr - ₹12.9 L/yr

    Explore more salaries
    Compare Accenture with

    TCS

    3.7
    Compare

    Cognizant

    3.8
    Compare

    Capgemini

    3.7
    Compare

    Infosys

    3.6
    Compare
    Did you find this page helpful?
    Yes No
    write
    Share an Interview