You are on page 1of 25

C pus75.eamly.io/test?

id-dd55420c-8c52-456b-832e-sde6c4591da9afb81558-7b52-41be-8482-0970622r6d19
Data Structure MGmail YouTube Maps
Physics Wallah M Employability Diag GitHub vishalamcd. Linux Commands C How to create users https/kreppth
Capgemini_Actual_Test_5
Test will be auto submitted in 70 minutes from the test start time

DS MCQS & 25 English Co... 30 Game Base... 3

o-1 Report Error


12

Multi Choice Type Question Marks: 1 Negative Marks:0


11
What will be the output of the following pseudocode for a 2?
1 Integer fun(Integer a) 10
Integer X, y
Set y 3
forteach x from e to y-1)
a =a + y
O9 # of questions

End for
return a Clear Answered
8 End function fun()
Saved in Serve

Attempt
xt

CO 3579722033.pdf

Type here to search O M


Mx G|DcwGO HGA GA©H GT cGw U S a GIG MG O10
lpu375.examy.io/test?id =dd55420c-8c52 456b 832e-ade6c4591da9afb81558-7b52 41be-8482-0970622r6d19
1

Data Structure M Gmail YouTube Maps Physics Wallah Employability Diag OGitHub vishalamc/.. Linux Commands C. How to create users.. https://www.cpp.thi.

Capgemini_Actual_Test 5 Subrmit
T e s t will be auto submitted in 70 minutes from the test start time

DSMCQS &. 25 English Co. 30 Game Base.. 3

-2 Report Error DS MCOS


Only3
Multi Choice Type Question Marks 1 Negative Marks:0
Only 1 and 3
Find out the correct
inorder traversal sequence of a BST?
1.15, 19, 22, 26, 29, 35
2.15, 18, 20, 22, 28, 26, 32 Only 2

3.14,17,19,21,26,31, 33
Only 1 and 2

#ofquestic
Clear
Answered
Saved in Se

Back Attem
Next
OR 3579722033.pdf

P Type here to search


Maps Physics Wallah M Employability Diag GtHub vishalamc/. Lnux
Data Structure MGmail YouTube

Capgemini_Actual_Test 5
Test will be auto submitted in 70 minutes from the test start time

DS MCOS&25 English Co.. 30 Game Base... 3

Q-3 Report Error


3
Multi Choice Type Question Marks: 1 Negative Marks:0
15
What will be the output of the following pseudocode?
4
Integer j, m
setm 1
integeral4]=1.0, 0, 0)
if (a
[0]+al3] 0)
O1
# of que
for (each jfrom 1 to 2) Clear
if(1 2) Answere
continue
else
Saved in
if(all> 2)
m-2
Back Att
Next
3579722033.pdf
Type here to search
Q
G A GTACOwD
E C
pu375.eamly.io/test?id=dd55420c-8c52-456b-832e-adebcA591da9afb81558-7b52-41be8482-097062216d19
TData Structure M Gmail YouTube Maps Physics Wallah M Employability Diag.. GitHub-vishalamc/ Linux Commands C.
How to create users https//w

Capgemini_Actual_Test 5
Test will be auto submitted in 70 minutes from the test start time

DS MCOS &25 English Co... 0 Game Base..

-4 Report Error
None of the mentioned options

Multi Choice Type Question Marks: 1 Negative Marks : 0


O Doubly linked list
A typeof linked list, say Xconsists of nodes that is divided into three
parts Circularly linked list
The first part contains the address of the previous node.
The second contains the data element. Singly linked list
The third part contains the address ofthe next node. #of qu-
Based onthe above information, identify X. Answe
Clear
Saved i

Back Next

E 3579722033.pd

Type here to search O


G
GHG G A OnNCGW
IOD O wil|S
SaGG
alG 6MMG
GAefon
Ipu375.examly.io/test?id=dd55420c-8c52-456b-832e-ade6c4591da9afb81558-7b52 41be-8482-0970622f6d19
Data Structure M Gmail YouTube Maps Physics Wallah M Employability Diag. GitHub vishalamc/.. Linux Commands C How to create users.. https://www.cpp.tht
CapgeminiActual_Test 5
Test will be auto submitted in 70 minutes from the test start
time

DS MCQS &25 English Co... 30 Game Base.. 3

