DXC Technology interview experience Real time questions & tips from candidates to crack your interview

Associate Professional

DXC Technology
upvote
share-icon
4 rounds | 52 Coding problems

Interview preparation journey

expand-icon
Journey
To begin with, it was not easy to prepare for interviews while managing academics due to the COVID-19 break. Initially, it was challenging, but I later started focusing more on learning and practice instead of wasting time. At times, I felt overwhelmed by the pressure of getting a job. However, I began learning step by step instead of trying to learn everything at once. I attended training sessions conducted by the college and also prepared on my own. Finally, I gave the interview and cleared it. It was a great feeling when I learned that I had been selected.
Application story
I didn’t apply on my own, as the campus management team handled the entire application process. They took care of everything—from submitting applications to scheduling interviews. Our responsibility was to focus on training, preparation, and clearing the interview, while the campus team managed all other aspects smoothly.
Preparation
Duration: 3 - 4 months
Topics: C, Java, Python, HTML, CSS, JavaScript, SQL, .NET Core & Framework, .NET MVC
Tip
Tip

Tip 1: Focus on Fundamentals – Ensure you thoroughly understand key principles before tackling complex problems.

Tip 2: Stay Regular – Consistent practice sharpens your skills and builds confidence over time.

Tip 3: Embrace Challenges – View difficulties as opportunities to learn and grow, not as obstacles to avoid.

Application process
Where: Campus
Eligibility: Above 6 CGPA, (Salary Package: 4.2 LPA)
Resume Tip
Resume tip

Tip 1: Match your resume to the job – Highlight skills and experiences relevant to the role you are applying for.

Tip 2: Be clear and results-oriented – Use simple language and demonstrate what you achieved with numbers or outcomes.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date16 Aug 2022
Coding problem48

1. Profit Comparison

Article A was sold at a 20% profit, and Article B was sold at a 60% profit. The selling price of Article B was 150% higher than that of Article A. By what percent is the cost price of Article B more than that of Article A?

Options:

  1. 87.5%
  2. 86.5%
  3. 23.5%
  4. None

2. HCF Problem

How many pairs of integers (x, y) exist such that the product of x, y and HCF (x, y) = 1080?
Options:

  • 8
  • 7
  • 9
  • 12

3. Prime Remainder

A prime number p greater than 100 leaves a remainder q when divided by 28. How many values can q take?

Options:

  • 8
  • 12
  • 9
  • 15

4. Interest Problem

The difference between the compound interest and the simple interest on a certain sum at 12% p.a. for two years is Rs. 90. What will be the value of the amount at the end of 3 years?

Options:

  • 9000
  • 6250
  • 8530.80
  • 8780.80

5. Meeting Point

Two persons A and B start moving at each other from point P and Q, respectively which are 1400 Km apart. The speed of A is 50 Km/hr and that of B is 20 Km/hr. How far is A from Q when he meets B for the 22nd time?

Options:

  • 1000Km
  • 400Km
  • 800Km
  • 1400Km

6. Duel Probability

A and B take part in a duel. A can strike with an accuracy of 0.6. B can strike with an accuracy of 0.8. A has the first shot, post which they strike alternately. What is the probability that A wins the duel?

Options:

  • 7/10
  • 15/23
  • 2/3
  • 11/17

7. Log Equation

If log2X + log4X = log0.25√6 and x > 0, then x is?

8. Profit Percentage

Traders A and B buy two goods for Rs. 1000 and Rs. 2000 respectively. Trader A marks his goods up by x%, while trader B marks his goods up by 2x% and offers a discount of x%. If both make the same non-zero profit, find x

Options:

  • 25%
  • 12.5%
  • 37.5%
  • 40%

9. AP Problem

Let the nth term of AP be defined as tn, and sum up to 'n' terms be defined as Sn. If |t8| = |t16| and t3 is not equal to t7, what is S23?

Options:

  • 23(t16-t8)
  • zero
  • 23t11
  • cannot be determined

10. Circle Ratio

Two circles are placed in an equilateral triangle as shown in the figure. What is the ratio of the area of the smaller circle to that of the equilateral triangle.

Options:

π:27√3

π:36√3

π:18√3

π:42√3

11. Word Usage

Choose the option in which the usage of the word is incorrect or inappropriate:

Run
→ “I must run fast to catch up with him”
→ “Our team scored a goal against the run of play”
→ “You can’t run over him like that”
→ “This film is a run-of-the-mill production”

12. Word Usage

Choose the option in which the usage of the word is incorrect or inappropriate:

File
→ “You will find the paper in the file under C”
→ “I need to file an insurance claim”
→ “The cadets were marching in a single file”
→ “When the parade was on, a soldier broke the file”

13. Word Substitution

Choose the suitable substitute for the expression in quotes:

“The marriage of the princess with the commoner” caused a furore among the royalty.

Options: mesalliance / misalliance / elopement / romance

14. Sentence Sequence

Rearrange the following in order:

