Capgemini
10+ TCS Interview Questions and Answers
Q1. What is the difference between roll-up and scan component?
Roll-up and scan components are both used in data processing, but they have different functions and purposes.
Roll-up is a data aggregation technique that summarizes data at a higher level of granularity.
Scan component, on the other hand, is used to read and process data sequentially.
Roll-up is commonly used in data warehousing to generate summary reports or perform calculations on aggregated data.
Scan component is often used in data processing pipelines to iterate through lar...read more
Q2. Tell about Data Structures in C++
Data structures in C++ are used to organize and store data efficiently.
C++ provides various built-in data structures like arrays, linked lists, stacks, queues, trees, and graphs.
These data structures can be used to store and manipulate data in an efficient manner.
C++ also allows for the creation of user-defined data structures using classes and structures.
The choice of data structure depends on the type of data and the operations that need to be performed on it.
Q3. What is SDLC in software engineering
SDLC stands for Software Development Life Cycle, a process used by software engineers to design, develop, and test software applications.
SDLC is a structured process that consists of several phases including planning, analysis, design, implementation, testing, and maintenance.
Each phase of SDLC has its own set of activities and deliverables to ensure the successful completion of the software project.
Examples of SDLC models include Waterfall, Agile, and DevOps, each with its o...read more
Q4. Talk for 3 min in any topic of your interest
Discussing the impact of artificial intelligence on society
Introduction to artificial intelligence and its applications
Benefits of AI in various industries such as healthcare, finance, and transportation
Ethical considerations and concerns surrounding AI technology
Future implications of AI on the job market and economy
Q5. What are your preffered location?
I prefer locations with a good work-life balance, access to outdoor activities, and a vibrant tech community.
Good work-life balance is important to me
Access to outdoor activities like hiking and biking
Vibrant tech community for networking and growth opportunities
Q6. Difference between Union and Union All in Sql
Union combines and removes duplicates, Union All combines without removing duplicates.
Union merges the result sets of two or more SELECT statements and removes duplicates
Union All merges the result sets of two or more SELECT statements without removing duplicates
Union is slower than Union All as it involves removing duplicates
Example: SELECT column1 FROM table1 UNION SELECT column1 FROM table2;
Example: SELECT column1 FROM table1 UNION ALL SELECT column1 FROM table2;
Q7. Difference between list and tuple in python
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List uses square brackets [], tuple uses parentheses ().
List is used for collections of items that may change, tuple for fixed collections.
Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)
Q8. What do you know about Capg?
Capgemini is a global leader in consulting, technology services and digital transformation.
Capgemini is a multinational corporation headquartered in France.
It provides consulting, technology services, and digital transformation.
Capgemini operates in over 40 countries and has around 200,000 employees worldwide.
Q9. Tell about the Binary Search
Binary search is a search algorithm that finds the position of a target value within a sorted array.
It works by repeatedly dividing in half the portion of the array that could contain the target value.
It has a time complexity of O(log n).
It can be implemented recursively or iteratively.
Example: Searching for the number 7 in the sorted array [1, 3, 5, 7, 9] would return index 3.
Q10. WHAT is SDLC in testing
SDLC in testing refers to the Software Development Life Cycle followed specifically for testing purposes.
SDLC in testing involves planning, designing, executing, and evaluating the testing activities within the overall software development process.
It includes phases such as requirement analysis, test planning, test design, test execution, and test closure.
SDLC in testing ensures that the software meets the specified requirements and is of high quality before release.
Examples ...read more
Q11. What is automation testing
Automation testing is the use of software tools to control the execution of tests and compare actual outcomes with expected outcomes.
Automation testing helps in reducing manual effort and time required for testing.
It ensures faster feedback on the quality of the software being tested.
Common automation testing tools include Selenium, Appium, and JUnit.
Automation testing can be used for regression testing, performance testing, and load testing.
It is essential for continuous int...read more
Q12. Write a Program In Python
Program to find the sum of two numbers
Take input from user for two numbers
Add the two numbers using the '+' operator
Print the sum of the two numbers
Q13. Intro projects challenges
Handling challenges in introductory software projects
Understanding project requirements thoroughly
Managing time effectively to meet deadlines
Collaborating with team members for better outcomes
Q14. Explain Polymorphism
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to represent multiple underlying forms.
Examples include method overloading and method overriding in object-oriented programming.
More about working at Capgemini
Top HR Questions asked in TCS
Interview Process at TCS
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month