Capgemini Interview Questions
Capgemini Interview Questions
Capgemini Interview Questions
© Copyright by Interviewbit
Contents
19. Is there a good reason to choose BSTs over AVLs in the first place?
20. List the advantages of using Tries over Binary Search Trees (BSTs).
21. What distinguishes a structure from a class in C++?
22. What is the difference between new() and malloc()?
23. What are virtual functions and pure virtual functions?
24. What is a DNS (Domain Name System) forwarder?
25. How does the dynamic host configuration protocol help with network
management?
26. What do you know about anonymous FTP (File Transfer Protocol)?
27. What is the Golden Ratio?
2. Interview Rounds
Online Assessment Test:
The online-based assessment test is the first step in the recruitment process. The
candidates who clear this round are called for the technical interview rounds. The
test is divided into 4 parts.
The detailed online test pattern for the Capgemini recruitment process is mentioned
below:
Thus, the interviewer will evaluate you in the Technical Round based on your:
Technical Expertise and problem-solving skills.
IQ Quotient
Projects and your past work experiences
The technical face-to-face interview is the most important part of the entire
procedure. You should know the principles of computer science, such as OOPS,
DBMS, CN, and OS, etc, and be able to properly describe them to the interviewer.
Knowledge of a programming language is essential. Make sure you know how to
program in at least one language. You do not need to be fluent in all programming
languages, but you should have enough familiarity with at least one, such as C++,
Java, or Python. The interviewer will also assess your problem-solving abilities. You'll
be questioned about your previous projects and professional experiences, including
what you did, what technology you used, what you developed, and how successful
you were. Questions about the CV and the company may be asked as well.
The number of technical interviews to be conducted will be based on your profile,
performance in the previous rounds, and company requirements.
HR Interview Round:
Students who have cleared the Technical interview will be called for the HR round. HR
interviews are conducted to assess a candidate's personality in order to determine
whether or not they are qualified for the position and how well a candidate will fit
into the company's work culture. In addition to the normal HR questions regarding
strengths and weaknesses, reasons for applying to the company, why you should be
hired, and so on, expect questions about work experience, educational qualification,
interests, and family background. They can also ask questions related to Capgemini,
such as when it was founded, its objectives, beliefs, goals and organizational
structure, among other things.
The hiring process comes to a close at this point. Adaptability is demanded of
candidates, although this stage allows for negotiation. The most o en asked
questions are:
Please tell me about yourself. (If you're a beginner, start with your academics,
projects, achievements, other curriculum activities, and strengths. Also, include
information about your interests, background, and so on. Start with your
current position, achievements, past work history, and academic and personal
details if you're an experienced professional.)
What is your expectation with respect to this role?
Why are you interested in working for Capgemini?
Are you open to relocating to various parts of India?
Why are you looking for a job change? (If you're an experienced professional
seeking a change, this is a common question. The easiest method to respond to
this question is to state that you are leaving your current work in order to
advance your career. Make sure you don't criticize or speak poorly about the
company where you now work.)
What is your expected salary? (This is a difficult question to answer. It is
generally asked from experienced employees. You may inquire about the
company's standard raise for employees.)
Do you have a question for us about the company?
To aggregate the results of two or more SQL SELECT queries, we use the SQL UNION
method. In the union operation, the number of data types and columns in both
tables on which the UNION action is performed must be the same. Duplicate rows are
removed from the result set by the UNION operation. Union ALL operation is the
same as a Union operation. It returns the set without sorting the data or deleting
duplicates.
#include<stdio.h>
#include<conio.h>
int main()
{
char c;
printf("Enter a character here: ");
c = getch();
printf("nYou entered the character: %c",c);
printf("nEnter another character: ");
c = getche();
printf("nYour new entered character is: %c",c);
return 0;
}
Output:
getch() immediately returns the character without waiting for the enter key to be
pressed and the character is not displayed on the screen. getche() displays the
character on the screen without waiting for the enter key to be pressed.
The file structure is used to connect the operating system and an application. The
header file “stdio.h” (standard input/output header file) defines the file. It contains
information on the currently open file, its current size, and its memory location. It
has a character pointer that indicates which character is currently being opened.
When you open a file, you're telling the so ware and the operating system which file
you want to open.
To begin, we've developed a string literal “Python” that runs in the pool. The string
“Data Science” is then formed, and it is also used in the pool. Finally, we've
constructed the “Python” string once more. However, JVM checks for the string at
this point and finds that the string literal is indeed present. Instead of creating a new
String pool instance, it returns the pooled instance's reference, i.e. str1.
Similarly, if we use the new keyword to produce string literals, we're using the String
pool. Three string literals have been created: “Java”, “C++”, and “Data Science”. We
can see that string literals in “Java” and “C++” are new. However, there is already a
“Data Science” literal in the pool. JVM now allocates space in the Java heap for the
literal “Data Science”. It's important to remember that all String literals formed with
the new keyword are stored in the Java heap, not the String pool.
The method of copying an object that is used by default in cloning is a shallow copy.
The fields of an old object X are copied to a new object Y in this procedure. The
reference is duplicated to Y while copying the object type field, i.e. object Y will point
to the same location as X. If the field value is a primitive type, the primitive type's
value is copied. As a result, any changes made in object X or Y's linked objects will be
reflected in other objects.
// Java
// An object reference of this class is
// contained by IBS
class IB {
int a, b;
}
// Driver class
public class Main {
public static void main(String args[])
throws CloneNotSupportedException
{
IBS t1 = new IBS();
t1.x = 1;
t1.y = 2;
t1.z.a = 3;
t1.z.b = 4;
IBS t2 = (IBS)t1.clone();
Output:
1 2 30 4
10 2 30 4
In the above program, t1.clone returns a shallow copy of the object t1. A er receiving
the copy, specific modifications to the clone technique must be applied in order to
acquire a deep copy of the object.
A deep copy duplicates all fields as well as the dynamically allocated memory that the
fields point to. When an item is copied together with the objects to which it refers, it
is called a deep copy.
// Java
// An object reference of this
// class is contained by IBS
class IB {
int a, b;
}
IB z = new IB();
IBS t3 = (IBS)t1.clone();
t3.x = 10;
Output:
1 2 3 4
10 2 30 4
We can see how a new object for the IB class has been designated to replicate an
object that will be delivered to the clone method in the preceding example. As a
result, t3 will acquire a deep copy of t1's object. As a result, any changes made by t3
to the ‘z' object properties will not be reflected in t1.
17. What are the advantages of NumPy arrays over Python lists?
The following are some advantages of NumPy arrays over Python lists:
NumPy arrays store data in a sequential manner, unlike Python lists, making
data processing simpler.
NumPy is not just more efficient, but it's also easier to use. We get a lot of vector
and matrix operations for free, allowing us to avoid doing unnecessary work.
They're also put to good use.
NumPy arrays are faster, and NumPy has a lot of useful features like FFTs,
convolutions, quick searching, simple statistics, linear algebra, histograms, and
so forth.
19. Is there a good reason to choose BSTs over AVLs in the first
place?
If you wish to compare the two: an AVL tree to a simple binary search tree (BST)
without balancing it, then AVL:
will require additional memory (each node must keep track of its balance factor)
and
Each operation has the potential to be slower (because you need to maintain
the balance factor and sometimes perform rotations).
The worst-case for BST without balancing is quite terrible (linear). However, if you are
confident that this worst-case scenario will not occur, or if you don't mind if the
process is slow in rare circumstances, BST without balancing may be preferable to
AVL.
20. List the advantages of using Tries over Binary Search Trees
(BSTs).
The advantages of Tries over binary search trees (BSTs) are as follows:
It's quicker to lookup keys. In the worst-case scenario, looking up a key of length
m takes O(m) time. Because lockups are dependent on the depth of the tree,
which is logarithmic in the number of keys if the tree is balanced, a BST does
O(log n) key comparisons, where n is the number of items in the tree. As a result,
a BST takes O(m log n) time in the worst scenario. Furthermore, log(n) will
approach m in the worst-case scenario. Also, on real processors, the simple
actions Tries utilize during lookup, such as array indexing with a character, are
quick.
Because nodes are shared between keys with common starting sub-sequences,
tries with a large number of short keys are more space-efficient.
Tries facilitate longest-prefix matching, assisting in the discovery of the key with
the longest possible prefix of characters, all of which are unique.
The length of the key is equal to the number of internal nodes from root to leaf.
As a result, balancing the tree isn't an issue.
When creating a structure from a class or another structure, the base class or
structure's default access specifier is public. When deriving a class, on the other
hand, the default access specifier is private.
The members of a structure are always public, but the members of a class are
always private.
The variables of a structure are stored in the stack memory while those of the
class are stored in the heap memory.
Class supports inheritance whereas structures do not.
The type of class is reference type whereas the type of structure is a value type.
Regardless of the type of reference (or pointer) used for a function call, virtual
functions make sure the right function is called for an object.
They're mostly implemented to accomplish polymorphism at runtime.
The virtual keyword is used to declare functions in base classes.
Run-time resolution of function calls is performed.
Functions that are only declared in the base class are known as pure virtual functions
or abstract functions. This indicates that they have no definition in the base class and
must be redefined in the subclass.
25. How does the dynamic host configuration protocol help with
network management?
The network administrator uses the dynamic host configuration protocol to create a
pool of IP addresses instead of going to each client computer to configure a static IP
address. This group is known as an area that can be dynamically assigned to clients.
Users can access public data through anonymous FTP. The server does not need the
user to identify himself, and the login is anonymous. As a result, while utilizing
anonymous FTP, you must substitute 'anonymous' for the user id. Anonymous FTPs
allow you to send large files to a large number of individuals without having to give
out a large number of password and username combinations.
3/2 = 1.5
5/3 = 1.666666666...
...
233/377 = 1.618055556...
This also works when we start the sequence with two random whole numbers.
Java
Automation Testing
API Testing
SQL
“Self Confidence” is the first stage in nailing any interview. You've already
completed half of the task if you're confident enough. Always keep a cheerful
attitude and a smile on your face.
Read about the company. Understand the company's services and product lines,
as well as its mission and philosophy. Employers expect you to know who the
company is, what it does, and how it relates to your professional goals. These
types of questions about the company can be asked during the HR round.
The more you prepare for the interview, the easier it will be to pass. Acquire
sufficient understanding of, among other things, interview stages, rounds, and
questions. Practice your responses to common HR and management interview
questions. Study your technical subjects and final project carefully. Above all,
remain calm and confident, and you'll have a good chance of surviving.
Answers should be short and to the point. Use no word arts to explain the core
solution. Don't waste time offering ineffective responses or asking irrelevant
inquiries. Any interviewer who observes you doing this will automatically deduct
points from your score.
Ensure you're up to date on the most recent technological developments. You
should have a basic awareness of contemporary technological trends like
artificial intelligence (AI), big data, and so on.
Speak confidently. Listening to the interviewer is more crucial than responding.
Make sure you fully comprehend a question before attempting to respond. Don't
be scared to ask for clarification if you don't understand something.
It doesn't matter whether the Capgemini interview is challenging or easy. The truth is
that the more you prepare for the interview, the easier it will be to pass. Acquire
sufficient understanding of, among other things, interview stages, rounds, and
questions. Programming languages, logical thinking, and products/so ware/projects
on which the candidate has recently or previously worked are among the topics
covered.
Css Interview Questions Laravel Interview Questions Asp Net Interview Questions