(A) In this spirit, Xenophanes dismisses the Olympian gods outright.
(B) It was inevitable that philosophy’s debt to politics be repaid.
(C) Aristotle intimates that Anaximander … espoused monotheism.
(D) From speculation about the natural world …
(E) This was in keeping with their presumption …

Options: BDCEA / CABED / DEABC / BCADE / ABCDE

15. Sentence Correction

Find the error and correct the sentence:

Though disposing of nuclear waste remains a concern, nuclear plants are often subsidized…

Options: Include variations with “off/of” and correct phrasing.

16. Error Correction

Find the error and correct the sentence:

I have met the director yesterday, and he assured me that he will help if you will ask him.

17. Error Correction

Find the error and correct:
 

Had it not been for the chieftain’s tireless efforts, the dispute will not have resolved.

18. Algorithm Type

Which one of the following is NOT a divide-and-conquer approach?

  • Insertion Sort
  • Merge Sort
  • Heap Sort

19. Circular LinkedList

Which of the following is false about a circular linked list?

Options:

  • Every node has a successor
  • Time complexity of inserting at the head is O(1)
  • Time complexity for deleting the last node is O(n)
  • We can traverse the whole list from any point

20. Compound Interest

A sum becomes ₹13,310 in 3 years and ₹14,641 in 4 years at compound interest. Find the rate of interest.

Options:

  • 8%
  • 9%
  • 10%
  • 11%

21. Logarithm Calculation

If log₁₀2 = 0.3010, find log₁₀5.
Options:

  • 0.6020
  • 0.6990
  • 0.3010
  • 1

22. Profit Loss

A man sells two articles at ₹1200 each. On one he gains 20%, on other he loses 20%. Overall?

Options:

  • No profit no loss
  • 4% loss
  • 4% gain
  • 2% loss

23. Coding Puzzle

In code language,

“SMART” → “TNBSU”
Then “PLANE” → ?

Options:

  • QMBOD
  • QMBMF
  • QMBNF
  • QLBOF

24. Seating Arrangement

Six friends A, B, C, D, E, F sit in a row facing north.

C is between A and F. B is immediate right of A. D is left of F. Who sits at the extreme right?

Options:

  • A
  • B
  • D
  • F

25. Number Series

Find missing term: 3, 8, 15, 24, 35, ?

Options:

  • 46
  • 48
  • 50
  • 52

26. Logical Deduction

If ALL PENS ARE BOOKS. SOME BOOKS ARE PAGES. Conclusion?

Options:

  • Some pens are pages
  • Some pages are pens
  • Cannot be determined
  • All pages are pens

27. Alphabet Series

Find next: AZ, BY, CX, DW, ?

Options:

  • EV
  • EU
  • FV
  • EW

28. Direction Puzzle

If South-East becomes North, what is West?

Options:

  • South-West
  • North-East
  • South-East
  • North-West

29. Number Pattern

Find the next number in the series: 1, 4, 9, 16, 25, ?

Options:

  • 30
  • 36
  • 49
  • 64

30. Code Puzzle

Coding: BOOK = 2664, LOOK=?

Options:

  • 3664
  • 4664
  • 2665
  • 2764

31. QuickSort Complexity

What is the worst-case time complexity of QuickSort?

Options:

  • O(n log n)
  • O(n²)
  • O(log n)
  • O(n)

32. BST Traversal

Which traversal gives a sorted output in a BST?

Options:

  • Preorder
  • Postorder
  • Inorder
  • Level order

33. Destructor Behavior

What happens if a destructor is private?

Options:

  • Compilation error
  • Object can't be destroyed
  • Memory leak
  • None

34. Normalization Form

Which normalization form removes transitive dependency?

Options:

  • 1NF
  • 2NF
  • 3NF
  • BCNF

35. Deadlock Conditions

Which conditions are required for a deadlock?

Options:

  • Mutual exclusion
  • Hold and wait
  • Circular wait
  • All

36. Pointer Arithmetic

Pointer arithmetic: If ptr points to an int array, what does ptr++ do?

Options:

  • Increments by 1 byte
  • Increments by sizeof(int)
  • Undefined
  • None

37. Number Series

Find the missing term in the series: 3, 8, 15, 24, 35, ?

Options:

  • 46
  • 48
  • 50
  • 52

38. Insertion Complexity

What is the time complexity of inserting at the head of a singly linked list?

Options:

  • O(1)
  • O(n)
  • O(log n)
  • O(n²)

39. Inheritance Abstraction

How does inheritance relate to abstraction?

  • A base class is an abstraction of all its derived classes
  • A derived class is an abstraction of all its base classes
  • Base and derived classes are abstractions of each base class
  • Inheritance prevents abstraction

40. Direction Logic

If South-East becomes North, what is West?

Options:

  • South-West
  • North-East
  • South-East
  • North-West

41. Error Identification

Identify the error in the following sentence:

He do not like coffee.

Options:

  • He
  • do
  • not
  • coffee

42. Correct Spelling

