In this article of capgemini technical interview questions 2021 for freshers , we are going to discuss Capgemini most asked interview questions. But before we get to the interview round we will first have to qualify the assessment round.
You will then have the opportunity to attempt the interview round provided that you have passed the assessment round.
This round is divided into two parts. They are:
- Technical Interview
- HR Interview
Capgemini Technical Interview:
In this round, the interviewers mainly focus on
- Your technical Knowledge
- Projects that are undertaken by you
The questions would first start with the basics and then there would be an increase in the level of difficulty. But do note that personal interview questions could also be asked in this round.
Also Read Accenture technical interview best questions and answers for Freshers. Click Here
For capgemini HR interview questions click here
Capgemini Technical Interview Questions (Most Asked):
1.What is Memory Leak in C?
A memory leak occurs when the programmers create a memory in the heap and fail to recall to delete it. It then decreases the efficiency of the performance of the entire system.
2.What are the basic concepts of OOP languages? Is it a compulsory for an abstract class to must have an abstract method?
The elementary OOPs concepts are Object, Class, Method, Polymorphism, Encapsulation, Inheritance, Abstraction.
Data Abstraction also can be defined because the process of identifying the specified characteristics of an object for ignoring the irrelevant details. The non-essentials units are not presented to the user.
To answer the 2nd part of this question is good to be well proficient with some rules about abstract classes and abstract methods.
An abstract class is a class that is acknowledged with an abstract keyword.
n abstract method is a method that is avowed without an implementation.
n abstract class either may or may not have all abstract methods. Some of them can be concrete methods.
A method which is defined as abstract must always be redefined in the subclass, thus making overriding compulsory OR either make subclasses itself to the abstract.
Any class that comprehends one or more abstract methods must also be declared with abstract keyword. Here can be no object of an abstract class. That is, if an abstract class can’t be directly instantiated with the new operator.
An abstract class can be parametrized constructors and the default constructor is as always present in the abstract class..
3.What is autoboxing and unboxing in JAVA?
Autoboxing: Automatic alteration of primitive types to the thing of their corresponding wrapper classes is understood as autoboxing. For example – conversion of int into Integer, long into Long, double into Double, etc.
Unboxing: Unboxing is simply the reverse process of autoboxing. Automatically converting an object of the wrapper class to its corresponding primitive type is referred as unboxing. For example – conversion of Integer into int, Long into long, Double into double, etc.
4.“Abstraction and encapsulation are both complementary concepts to every other.” Justify the statement.
Abstraction and encapsulation are both complementary concepts to each other. On one hand, abstraction refers on the behaviour of an object. On another hand, encapsulation refers on the implementation of an object’s behaviour. Encapsulation is usually achieved by hiding the information about internal state of an object and thus, it can be seen as the strategy used to be provided abstraction.
Other concepts are like databases, computer networking which are the cruxes of Computer Science. Let us take a quick sneak peek at some of the favourite topics of the Technical Interview.
5.What does SQL stand for? Give some advantages of SQL.
SQL is Structured Query Language, which is one of the computer languages for storing, manipulating and retrieving data stockpiled in a relational database.
High Speed: SQL Queries are often wont to retrieve large amounts of knowledge records from the database more quickly and more efficiently.
Well-defined Standards Exist: SQL databases use the long-established standard, which is being adopted by ANSI & ISO. Non-SQL databases does not adhere to any of the clear standard.
No Coding Required: Using standard SQL it is easier to manage database systems without having to write a substantial amount of code.
The emergence of ORDBMS: Previously SQL databases were synonymous with relational databases. With the emergence of Object-Oriented DBMS language, objects storages capabilities that are extended to the relational databases.
6.Difference between primary and secondary keys.
It is used for Unique identification of rows
We have only one Primary Key per table
A Primary key’s one among the candidate keys or irreducible super keys, counting on database designer.
Secondary Key is used for identification of rows but is not usually Unique
We can have multiple Secondary Keys per table
The attribute used for Secondary key aren’t those used for Super Key i.e., Secondary Key doesn’t even have one among the Super Key.
7.Where can one use dataset.clone()?
Dataset.clone() duplicates just the structure of the dataset (including all the data tables, schemas, relations, and constraints.); however that doesn’t need the copy of the data. Dataset.copy() used to make copies of both the dataset structure and the data.
These days cloud computing is in vogue. The basic knowledge of this topic is expected and is knowing about it might be favourable for us.
8.What is cloud computing? Name a few famous providers of this service.
Cloud computing is one of the on-demand availabilities of the computer system resources, especially to data storage and computing power, without any direct active management by the users. Some of the very famous cloud service providers are like Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform (GCP) and IBM Cloud, etc.
In the computing, a web application or web app is the client-server computer program that the client (including the user interface and client-side logics) runs in a web browser. With the recovery of web application frameworks like Angular, React, Express and much more, knowing some of the fundamentals of how a web application functions is truly like an icing on the cake.
9.In a web application, what is HTML5? How do you implement the application cache in it?
HTML5 provides for an application cache mechanism that lets web-based applications that runs offline. Developers can be used the Application Cache (AppCache) interface to specify the resources that the browser should have cache and make it available to the offline users as well. Applications that are cached load and work correctly albeit the users click the refresh button once they are offline.
The application of cache gives a web application the following benefits which are given below:
Offline browsing: users can navigate from a site even when they are offline.
Speed: since cached resources are local, and therefore load faster.
Reduced server load: the browser only downloads resources that have changed from server.
A few other questions to notice
- Differentiate between Primary Key and Unique key.
- Differentiate between DROP, DELETE, And TRUNCATE Command.
- Write a program to check Leap year.
- Write a program to print Fibonacci Series.
- What is the purpose of finalize () method in Java?
- Give an example of some reserved words in Java.