Comprehensive collection of technical, HR, and coding questions asked in Accenture interviews for freshers.
Java is a compiled, object-oriented programming language used for building enterprise and Android applications. JavaScript is an interpreted scripting language primarily used for web development (front-end and back-end with Node.js). Despite similar names, they have different syntax, use cases, and runtime environments.
OOP (Object-Oriented Programming) is a paradigm based on objects. Key concepts: 1) Class/Object - blueprint and instance (Car class, myCar object), 2) Encapsulation - data hiding (private variables with getters/setters), 3) Inheritance - reusing code (Electric Car extends Car), 4) Polymorphism - many forms (method overloading/overriding), 5) Abstraction - hiding complexity (abstract classes/interfaces).
SQL (Structured Query Language) is a standard language for managing relational databases - it's used for queries, updates, and schema operations. MySQL is a specific relational database management system (RDBMS) that uses SQL. Other RDBMS include PostgreSQL, Oracle, and SQL Server. SQL is the language; MySQL is the software.
API (Application Programming Interface) allows different software systems to communicate. REST API uses HTTP methods (GET, POST, PUT, DELETE) to perform CRUD operations on resources. Key principles: Stateless (each request contains all info), Client-Server architecture, Uniform Interface, Cacheable responses, and Layered System. Example: GET /users/123 retrieves user with ID 123.
Primary Key uniquely identifies each record in a table (no duplicates, not null). Foreign Key is a field in one table that references the primary key of another table, creating a relationship between tables. Example: In Orders table, customer_id is a foreign key referencing Customers table's id (primary key).
1) Unit Testing - testing individual components/functions, 2) Integration Testing - testing how components work together, 3) System Testing - testing complete integrated system, 4) UAT (User Acceptance Testing) - testing by end users, 5) Regression Testing - ensuring new changes don't break existing features, 6) Performance Testing - testing speed and scalability.
Agile is an iterative approach to project management and software development. It emphasizes: Working software over documentation, Customer collaboration over contract negotiation, Responding to change over following a plan. Frameworks include Scrum (sprints, daily standups) and Kanban (visual boards). Delivery happens in short cycles with continuous feedback.
Cloud computing delivers computing services over the internet. Service models: 1) IaaS (Infrastructure as a Service) - virtual machines, storage (AWS EC2, Azure VMs), 2) PaaS (Platform as a Service) - development platforms (Heroku, Google App Engine), 3) SaaS (Software as a Service) - ready-to-use applications (Gmail, Salesforce). Deployment: Public, Private, Hybrid clouds.
Array: Contiguous memory allocation, fixed size, O(1) access by index, O(n) insertion/deletion. LinkedList: Non-contiguous memory with pointers, dynamic size, O(n) access, O(1) insertion/deletion (if position known). Arrays are better for random access; LinkedLists are better for frequent insertions/deletions.
SDLC (Software Development Life Cycle) is a framework for building software. Phases: 1) Planning - feasibility study, resource allocation, 2) Analysis - requirement gathering, 3) Design - system architecture, UI/UX design, 4) Development - actual coding, 5) Testing - quality assurance, 6) Deployment - release to production, 7) Maintenance - updates and bug fixes.
Structure: Present-Past-Future. Present: 'I am a final year Computer Science student at XYZ University with a strong interest in software development.' Past: 'During my academics, I worked on projects using Java and Python, and completed an internship at ABC Company.' Future: 'I am excited to start my career at Accenture where I can leverage my skills and grow as a professional.'
Highlight specific aspects: 'Accenture's reputation as a global leader in consulting and technology attracts me. I am impressed by your commitment to innovation and the diverse range of projects across industries. The training programs for freshers and clear career growth paths make Accenture an ideal place to start my career. Your core values of integrity and respect align with my personal values.'
Accenture is a global professional services company headquartered in Dublin, Ireland. It operates in five businesses: Strategy & Consulting, Technology, Operations, Interactive (now Song), and Industry X. With 738,000+ employees serving clients in 120+ countries, it's a Fortune Global 500 company. Recent focus areas include cloud, AI, and sustainability solutions.
Strengths: 'I am a quick learner who adapts well to new technologies. My analytical mindset helps me solve problems systematically. I work well in teams and communicate effectively.' Weakness (with improvement): 'I sometimes spend too much time perfecting details. I've learned to set time limits and prioritize tasks to meet deadlines while maintaining quality.'
Be honest and positive: 'Yes, I understand that Accenture serves global clients across time zones, making rotational shifts necessary. I am flexible and willing to adapt my schedule as per project requirements. I believe it's an opportunity to work with diverse international teams.'
Show ambition with realism: 'In 5 years, I see myself as a senior consultant or technical lead, having developed expertise in specific domains like Cloud or Data Analytics. I hope to lead projects, mentor new joiners, and contribute to Accenture's growth while continuously upgrading my skills through certifications and hands-on experience.'
Give an example: 'I handle pressure by breaking tasks into smaller, manageable parts and prioritizing based on urgency. During my final year project, I had multiple deadlines. I created a detailed schedule, communicated with my team, and delivered on time. I find that staying organized and maintaining clear communication helps me perform well under pressure.'
Connect skills to role: 'You should hire me because I bring a combination of technical skills, adaptability, and a strong work ethic. My programming skills in Java and Python, combined with my problem-solving ability, make me ready to contribute immediately. I am eager to learn and grow, and I believe my enthusiasm and dedication will add value to your team.'
function isArmstrong(num) {
const digits = num.toString().split('');
const power = digits.length;
const sum = digits.reduce((acc, digit) =>
acc + Math.pow(parseInt(digit), power), 0);
return sum === num;
}
// Examples:
// isArmstrong(153) β true (1Β³ + 5Β³ + 3Β³ = 153)
// isArmstrong(370) β true (3Β³ + 7Β³ + 0Β³ = 370)
// isArmstrong(123) β falsefunction findLargest(arr) {
if (arr.length === 0) return null;
let largest = arr[0];
for (let i = 1; i < arr.length; i++) {
if (arr[i] > largest) {
largest = arr[i];
}
}
return largest;
}
// Using built-in function
const findLargestBuiltIn = (arr) => Math.max(...arr);
// Example: findLargest([3, 1, 4, 1, 5, 9, 2, 6]) β 9-- Find employees earning more than average salary SELECT employee_id, employee_name, salary FROM Employees WHERE salary > (SELECT AVG(salary) FROM Employees); -- With department info SELECT e.employee_name, e.salary, d.department_name FROM Employees e JOIN Departments d ON e.department_id = d.department_id WHERE e.salary > (SELECT AVG(salary) FROM Employees) ORDER BY e.salary DESC;
// Bubble Sort Implementation
function bubbleSort(arr) {
const n = arr.length;
const result = [...arr]; // Copy array
for (let i = 0; i < n - 1; i++) {
for (let j = 0; j < n - i - 1; j++) {
if (result[j] > result[j + 1]) {
// Swap elements
[result[j], result[j + 1]] = [result[j + 1], result[j]];
}
}
}
return result;
}
// Example: bubbleSort([64, 34, 25, 12, 22, 11, 90])
// Output: [11, 12, 22, 25, 34, 64, 90]function countVowelsConsonants(str) {
const vowels = 'aeiouAEIOU';
let vowelCount = 0;
let consonantCount = 0;
for (const char of str) {
if (/[a-zA-Z]/.test(char)) {
if (vowels.includes(char)) {
vowelCount++;
} else {
consonantCount++;
}
}
}
return { vowels: vowelCount, consonants: consonantCount };
}
// Example: countVowelsConsonants("Hello World")
// Output: { vowels: 3, consonants: 7 }function areAnagrams(str1, str2) {
// Remove spaces and convert to lowercase
const clean = (s) => s.toLowerCase().replace(/[^a-z]/g, '');
const s1 = clean(str1);
const s2 = clean(str2);
// Check if same length
if (s1.length !== s2.length) return false;
// Sort and compare
return s1.split('').sort().join('') === s2.split('').sort().join('');
}
// Examples:
// areAnagrams("listen", "silent") β true
// areAnagrams("hello", "world") β false