Capgemini Pattern

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

TELEGRAM : https://t.

me/fr esher soffcampjobs

For up coming Placement Drive Notifications &Placement Materials


Please Follow ->TELEGRAM https://t.me/freshersoffcampjobs
- https://t.me/freshersoffcampjobs
https://t.me/placemate

CAPGEMINI
CAPGEMINI PROFESSIONAL
PLACEMENT SAMPLE MATERIAL

by –
Pappu Career Guide Youtube Channel
TELEGRAM : https://t.me/fr esher soffcampjobs
CAPGEMINI SYLLABUS :-
1. Selection Process :-
Round 1:- Online Written Test
Round 2 :- Technical Interview
Round 3 :- HR Interview

2.Assessment Pattern :-
Pseudo Code :-
Questions : 30
Time : 30 Min
English Communication Test :-
Questions : 30
Time : 30 Min
Behavioral Test :-
Questions : 100 Min
Time : 20 Min
Game Test :-
Questions : 4 games out of 24
Time : 22-24 Min
TELEGRAM : https://t.me/fr esher soffcampjobs

Q1. What will be the output of the following pseudocode?

Integer i
Set i = 3
do
print i + 3
i=i-1
while(i not equals 0)
end while
A) 6 6 6
B) 6 5 6
C) 5 5 5
D) 6 5 4

Ans: D
EXPLANATION:
Step 1:
It will print i+3, here i value is 3. So i+3 is 6. On the next line, i will be decremented by 1. Then checking
the conditions in do-while() i!=0. Here updated i value is 2 (2!=0),so condition is true. The loop
continues.
Step 2:
It will print i+3, here updated i value is 2. So i+3 is 5. On the next line i will be decremented by 1. Then
checking the conditions in do-while() i!=0. Here updated i value is 1 (1!=0),so condition gets true. The
loop continues
Step 3:
It will print i+3, here updated i value is 1. So i+3 is 4. On the next line i will be decremented by 1. Then
checking the condition in do while() i!=0. Here updated i value is 0 (0!=0),so condition gets false. Thus
the loop gets terminated!
Q2. What would be the output of the following pseudocode?

Integer a
String str1
Set str1 = “goose”
a = stringLength(str1)
TELEGRAM : https://t.me/freshersoffcampjobs
Print (a ^ 1)

A) 0
B) 4
C) 5
D) 3

Ans: B

Explanation:
There are two variables a and str1. Value initialized for str1 is “goose”. On the next line, we are finding
the length of str1 that is 5. Finally, printing the output of a bitwise exclusive OR operator with 1. And
the answer is 4
Q3. What would be the output of the following pseudocode?
Integer a, b, c
Set a = 8, b = 51, c = 2
c = (a ^ c)^ (a)
b = b mod 4
Print a + b + c

A. 13
B. 17
C. 26
D. 16

Ans:A

Explanation:
There are three variables a, b and c declared. Value initialized for a is 8, b is 51 and c is 2.
When we do a bitwise exclusive OR of (8^2), the answer is 10. Again 10 bitwise exclusive OR of a i.e
(10 ^ 8) is 2, which will be stored in variable c.
Then taking modulo operation for b by 4 (b%4) the answer is 3
Finally adding all the updated values of a,b, and c (8+2+3 ) and the output of Pseudocode is 13.
TELEGRAM : https://t.me/freshersoffcampjobs
Q4. Consider an array A = {1, 2, 4, 5, 6, 11, 12} and a key which is equal to 10. How many comparisons
would be done to find the key element in the array using the binary search?
A. 5
B. 1
C. 2
D. 3

Ans: D

Explanation:
There is an Integer Array A = {1, 2, 4, 5, 6, 11, 12} and the key value is 10.
Q5. What would be the output of the following pseudocode?

Integer i, j, k
Set k = 8
for(each i from 1 to 1)
for(each j from the value of i to 1)
print k+1
end for
end for

A. 2
B. 9
C. 7
D. 8

Ans: B

Explanation:

There are three variables i, j and k declared. Value initialized for k is 8, In this code, we are moving with
nested for loop.
TELEGRAM : https://t.me/freshersoffcampjobs
Here I value is 1, for loop will check the condition i<=1 condition gets true. Now, moving with inner for
loop j value will be 1 condition gets true j<=1.so, it prints K+1. Then j value will be incremented by
1(2<+1) inner for loop condition gets false.
On the next iteration i value will be incremented by 1, here updated i value is 2 (2<=1) condition get
false. So the answer is 9.
Q6.What will be the output of the following pseudocode?