-5 Report Error
O10
Multi Choice Type Question Marks: 1 Negative Marks: 0
12
Consider an array A of 10 elemernts, from 0 to 9. The general formula to
caiculate the value of 'n' elements
Alnl =n+n+n, whenn<5 20
Anl =n, otherwise.
where n represents the index number. 15
Findout the value of the largest elements of A.
array
#of quest
Clear
Answered
Saved in S-

Back Atter
Next
O3579722033.pdf
PType here to search
Youube Maps Physics Wallan
Data Structure Gmail

Capgemini_Actual_Test 5
start time
Test will be auto submitted
in 70 minutes from the test

Co... 30 Game Base...


DS MCOS & 25 English

Q-6
Report Error
2
Multi Choice Type Question Marks:1 Negative Marks:0 Ot depends on the number of elements
second largest element of an array using
Henry wants to find out the
will he get it? 3
bubble sort. After how many passes

1 #of ques

Answered
Clear
Saved in

Atte
Back Next

O 3579722033.pdí

H Type here to search O


C Ipu375.examlyio/test?id- dd55420c-8c52-456b-832e-ade6c4591da9afb81558-7b52-41be-8482-097062216d19
Data Structure M Gmail YouTube Maps Physics Wallah M Employability Diag GitHub vishalamc/. Linux Commands C. How to create users. https
Capgemini Actual_Test 5
Test will be auto submitted in 70 minutes from the test start timne

DS MCOS & 25 English Co 30 Game Base...

o-7 Report Error


666
Multi Choice Type Question Marks: 1 Negative Marks:0
What will be the output of the
656
following pseudocode?
1 Integer i
2 Set i =3 555
do
print i+ 3
i i-1 O654
6 while(i not equals e)
end while
Clear

Back Next

OE 3579722033.pdf

Type here tO search


Capgemini_Actual_Test 5
Test will be auto submitted in 70 minutes from the test start time

DS MCQS & 25 English Co... 30 Game Base...

Q-8 Report Error Search


Multi Choice Type Question Marks: 1 Negative Marks: 0
OTraverse
If there is a data structure in which the relationship of adjacency is not
maintained between the data items, then which of the following Sort
operations is not applied to the data structure?
Display

Clear

Back Next

OF 3579722033.pdf

Type here to search O


Capgemini_Actual_Test 5
Test will be auto submitted in 70 minutes from the test start tirme

DS MCOS 2English Co. 30 Game Base.. 3

JQ-9 Report Error


11

Multi Choice Type Question Marks: 1 Negative Marks: 0


12
What will be the output of the following pseudocode for a= 5, b=3?
O8
Integer funn( integer a, integer b)
if( a > b) 9 #0
return b+ funn ( b,a)
end if Ans
Clear
if (a« b) Sav
return a +b
end if
end function funn ()
Back Next

3579722033.pdf
4
Type here to search O
CO pus75.examlyio/test?id-dd55420c-Bc52-456b-832e-ade6cd591da9afb81558-7b52-41be-8482-0970622f6d19
TData Structure MGmail YouTube Maps Physics Wallah M Employability Diag.. OGitHub- vishalamc. Linux Commands C How to create user
Capgemini_Actual_Test 5 https://www.epptha

Test will be auto


subrmitted in 70 minutes from the test start time
DS MCOS &.. 25 English Co. 30 Game Base. 3

Q-10
S 4

Report Error
22
Multi Choice Type Question Marks: 1 Negative Marks: 00
What will be the
output of the following pseudocode? 20

Integer a, b, c 3
set a=12, b=13
for (each c from 5 to 7) 30
if (a c)
b=10 # of ques

else Clear
Answerec
Jump out of the loop
end if
Saved in S
a = b

end for
Back Atte
Next
3579722022.pof
Type here to search
i
Capgemini_Actual Test 5
minutes from the test start time
Test will be auto submitted in 70

English Co. 30 Game Base..


DS MCQS &25

Q-11 Report Error None of the mentioned options


Multi Choice Type Question Marks 1 Negative Marks:0
15 60 50 40 30 94-1
What will be the output of the following pseudocode?
integer a, b, c, i 14
60 50 40 9 4-1
set a-60, b= 15
a/b
14 50 40 30 9 4-1
Sumeman
for(each i from 0 to c)
C=C+ b-5 #of questions
print C Clear
while (b>= 1) Answered
a= a-10

b= b-5
Saved in Server
print a
end while Back
Next Attempt Sum
3579722033.pdf Submit
Type here to search
DS MCOS& 25 English Co... 30 Game Base..

Report Error
-12 7

Multi Choice Type Question Marks 1 Negative Marks : 0


