0% found this document useful (0 votes)
3K views

DXC Technology Recruitment

This document provides sample questions to assess English, logical reasoning, quantitative aptitude, and computer programming skills for recruitment and placement at DXC Technology. The English questions test fill-in-the-blank skills, logical reasoning questions assess logical deductions, quantitative aptitude questions evaluate mathematical problem solving abilities, and computer programming questions examine programming concepts and code logic.

Uploaded by

vsb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views

DXC Technology Recruitment

This document provides sample questions to assess English, logical reasoning, quantitative aptitude, and computer programming skills for recruitment and placement at DXC Technology. The English questions test fill-in-the-blank skills, logical reasoning questions assess logical deductions, quantitative aptitude questions evaluate mathematical problem solving abilities, and computer programming questions examine programming concepts and code logic.

Uploaded by

vsb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

DXC Technology Recruitment - Placement Papers Latest

English:

Fill in the blank(s) with the option that makes the sentence meaningfully complete.

Q1. The monk wanders here and there in search of silence and peace. He lives a _____ life.

a. Nomadic
b. Boring
c. Religious
d. Busy
Answer: Nomadic
Q2. This new technology has the potential to provide handsome returns even though it is at
a ______ stage in India.

a. Turbulent
b. Peculiar
c. Nascent
d. Unknown
Answer: Nascent
Q3. The labor union decided to go on strike because the management was adamant and did
not agree to their terms. The discussion had reached a /an _______.
a. Climax
b. Obstacle
c. Impetus
d. Impasse
Answer: Impasse
Q4. Friends _____ the much-needed support when you are in trouble.
a. Are
b. Is
c. Distribute
d. Provide
Answer: Provide
Fill in the blank(s) with the option that makes the sentence meaningfully complete.
Q5. Once he has signed the agreement, he won’t be able to _____.
a. Back out
b. Back up
c. Back in
d. Back at
Answer: Back out
Logical Reasoning:
Q1. If North-West becomes East and North-East becomes South and so on, then what does
East become?
a. North West
b. North East
c. South East
d. South West
Answer: South West
Q2. X says, pointing to Y, “He is my sister’s only brother’s son”. How is Y related to X?
a. Daughter
b. Father
c. Uncle
d. Son
Answer: Son
Q3. From the given choices select the odd one out.
a. BAK
b. DCM
c. HGQ
d. MNW
Answer: MNW
Q4. Shivam put his wall clock on a table in such a way that at 9 a.m, the hour hand was
pointing south. In which direction will the minute hour point at 9:30 p.m?
a. North
b. South
c. East
d. West
Answer: East
Q5. The question consists of a problem question followed by two statements I and II. Find
out if the information given in the statement(s) is sufficient in finding the solution to the
problem.
Problem question: Who is the fastest among the three workers X, Y, and Z?
Statements:
I) X and Y together take 12 minutes to paint a room.
II) X, Y and Z together can complete the work in 17 minutes.
a. Either I or II alone is sufficient
b. Both the statements are not sufficient
c. I is sufficient, II is not
d. II is sufficient, I is not
Answer: Both the statements are not sufficient

Quantitative Aptitude:

Q1. In a poultry farm, 50 hens give 200 eggs in 2 days. In how many days will 20 hens give
400 eggs?
a. 10
b. 20
c. 15
d. 17

Answer: 10
Q2. How many 4 digit numbers can be made using 1, 2, 3, 4, 5, 6, and 7 with none of the
digits being repeated?
a. 700
b. 810
c. 840
d. 920
Answer: 840
Q3. A total profit of Rs. 36,000 is to be distributed among Rajesh, Salesh, and Rajeev such
that Rajesh : Salesh :: 5 : 4 and Salesh : Rajeev :: 8 : 9. What is the share of Rajeev?
a. Rs.18,000
b. Rs. 12,500
c. Rs. 12,000
d. Rs.13,000
Answer: Rs. 12,000
Q4. What is the least number which should be added to 1330 to make it a perfect square?
a. 28
b. 31
c. 39
d. 48
Answer: 39
Q5. One gear of pulley rotates at a speed of 3 revolutions per second, another gear rotates
at 5 revolutions per second. If both start together, after how many seconds will they be
together again?
a. 12
b. 27
c. 15
d. 38
Answer: 15
Computer Programming MCQs:

Q1. A programmer writes a program to find an element in the array A[5] with the
elements: 8 30 40 45 70. The program is run to find a number “X”, which is found in the
first iteration of binary search. What is the value of “X”?
a. 40
b. 8
c. 70
d. 3
Answer: 40
Q2. The program to print the sum of all cubes that lie between 0 and 100 is given below.
Does the program have an error? If yes, which statement should be modified to correct the
program?

integer i = 0 // Statement 1

integer sum = 0;

a = (i * i * i)

while(i<100) // Statement 2

sum = sum + a // Statement 3

i=i+1

a = (i * i * i) // Statement 4

}
print sum

a. Statement 1
b. Statement 2
c. Statement 3
d. Statement 4
Answer: Statement 2
Q3. A developer writes the program given below to print the sum of the squares of the first
five whole numbers (0 .. 4). Is the program correct? If not, which statement should be
modified to correct the program?

integer i = 0 // Statement 1

integer sum = 0 // Statement 2

while (i<5) // Statement 3

sum = i*i // Statement 4

i = i + 1 // Statement 5

print sum // Statement 6

a. Statement 1
b. Statement 5
c. Statement 6
d. Statement 4
Answer: Statement 4
Q4. Identify the lowest level format to which the computer converts a program in a higher
language before execution.
a. English code
b. Machine code
c. Assembly language
d. System language
Answer: Machine code
Q5. An integer “X” is saved as an unsigned 8-bit number 00001011. What is X?
a. 22
b. 11
c. 10
d. None of these
Answer: 11
Automata Fix:

Q1. You are required to complete the given code. You can click on Compile & Run anytime
to check the compilation/ execution status of the program. You can use cout to debug your
code. The submitted code should be logically/ syntactically correct and pass all test cases.
Do not write the main() function as it is not required. 

Code Approach: For this question, you will need to complete the code as in the given
implementation. We do not expect you to modify the approach.

The function/ method median accepts two arguments - size and inputList, an integer


representing the length of a list and a list of integers, respectively.

The function/method median is supposed to calculate and return an integer representing


the median of elements in the input list. However, the function/method median works
only for odd-length lists because of incomplete code.

You must complete the code to make it work for even-length lists as well. A couple of other
functions/ methods are available, which you are supposed to use inside the
function/method median to complete the code.

Helper Description
The following function is used to represent a quick_select and is already implemented in
the default code (Do not write this definition again in your code):

int quick_select(int* inputList, int start_index, int end_index, int median_order)


{
/*It calculates the median value
This can be called as 
quick_select(inputList, start_index, end_index, median_order)
where median_order is the half length of the inputList
}

Answer: 

Q2. You are required to fix all logical errors in the given code. You can click on Compile &
Run anytime to check the compilation/ execution status of the program. You can use cout
to debug your code. The submitted code should be logically/ syntactically correct and pass
all test cases. Do not write the main() function as it is not required. 

Code Approach: For this question, you will need to correct the given implementation.
We do not expect you to modify the approach or incorporate any additional library
methods.

The function/method drawPrintPattern accepts num, an integer.


The function/method drawPrintPattern prints the first num lines of the pattern shown
below.

For example, if num = 3, the pattern should be:


11
1111
111111
The function/method drawPrintPattern compiles successfully but fails to get the desired
result for some test cases due to incorrect implementation of the function/method. Your
task is to fix the code so that it passes all the test cases.

Answer:

You might also like