Integer a, b
Set a = 15, b = 7
a = a mod (a - 3)
b = b mod (b – 3)
a = a mod 1
b = b mod 1
Print a + b

A) 15
B) 7
C) 2
D) 0

Answer: 0

Explanation:
There are two variables a and b declared. Value initialized for a is 15 and b is 7. Taking mod operation
for a by 12(a%12) and the answer is 3 will stored in a.
The next mod operation for b is 7 mod (7%4). The answer is 3 will be stored in b.
The next line takes the updated value of a and mods it by 1(3%1). Then the answer becomes 0 will be
stored in a.
Next line takes the updated value of b mod by 1 (3%1) then the answer is 0. Finally adding all the
updated values of a and b (0+0 ) and the output of Pseudocode is 0.

Q7. What will be the output of the following pseudocode?

Integer a, b, c
Set b = 5, a = 2, c = 2
TELEGRAM : https://t.me/freshersoffcampjobs
if(b>a && a>c && c>b)
b=a+1
Else
a=b+1
End if
Print a + b + c
A) 2
B) 13
C) 26
D) 5

Ans:B

Explanation:
There are three variables a, b and c declared. Value initialized for a is 2, b is 5 and c is 2.
Checking the condition using if, b >a and a>c and c>b here if conditions get false. Now else part will
execute b value will be incremented by 1 and stored in a, Finally adding all the updated values of a, b
and c (6+5+2 ) and the output of Pseudocode is 13.
Q8. For which of the following applications can you use hashing?
1. To construct a message authentication code.
2. For Timestamping
3. For detecting a cycle in a graph
Choose the correct answer from the options given below.

A. Only 1 and 3
B. Only 2 and 3
C. Only 1
D. Only 1 and 2

Ans:D

Explanation:
Constructing a message authentication code and Timestamping are the real-time applications for
hashing.
TELEGRAM : https://t.me/freshersoffcampjobs
Q9. Consider an array of float. Calculate the difference between the address of the 1st and 4th element,
assuming float occupies 4 bytes of memory.
A. 16
B. 4
C. 12
D. 8

Ans: C

Explanation:
Let's consider the address of elements:
1st element – 1000 - 1003 (4 bytes)
2nd element – 1004 - 1007 (4 bytes)
3rd element – 1008 – 1011 (4 bytes)
4th element - 1012 – 1015 (4 bytes)
The difference between the address of the 1st and 4th element is 12.
Q10. What is the second part of a node in a linked list that contains the address of the next node called?
A. data
B. pointer
C. element
D. Link

Ans:D

Explanation:
The field of each node that contains the address of the next node is usually called the 'link'.

1.Choose the option which is synonymous with the meaning of the word: Angry

A. Furious

B. Pleased

C. Precipitous

D. Hasty
TELEGRAM : https://t.me/freshersoffcampjobs
Answer: A

Explanation: Angry means feeling or showing strong annoyance, displeasure or hostility.

2. Choose the option which is synonymous with the meaning of the word: Offbeat

A. Ordinary

B. Unusual

C. Correct

D. compassion

Answer: B

Explanation: Offbeat means unconventional or which is not ordinary.

3. Choose the option which best expresses the below-given sentence in Active/Passive voice

Rajesh said, “The teacher was teaching”.

A. Rajesh said that the teacher was teaching

B. Rajesh said that the teacher has been teaching

C. Rajesh said that the teacher had been teaching

D. None of the above

Answer: C

Explanation: The given sentence is in active voice; we need to convert it into passive voice

4. Choose the correct preposition and fill in the blanks:

The father said to his child, “You must be back ____________ eight o’clock.”

A. in

B. on

C. by

D. to

Answer: C
TELEGRAM : https://t.me/freshersoffcampjobs
Explanation: Preposition ‘by’ is used to denote: not later than the time mentioned; before.

5.Choose the correct preposition and fill in the blanks:

He worked out at the gym from 8PM ________9PM.

A. since

B. for

C. till

D. before

Answer: C

Explanation: Till is used to denote time “up to”.