6
A polynomial, f(x) is represented by the following array:
(2,4,6,3,1) 9
Whatis the sum of coefficients of x3 and x1?

#of questions
Clear Answered

Saved in Server

Back
Attempt sSu
Next
Submit
OF 3579722033.pdf

Type here to search


Capgemen Actual Test s

os MCQs& Engsh
EngishCo Game ties

Report Error
-13
Muiti Choice Type Question Marks: 1 Negative Marks: 0
O3
What will be the output of the following pseudocode?
2
Integerp, q,r
set p 1, q= 1, 2
if(q(r&p)* p) 8
#of questions
p0

else Answered
P 1-
Clear
Saved in Server
- 3
end if
Attempt Sus
print p +q+ Back Next
bmit
Note- & bitwise AND -The bitwise AND operator (&) compares each tate

COR 3579722033.pdf

Type here to search


Capgemini_ Actual Test 5
Test will be auto submitted in 70 minutes from the test start time

DS MCQS & 25 English Co.. 30 Game Base. 3

D-14 Report Error 35

Multi Choice Type Question Marks: 1 Negative Marks:0


44
What will be the output of the following pseudocode?
Integer p, qr 12
set p-6,q 9, 7
i f(qerOR ( r& p) < (q* r))
r-3
30 #of ques
g= (q+9)+ r
end if Clear Answered

print p +q+r Savedin S

[Note- &bitwise AND -The bitwise AND operator ( &) compares each Atter
bit of the first operand to the corresponding bit Back Next
of the second operand if both bits are 1 the corresponding result bitis

D 3579722033.pdf

Type here to search O 4 ENO


Data Structure Gmail YouTube AMaps
Physics Wallah MEmployability Diag. GitHub -vishalamc/.
Linux Commands C. How to create users. tt p
Capgemini_Actual_Test_5
Test will be auto submitted in 70 minutes
from the test start time

DSMCOS &25 English Co. 30 Game Base..

-15 Report Error


O1
Multi Choice Type Question Marks: 1 Negative Marks : 0
4
What will be the output of the following pseudocode?
2
integer j.m
set m 1
3
integer af41-{0,1,0,2)
al1l al0] al3
Clear
a2] al11 +a[2]
a3]=a[2
m a[3]

if(m)
m= m-1 Back Next
else

D 3579722033.pdf

DType here to search O


Data Structure Gmail YouTube o58D5241be-34B2 0970622tbd19
Maps Physics Wallah M
Employability Diag. GitHub vishalamc/. ommands C
Capgemini_Actual_Test_5 How to create users. Ep

Test will be auto


submitted in 70 minutes from the test
start timne
DS MCQS & 25 English Co.80 Game Base...
-16
Report Error
Multi Choice Type
O 10
Question Marks: 1
Negative Marks : 00
What will be the 12
output of the following
pseudocode?
Integer j, m 16
setm 1
integer al 4= ( 1,11,21, 12)
18
for (each j from 0 to
3)
if -1> all+3)
jump out of the loop Clear
end if
m all
end for
print m
Back
Next
DE 3579722033.pdf

Type here to search


Capgemini_Actual_Test 5
Test will be auto submitted in 70 minutes from the test start tirne

DS MCOS & English Co.. 30 Game Base...

-17 Report Error


O3
Multi Choice Type Question Marks:1 Negative Marks: 0

What will be the output of the following


O5
pseudocode?
integer p, g,r -12
set p-1,q-4, =2
if(p g p&q)
r p& q 4

else #of questiorn

rp Clear
end if Answered

if(qr &&r>p) Saved in Serva

end if

print p-q+r-2 Back Attemp


Next
O3579722033.pdf

y p e here to search
Ak Ptyss Walah upleyakiliytha

Capgemini ActualLTest_5
70 minutes from the test start time
Test will be auto submitted in

Game Base...
DS MCOS &25English Co. 30

Report Error
Q-18 3

Marks: 1 Negative Marks : 0


Multi Choice Type Question
O6
What will be the output of the following pseudocode?
15

integer a, b, c

set a-1, b= 3, c=2 4 #ofquestion


if ((a&b) &8& (b&c) && (c&a))
a a&b Answered
Clear
else
Saved in Serv
b b& a
end i
Attemp-
print a+b+C Back Next
[Note-& bitwise AND -The bitwise AND operator (&) compares each cvaree
D3579722033.pdf

Type here to search O a d) ENG


