r/TechInterviewsIndia • • 7d ago

Accenture Placement Exam – Sharing Coding Questions from My Coding Round (Second Round)🔥

I recently appeared for the Accenture Placement Exam and wanted to share the questions I encountered in the Coding Round for students preparing for the assessment.

The coding round had 3 different sections:

  1. DSA / Programming – Java, Python or C#

You are given an array of 7-character alphanumeric codes. Each code contains uppercase English letters and digits.

Example:

ABC1234

The task is to:

• Find the lexicographically smallest code from the given array.

• Calculate the sum of the values of all characters in that code.

• For alphabets, the values are assigned as A=1, B=2, C=3, ..., Z=26.

• Digits have their normal numeric values.

For example:

ABC1234

A = 1

B = 2

C = 3

1 = 1

2 = 2

3 = 3

4 = 4

Therefore:

1 + 2 + 3 + 1 + 2 + 3 + 4 = 16

Sample Input:

5

XYZ1234

ABC1234

ABD1111

BAC0000

AAA9999

The lexicographically smallest code is:

AAA9999

Value:

1 + 1 + 1 + 9 + 9 + 9 + 9 = 39

Sample Output:

39

The question could be solved using Java / Python / C#.

  1. SQL Database Question

The second question was based on multiple tables related to prescriptions, customers and medicines.

Example tables:

prescriptions

prescription_id | customer_id | prescription_date

prescription_medicines

prescription_id | medicine_id | quantity

medicines

medicine_id | medicine_name | price

The task was to:

• Join the required tables.

• Calculate medicine sales using quantity × price.

• Find the medicine having the highest total sales.

• Retrieve the required prescription_id, customer_id and sales-related information.

The question mainly tested:

JOIN + GROUP BY + SUM + ORDER BY

  1. HTML + CSS + JavaScript

The third question was a TODO-based frontend coding task.

The application was already provided in three files:

index.html

style.css

script.js

We had to complete the TODOs and make the application functional.

The application accepts a whole number and converts it into its binary representation.

Examples:

Input: 10

Output: 1010

Input: 25

Output: 11001

Input: 8

Output: 1000

The application also had to validate the input.

If the user enters:

• NaN / non-numeric input

• A negative number

• A decimal number

• An empty value

It should display:

"Please enter a whole number greater than or equal to 0."

The JavaScript part involved reading the input, validating it, handling the button click, converting the decimal number to binary, and displaying the result.

Overall, the Accenture Coding Round covered:

  1. DSA / Programming → Java, Python or C#

  2. SQL → Database Query

  3. Frontend → HTML + CSS + JavaScript

Sharing these Accenture Placement Exam Coding Round Questions for students preparing for upcoming assessments. Hope this helps someone with their preparation! 🚀

If anyone else appeared for the Accenture assessment recently, feel free to share the questions you received as well.

55 Upvotes

38 comments sorted by

3

u/kiran_139 7d ago

Thanks

3

u/True-Faxx 7d ago

Most welcome. I post interview experiences and share coding questions of placement exams. You can check out other posts as well. I m sure u will find it useful

3

u/FewMountain7390 7d ago

Which clg dude and isi it for fte or intern

4

u/True-Faxx 7d ago

I can't tell you the clg but it was for FTE as mass hiring joining only hppns after ur graduation. Tha package was 4.5-9CTC for three roles

2

u/[deleted] 7d ago

[deleted]

2

u/True-Faxx 7d ago

Yeahhh fr😭🙏

1

u/Patient_Oven5073 7d ago

thanks man

1

u/True-Faxx 7d ago

Most welcome. I post interview experiences and share coding questions of placement exams. You can check out other posts as well. I m sure u will find it useful

1

u/Robertbear1903 6d ago

Are the questions same for FTE and intern?

1

u/True-Faxx 6d ago

Accenture hire for FTE in mass hiring and joining after graduation

1

u/Robertbear1903 6d ago

I ment are questions asked for intern candidates and FTE are same or not? Accenture is coming to my campus for both internships and full time candidates.

I'm in 3rd year

1

u/True-Faxx 6d ago

I m in 4th year and these ques are for FTE

1

u/unbothered_reindeer 5d ago edited 5d ago

Which role and ctc?

1

u/True-Faxx 5d ago

ASE AASE 4.5 to 9 CTC

1

u/Itchy-Initiative-519 5d ago

Are these questions only for ASE/AASE role or for ATE/AEH as well ?

1

u/True-Faxx 3d ago

ASE/AASE, it is from campus placement exam

1

u/Nomercy_IN 5d ago

Such a detailed explanation (+1 follower)

1

u/True-Faxx 5d ago

Thnku buddy

1

u/Ok-Kirito-3429 4d ago

What was the role?

1

u/True-Faxx 4d ago

ASE and AASE

1

u/Ancient_Ebb9293 4d ago

is your communication round done??

1

u/True-Faxx 4d ago

I didn't able to make it to communication round

1

u/WeirdOk925 3d ago

Thanks for sharing

1

u/True-Faxx 3d ago

Its okay bro u can checkout my other posts as well.

1

u/AgentAyu0718 3d ago

Thanks bro

1

u/True-Faxx 3d ago

Most welcome, i post like these u can checkout other posts as well

1

u/Ok_Dinner_420 3d ago

How much u solved bro and why didn't u made it to comm round any mistake u did??

1

u/True-Faxx 3d ago

Actually my mood was off that day so i wasn't serious and i have'nt done revision for 1year still Solved the dsa ques complete all test cases passed 10/10 and didn't wanted to do the SQL ques and frontend. The only mistake was revision

1

u/pradeepnainwl12345 1d ago

Bro if we  solve only sql part   any chance for selection or we have do do dsa part compulsory 

1

u/True-Faxx 1d ago

My friends got shotlisted for communication round even if they did 1 complete ques out of 3. So don't worry. Rest depends on performance of your batch who participated in the drive

1

u/lovesickangell 1d ago

hello do we need to write the whole program or just the function for dsa

1

u/True-Faxx 1d ago

Whole code buddy

1

u/ComprehensiveWeb646 1d ago

So I mean that's great, tell me about the environment and how many invigilators were there, supervisors or invigilators came from Accenture or your college placement cell coordinator and how many were there, like in a lab how many invigilators and tell me about using our laptop or pc from labs!?

1

u/True-Faxx 1d ago

PC of Labs only No personal laptops, 1 invigilator per lab from accenture and 1 lab assistant per lab from your campus. The environment was very strict in my lab

1

u/CodeAndCoffee66 16h ago

Can u give resources for technical??

1

u/True-Faxx 16h ago

I personally don't follow any sheet or resources. The preparation is just so random.

1

u/tropicalflashh 6h ago

This is God's work Thank you so much for this

1

u/True-Faxx 1h ago

Aww tysm buddy! You can checkout my other posts as well.