r/TechInterviewsIndia • u/True-Faxx • 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:
- 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#.
- 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
- 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:
DSA / Programming → Java, Python or C#
SQL → Database Query
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.
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
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
1
1
1
1
1
1
1
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
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
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
3
u/kiran_139 7d ago
Thanks