Which of the following is the correct spelling of the word Accommodate?

Options:

  • Accomodate
  • Accommodate
  • Acommodate
  • Accommdate

43. Voice Change

Change the following sentence from Active Voice to Passive Voice:

She wrote a letter.

Options:

  • A letter was written by her
  • A letter is written by her
  • A letter had written by her
  • A letter has written by her

44. Word Substitution

One-word substitution: A person who works for hire.

Options:

  • Employee
  • Employer
  • Laborer
  • Contractor

45. Method Overriding

A function in the base class is redefined in the derived (inherited) class. What is the term used to describe this situation?

Options:

  • Inheritance
  • Overriding
  • Overloading
  • Encapsulation

46. Binary Search

A programmer writes a program to search for an element in the array A[5] with elements: 8, 30, 40, 45, 70.

The program runs a binary search to find a number X, and the element is found in the first iteration of the search.

What is the value of X?

Options:

  • 40
  • 8
  • 30
  • 45

47. BFS Traversal

Which of the given statements is TRUE about a breadth-first search?

Options

  • Beginning from a node, all the adjacent nodes are traversed first
  • Beginning from a node, each adjacent is fully explored before traversing the next adjacent node
  • Beginning from a node, the node is traversed in cyclic order
  • None of the above

48. Output Prediction

What will be the output of the following pseudocode?

Integer a = 456, b, c, d = 10
b = a / d
c = a - b
print c

 

Options:

  • 410
  • 410.4
  • 411.4
  • 411
02
Round
Medium
Online Coding Interview
Duration20 minutes
Interview date16 Aug 2022
Coding problem1

1. AI Employment

Essay Writing: The Impact of Artificial Intelligence on Future Employment Opportunities.

03
Round
Medium
Online Coding Interview
Duration45 minutes
Interview date16 Aug 2022
Coding problem2

1. Debug Statement

Print the Statement [Java Programming]

Debug the Error:

The code below is commented out. Uncomment the code and fix the errors to make the program run correctly.

 

import java.io.*;

class Main { /*

  public static main (String[] args) {

  System.out.println("CTS Automata");

  } */

}

 

Sample Output:

CTS Automata

 

Case 1

Input (stdin):
No input

Output (stdout):

CTS Automata

2. Matrix Sum

Array Matrix of Dimension [Java Programming]

The function calculateMatrixSum(int matrix[][], int m, int n) accepts a two-dimensional array matrix of dimensions m × n as input and returns the sum of odd elements whose row and column indices are the same. The function compiles successfully but fails to return the correct result for some test cases.

The code below has been commented out. Uncomment the code and debug it.

 

import java.util.*;

class Main {

  static int calculateMatrixSum(int matrix[][], int m, int n)

{   int sum=0;

  /*  int i,j,row=m, column=n;

    if((row>0)&&(column>0))

    {

        for(i=0;i<row;i++)
     

  {

  for(j=0;j<column;j++)

            {

                if(i==j)

                {

                    if( matrix[i][j] % 2 == 0)

                    sum+=matrix[i][j];

                }

            }

        }

    } */

    return sum;

}

public static void main (String[] args) {

   Scanner sc=new Scanner(System.in);

       int rows=sc.nextInt();

       int columns=sc.nextInt();

       int twoD[][]=new int[rows][columns];

        for(int i=0; i<rows;i++)

         {           

            for(int j=0; j<columns;j++)

            {

                twoD[i][j]=sc.nextInt();

            }

         }

         System.out.println(calculateMatrixSum(twoD,rows,columns));

  }

}

 

Sample Input:

2
2
7 2
2 3

 

Output:

10

 

Case 1

Input (stdin):

2
2
7 2
2 3

 

Output (stdout):

10
04
Round
Medium
HR Round
Duration25 minutes
Interview date24 Aug 2022
Coding problem1

1. HR Questions

  • Introduce yourself.
  • What are OOP concepts?
  • What is Exception Handling in Java?
  • What is method overloading and method overriding? (Learn)
  • Talk about your final year project. Focus on your contribution, the work you did, how you completed your tasks, and problems you faced.
  • What are your strengths and weaknesses?
  • What is your short-term goal?
  • Do you have any questions for me?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
Associate Professional
2 rounds | 2 problems
Interviewed by DXC Technology
0 views
0 comments
0 upvotes
Associate Professional
2 rounds | 4 problems
Interviewed by DXC Technology
856 views
0 comments
0 upvotes
Associate Professional
2 rounds | 4 problems
Interviewed by DXC Technology
424 views
0 comments
0 upvotes
Associate Professional
2 rounds | 8 problems
Interviewed by DXC Technology
13 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Professional
3 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
529 views
0 comments
0 upvotes
company logo
Associate Professional
4 rounds | 6 problems
Interviewed by CIS - Cyber Infrastructure
0 views
0 comments
0 upvotes
company logo
Associate Professional
3 rounds | 9 problems
Interviewed by CIS - Cyber Infrastructure
502 views
0 comments
0 upvotes