Eight people -A, B, C, D, E, F, G and H are sitting around a circular table facing the centre, not necessarily in the
same order. Three people are sitting between A and D. B is sitting second to the right of A. C is to the immediate right
of F. D is not an immediate neighbour of either F or E. H is not an immediate neighbour of B

1. What is E's position with respect to G?

A. Third to the left


B. Second tot the right
C. Third to the right
D. Second to the left
E. Fifth to the right

2.Four of the following five are alike in a certain way, based on their seating positions in the above
arrangement and so form a group. Which one does not belong to the group?
TELEGRAM : https://t.me/freshersoffcampjobs
A. GE
B. DC
C. AF
D. AB
E. DB

From above figure it is clear that the answer is 2nd option, As the gap between the persons in all other pairs is of 1
person.
Therefore, the correct answer is option B.
Who is sitting third to the right of the one who is sitting to the immediate right of H?

A. A
B. B
C. E
D. C
E. G

EXPLANATION:
From above figure it is clear that answer is C option.
Which of the following is true regarding the given arrangement ?

A. E is second to the left of C


B. B is an immediate neighbour of G
C. H is an immediate neighbour of A
D. D is not an immediate neighbour of H
E. None Of these

EXPLANATION:
From above figure it is clear that answer is B option
How many people are sitting between H and A when counted from the right side of H?

A. Three
B. None
C. More than three
D. One
E. Two

EXPLANATION
From above figure it is clear that answer is E option.
TELEGRAM : https://t.me/freshersoffcampjobs

Answer: 2341
Explanation:
From the given row,
Position 1 is occupied by a circle
Position 2 is occupied by a plus sign
Position 3 is occupied by a rhombus
Position 4 is occupied by a triangle
After 2413,
Position 1 is occupied by a Plus sign
Position 2 is occupied by a Triangle
Position 3 is occupied by a Circle
Position 4 is occupied by a Rhombus
In the final row, the order is triangle, circle, rhombus, plus sign which can be translated as 2341
TELEGRAM : https://t.me/placemate

Answer: E
Explanation:
In each step, the shaded square moves 1 position in anticlockwise direction along the sides of the outer
square. In figure E, the shaded square should be along the top edge of the outer square. But it was
given along the bottom edge of the outer square and hence the odd man.
3.find the missing part

ANSWER

Explanation:
Each row/ column should have all the five shapes (triangle, plus sign, square, circle, star).
If we consider row 2, a star can be fixed only at grid 23. So, a plus sign can be fixed at the first column
of the second row. So, the question should be replaced by a plus sign.

Q4. Enter the unique digits that satisfy the given equation.
TELEGRAM : https://t.me/placemate

Answer: 6 × 7 + 3
Q5.

ANSWER
Explanation:
Elements along the diagonal are similar.
TELEGRAM : https://t.me/placemate
Q6. Identify the pattern in which the question grids are coloured and following the same pattern colour
the given grids.

Explanation:
Grids with elements in the range of 0 to 4 are coloured green. Grids with elements in the range of 5 to
9 are coloured grey.
TELEGRAM : https://t.me/placemate

Q7. Pick the odd one out

Answer: B
Explanation:
A vertical line, a plus sign and a cross mark repeat in cycle.
TELEGRAM : https://t.me/placemate
Q8. Move the red ball to the hole (marked black) in the given grid.

Answer & Explanation:


The required moves are:
i) Purple block and the ball – 2 positions leftward
ii) Green block – 2 positions upward
ii) Brown block – 1 position rightward and 1 position upward
iii) Yellow block – 1 position downward and 1 position rightward
After these movements, the grid changes as:

Q9. Find the missing part.


TELEGRAM : https://t.me/placemate

Answer: C
Explanation:
Considering column wise,
Figure 1 + Figure 2 = Figure 3
The non-overlapping parts between figures 1 and 2 are shaded in yellow. The overlapping parts are
shaded in blue.

Q10. Enter the unique digits that satisfy the given equation.

Answer:
3÷6×4=2
1÷3×6=2
TELEGRAM : https://t.me/placemate
1÷4×8=2
3÷9×6=2

Answer: 3241
Explanation:
From the given row,
Position 1 is occupied by a square
Position 2 is occupied by a triangle
Position 3 is occupied by a plus sign
Position 4 is occupied by a circle
In the final row, the order is plus sign, triangle, circle, square which can be translated as 3241.

You might also like