start time
Capgemini Actual_Test 5 in 70 minutes from the test
auto s u b m i t t e d
Test will be

English Co.. Game Base.3


DS MCOS &

Report Error

Q-19
Marks: 1 Negative Marks :0
Multi Choice Type Question 2
pseudocode for a= 125?
What will be the output of the following

integerfun1(integer a)
if(a«4)
O
return a- 5
1 # of ques
else
return fun1(a/5)-2)
end if
Clear Answere
end function fun10
Saved in:

Atte
Back Next
3579722033.pdf ctivate.
Type here to search
CapgeminiActual_Test5

Test will be auto submitted in 70 minutes from the test start


time

DS MCQS & English Co 30


Game Base.. 3

Report Error number from 12 to 0


-20 It will print the reverse

Marks:1 Negative Marks: 0


Multi Choice Type Question It will print the reverse number from 12 to 0 except 2
Consider the following pseudocode
It will print the reverse number from 12 to 0 except 11
integera
set a=13
do It will print the reverse number from 12 to 0 except 1
#of ques=
a=a-1

printa Answerec
Clear
with next iteration
continue
Saved in
print a*17
a-a-1
Atte
while(a not equals 2)
end do while
Back Next
print a a/6 vate
OR 3579722033-pdf

Type here to search O


Test will be auto submitted in 70 minutes frorm the test start time

DS MCOS &25 English Co. 30


Game Base.
-21 Report Error
Neither Inor II
Multi Choice Type Question Marks: 1
Negative Marks: 0
Which of the following is the correct reason
that should be considered
OOnly I
while selecting the correct
technique traversal for Ford-Fulkerson
of
algorithm? Only
i. Breadth First Traversal is
preferred as it reduces worst case tine
complexity. Both l and I
ii. Depth First Traversal is preferred as it reduces worst case time # of ques
complexity. Clear
Answerec
Saved in S

Back Atte
Next

3579722033.pdf
Type here to search
Test will be auto submitted in 70 minutes from the test start time

DS MCOS &.25 English Co. Game Base..

-22 Report Error


None of the mentioned option
Multi Choice Type Question Marks: 1 Negative Marks:0
20
1480
What will be the output of the following pseudocode for p-22, q=4, -2?
Integer funinteger p, integer q, integer ) 14 12 10864

if(pp-1)
fun(p-r, q+2, r+2) 20 18 16 14 12
print q #ofquesti
end if Answered
Clear
end function fun)
SavedinSer

Attem
Back Next

D3579722033.pdf

Type here to search O t 4 ENG


Test will be auto subrmitted in 70 minutes from the test start time

DS MCOS & 25 English Co. 30 Game Base..

Ja-23 Report Error


63MA
Multi Choice Type Question Marks: 1 Negative Marks 0
62
With the following details given about a binary tree, find out the
maximum number of nodes in the given tree. l 65
height of a binary tree =5
Nodes at levelI = 4

O 59 #ofquestion

Clear Answered
Saved in Serv

Attemp
Back Next
Activ
O3579722033.pdf

Type here to search O EA do ENG6


Capgemini_Actual_Test 5
Test will be auto submitted in 70 minutes from the test start tirme

MC 25 English Co. GameBase..

Report EmTor
Q-24 O Both Queue or Stack can be used

Multi Choice Type Question Marks: 1 Negative Marks : 0


Stack

Consider the following list of numbers:

2,6,8, 4, 66,9,7,8,3, 33, 44 Queue


Jackwantstocategorize the above numbers in three groups.
Group 1 will contain numbers less than 5 None of the mentioned options
#ofquest
Group 2 wilcontain numbers between 5 and 10
Group 3willcontain numbers greaterthan 10 Clear
Answered
Thefinaloutput that Jack wants is:
2,4,0,316,8,9,7166,33,44 Saved inS
What data structure should be used tocarry out the above operation?
Atter
Back Next

03579722033.pdf

Iype here to searchn O


Test will be auto submitted in 70
minutes from the test start time

DS MCOS & 25 English Co Game Base..

-25 Report ETor


Multi Choice Type
Only1 and 2
Question Marks: 1 Negative Marks:0
If you find a directed
graph where there is a path from each vertex in the
OOnly 3
graph to every other vertex the -
1. Graph has cycle Only 1
2. Graph is bipartite
3. Strongly Connected Components Only 2

# of ques
Clear
Answered

Saved in

Back Atte
Next
3579722033.pdf
e
D Type here to search

You might also like