Capgemini Technical Interview Questions for Freshers

Capgemini Technical Interview Questions and Answers 2025

Technical Interviews are the most difficult and the final round for any company. This makes preparing for the technical interview very important. 

To help you with the Interview of Capgemini we have this page which have Technical Interview Questions which were asked in the Technical Interview Round of Capgemini. In order to ace your Interview we at PrepInsta suggest to go through this page very thoroughly.

Capgemini Technical Interview questions and answers

Top 20 Capgemini Technical Interview Questions

Question 1: What is Encapsulation?

Answer:

Encapsulation is a property of an entity that contains all secret information. The members of that class can only see the details that are hidden. The levels are public, protected, and private.

Question 2:- What is the C++ programming language?

Answer:

C was a procedural language, which meant it lacked the concept of classes and objects.

C++ was created to address this, and additional Object-Oriented Programming features were added.

C++ features –

  • Object-Oriented
  • Procedural
  • Case Sensitive
  • Generic

Question 3: Define an operator.

Answer:

Operators are the fundamental concept of any programming language, and they are used to lay the groundwork for new programmers. Operators are basic symbols that help us perform logical and mathematical operations. Operators are tools or symbols in C and C++ that are used to perform mathematical operations such as arithmetic, logical, conditional, and bitwise operations.

The various types of operators available in C++ are as follows:

  • Assignment Operator
  • Compound Assignment Operator
  • Arithmetic Operator
  • Increment Operator, and so on.

Questions 4: Is Java 100% object oriented?

Answer:

No, because Java supports primitive data types that aren’t objects.

Question 5: Write a program to check a Fibonacci series.

Question 6: What is normalization in a database?

Answer:

The process of analyzing relation schemas based on their functional dependencies is referred to as “normalization.” Normalization is the process of dividing data into multiple tables in order to reduce redundancy.

Question 7: Define ++e and e++.

Answer:

++e is known as a pre-increment. Pre-increment means that the value will be increased by one before being assigned to a variable.

e++ is known as post-increment. Post-increment means that the value is increased by one after it has been assigned to a variable.

Question 8: What is the software scope?

Answer:

A software project’s scope is a clearly defined boundary that encompasses all of the tasks involved in developing and delivering a software product. The software scope thoroughly describes both the functionalities and the objects that will be provided as part of the program. The scope of the product defines what it can and cannot do, as well as what the final product will and will not contain.

Questions 9: What are the access specifiers in Java?

Answer:

Access specifiers come in four varieties. They are the following:

  • Public: When a class or method is declared public, it can be accessed by any other class or method.
  • Protected: If a class is marked as protected, it can only be accessed by another class in the same package or by a subclass of this class.
  • Private: If a class or method is marked as private, it can only be accessed from within that class.
  • Default: It is only accessible within the package. This is your standard access specifier..

Question 10: What is a constraint?

Answer

Constraints are the limitations on a given table’s data type. When creating or modifying a table statement, a constraint can be specified.

  • NOT NULL.
  • CHECK.
  • DEFAULT.
  • UNIQUE.
  • PRIMARY KEY.
  • FOREIGN KEY.

Question 11: How is a linked list different from an array?

ArrayLinked list
Arrays are index-based data structures in which each element has a unique index.The data and references to the previous and next elements are stored in each node of a linked list.
An array’s size is predetermined.A linked list’s size is variable.
The index is used to randomly access array elements.The elements of a Linked List are accessed in the order that they were added to the list.
In arrays, operations like inserting and deleting are challenging.In a linked list, insertion and deletion are simple.
There’s no need for additional memory.In a linked list, extra memory space is required for storing the address of the next node
The location of an element is determined during the compilation process.The location of elements in a linked list is determined at runtime.

Question 12: Write a python code for swapping two variables without third variable.

a=int(input(“Enter value : “))
b=int(input(“Enter value : “))

print(“Before swapping a :”,a)
print(“Before swapping b :”,b)
#logic to swap without using third variable 
a=a+b 
b=a-b
a=a-b


print(“After swapping a becomes :”,a)
print(“After swapping b becomes :”,b)						

Question 13: Define Version Control System(VCS)?

Answer:

A version control system is a tool that keeps track of all changes made to a project and helps us determine whether all members of a team are working on the same thing. It keeps track of all activities performed, giving a developer the confidence to fix a bug, make changes, or run tests knowing that if something goes wrong, previous work can be restored at any time.

Question 14: What are the different levels of abstraction in the DBMS?

Answer:

In a database management system (DBMS), there are three different levels of data abstraction.

These are some of them:

  • Physical Level: This is the most basic level of data abstraction, describing how data is stored in a database.
  • Logical level: The logical level of data abstraction specifies the type of data and the relationship between the data stored in the database.
  • View level: The highest level of data abstraction is the view level, which displays/states only a portion of the database.

Question 15: Write the types of recursion in the C programming language.

Answer:

Types of recursion:

  • Direct Recursion
  • Indirect Recursion
  • Tree Recursion
  • Linear Recursion
  • Tail Recursion
  • Head Recursion

Question 16: Define a constructor.

Answer:

A constructor is a method that is called when an object is created to initialize its state.

The following are the constructor’s rules:

  • The name of the constructor should be the same as the name of the class.
  • The return type of a constructor must be null.

Question 17: What is the ACID property in a database?

Answer:

The ACID property is used to ensure that data transactions are processed reliably in a database system.

  • Atomicity: Each transaction is either all or nothing. It states that if one part of the transaction fails and the database state remains unchanged, the entire transaction fails.
  • Consistency: Consistency ensures that all validation rules are followed by the data. A transaction, according to this, never leaves your database without its state being completed.
  • Isolation: Concurrency control is the primary goal of providing isolation. This property guarantees that the concurrent property of execution is not met.
  • Durability: This property states that once a transaction is committed, it remains committed regardless of the circumstances, including power outages, crashes, or errors.

Question 18: What is a unique key?

Answer:

Unique Key: Each record in the database was given a unique key constraint. This gives the column (or group of columns) its own identity. A unique key is a set of one or more fields/columns in a database table that uniquely identifies a record. It’s similar to a primary key in that it can only take one null value and no duplicates.

Question 19: Write code to calculate frequency of characters in a string in C and C++

Question 20: What is the difference between Dataset.clone() and Dataset.copy()?

Answer:

DataSet. Clone() copies only the DataSet object’s schema and returns a DataSet object with the same structure as the existing dataset object, including all the relations, constraints, and schemas. The data from the old one will not be copied to the new one.

DataSet.Copy() copies the entire code and structure of an existing DataSet object.