Add office photos
Accenture logo
Employer?
Claim Account for FREE

Accenture

3.8
based on 56.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Software Developer
Fresher
Experienced
Clear (2)

10+ Accenture Software Developer Interview Questions and Answers for Freshers

Updated 13 Sep 2024

Q1. Maximum Subarray Sum Problem Statement

Given an array ARR consisting of N integers, your goal is to determine the maximum possible sum of a non-empty contiguous subarray within this array.

Example of Subarrays:...read more

Ans.

Find the maximum sum of a contiguous subarray in an array of integers.

  • Use Kadane's algorithm to find the maximum subarray sum efficiently.

  • Initialize two variables: maxEndingHere and maxSoFar.

  • Iterate through the array and update the variables accordingly.

  • Return the maxSoFar as the result.

Add your answer
right arrow

Q2. Ninja and Candies Problem

Ninja, a boy from Ninjaland, receives 1 coin every morning from his mother. He wants to purchase exactly 'N' candies. Each candy usually costs 2 coins, but it is available for 1 coin i...read more

Ans.

Calculate the earliest day on which Ninja can buy all candies with special offers.

  • Iterate through each day and check if any special offer is available for candies Ninja wants to buy

  • Keep track of the minimum day on which Ninja can buy all candies

  • Consider both regular price and sale price of candies

Add your answer
right arrow

Q3. Print Permutations - String Problem Statement

Given an input string 'S', you are tasked with finding and returning all possible permutations of the input string.

Input:

The first and only line of input contains...read more
Ans.

Return all possible permutations of a given input string.

  • Use recursion to generate all possible permutations of the input string.

  • Swap characters at different positions to generate different permutations.

  • Handle duplicate characters by skipping swapping if the characters are the same.

  • Return the list of permutations as an array of strings.

Add your answer
right arrow

Q4. Replace Character Problem Statement

Given an input string S and two characters 'c1' and 'c2', your task is to replace every occurrence of the character 'c1' with the character 'c2' in the given string.

Input:

L...read more
Ans.

Replace every occurrence of a character in a string with another character.

  • Iterate through the input string and replace 'c1' with 'c2' using string manipulation functions.

  • Return the updated string as the output.

Add your answer
right arrow
Discover Accenture interview dos and don'ts from real experiences

Q5. Arithmetic Expression Evaluation Problem Statement

You are provided with a string expression consisting of characters '+', '-', '*', '/', '(', ')' and digits '0' to '9', representing an arithmetic expression in...read more

Ans.

Evaluate arithmetic expressions in infix notation with given operators and precedence rules.

  • Parse the infix expression to postfix using a stack and then evaluate the postfix expression using another stack

  • Use a stack to keep track of operators and operands while parsing the expression

  • Handle operator precedence and associativity rules while converting to postfix and evaluating the expression

Add your answer
right arrow

Q6. Reverse Number Problem Statement

Ninja is exploring new challenges and desires to reverse a given number. Your task is to assist Ninja in reversing the number provided.

Note:

If a number has trailing zeros, the...read more

Ans.

Implement a function to reverse a given number, omitting trailing zeros.

  • Create a function that takes an integer as input and reverses it while omitting trailing zeros

  • Use string manipulation to reverse the number and remove any trailing zeros

  • Handle test cases where the number has leading zeros as well

  • Ensure the reversed number is printed for each test case on a new line

Add your answer
right arrow
Are these interview questions helpful?

Q7. Valid Parentheses Problem Statement

Given a string 'STR' consisting solely of the characters “{”, “}”, “(”, “)”, “[” and “]”, determine if the parentheses are balanced.

Input:

The first line contains an integer...read more
Ans.

The task is to determine if a given string of parentheses is balanced or not.

  • Iterate through the characters of the string and use a stack to keep track of opening parentheses.

  • When encountering an opening parenthesis, push it onto the stack. When encountering a closing parenthesis, check if it matches the top of the stack.

  • If the stack is empty at the end or there are unmatched parentheses, the string is not balanced.

  • Example: For input '{}[]()', the stack will contain '{', '[',...read more

Add your answer
right arrow

Q8. A link layer switch is involved in_____layers of the TCP/IP protocol suite. a.2 b.3 c.4 d.5

Ans.

A link layer switch is involved in which layers of the TCP/IP protocol suite?

  • A link layer switch operates at the data link layer (layer 2) of the TCP/IP protocol suite.

  • It is responsible for forwarding data packets between devices on the same network segment.

  • It does not operate at the network, transport, or application layers.

View 1 answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Program to check if string is palindrome or not.

Ans.

A program to check if a given string is a palindrome or not.

  • Remove all non-alphanumeric characters from the string

  • Convert the string to lowercase

  • Reverse the string and compare it with the original string

  • If they are the same, the string is a palindrome

View 1 answer
right arrow

Q10. Which is the oldest programming language?

Ans.

Fortran is the oldest programming language.

  • Fortran was developed in the 1950s by IBM.

  • It stands for Formula Translation.

  • It was primarily used for scientific and engineering calculations.

  • Other old programming languages include COBOL and Lisp.

Add your answer
right arrow

Q11. oops concept explanation

Ans.

Oops concept is a programming paradigm that focuses on objects and their interactions.

  • Oops stands for Object-Oriented Programming System

  • It emphasizes on encapsulation, inheritance, and polymorphism

  • Encapsulation is the process of hiding implementation details from the user

  • Inheritance allows a class to inherit properties and methods from another class

  • Polymorphism allows objects to take on multiple forms or behaviors

  • Example: Java, C++, Python are object-oriented programming lang...read more

Add your answer
right arrow

Q12. Different types coding test mcq

Ans.

The question is about different types of coding test MCQs.

  • MCQs are multiple-choice questions that test coding knowledge.

  • Different types of coding test MCQs can include questions on algorithms, data structures, programming languages, and problem-solving.

  • Examples of coding test MCQs include: 'What is the time complexity of a binary search?', 'Which data structure is best suited for implementing a queue?', 'What is the output of a specific code snippet?'

Add your answer
right arrow

Q13. any programming language

Ans.

I am proficient in Java programming language.

  • Strong understanding of object-oriented programming concepts

  • Experience with Java frameworks like Spring and Hibernate

  • Knowledge of Java libraries and tools like Maven and JUnit

Add your answer
right arrow

More about working at Accenture

Back
Awards Leaf
AmbitionBox Logo
Top Rated Mega Company - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated Company for Women - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated IT/ITES Company - 2024
Awards Leaf
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Accenture Software Developer for Freshers

based on 12 interviews
2 Interview rounds
Coding Test Round - 1
Coding Test Round - 2
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

Amazon Logo
4.1
 • 321 Interview Questions
View all
Recently Viewed
INTERVIEWS
Genpact
Fresher
20 top interview questions
INTERVIEWS
Infosearch BPO Services
No Interviews
INTERVIEWS
Accenture
5.6k top interview questions
INTERVIEWS
Accenture
No Interviews
INTERVIEWS
Accenture
100 top interview questions
INTERVIEWS
Genpact
No Interviews
INTERVIEWS
Genpact
200 top interview questions
INTERVIEWS
Publicis Sapient
10 top interview questions
INTERVIEWS
Genpact
10 top interview questions
DESIGNATION
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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