PapersAdda

Dxc Technology Interview Questions 2026

24 min read
Interview Questions
Advertisement Placement

DXC Technology Interview Questions 2026 (with Answers for Freshers)

Last Updated: March 2026


Introduction

DXC Technology is a leading Fortune 500 global IT services and consulting company headquartered in Ashburn, Virginia, USA. Formed in 2017 through the merger of Computer Sciences Corporation (CSC) and the Enterprise Services business of Hewlett Packard Enterprise, DXC serves nearly 6,000 private and public sector clients across 70 countries.

With approximately 130,000 employees worldwide, DXC specializes in helping organizations modernize their IT estates, optimize data architectures, and ensure security and scalability across public, private, and hybrid clouds. The company is known for its strong partnerships with leading technology providers including AWS, Microsoft Azure, Google Cloud, and VMware.

For freshers, DXC offers excellent opportunities to work on large-scale enterprise projects, comprehensive training programs, and exposure to cutting-edge technologies in digital transformation.


DXC Technology Selection Process 2026

StageDescriptionDuration
Round 1: Online AssessmentAptitude, Logical, Verbal, Technical MCQs, Coding90-120 minutes
Round 2: Technical InterviewCore subjects, Coding, Project discussion30-45 minutes
Round 3: HR InterviewBehavioral, Communication, Culture fit20-30 minutes

Eligibility Criteria:

  • Minimum 60% throughout academics (10th, 12th, Graduation)
  • No active backlogs at the time of joining
  • CS/IT/ECE/MCA preferred; other branches considered

HR Interview Questions and Answers

1. Tell me about yourself.


2. Why do you want to join DXC Technology?


3. What are your strengths and weaknesses?

As for weaknesses, I sometimes tend to over-document my code and processes, which can be time-consuming. I am working on finding the right balance between thorough documentation and efficiency by using templates and focusing on critical information. I have learned to ask myself whether the documentation adds value before creating it."


4. Where do you see yourself in 5 years?


5. What do you know about DXC's service offerings?

  1. Analytics and Engineering: Data modernization, AI/ML solutions, and software engineering services
  2. Applications: Application development, modernization, and management
  3. Security: Cybersecurity services, risk management, and compliance solutions
  4. Cloud: Cloud migration, modernization, and management across hybrid and multi-cloud environments
  5. IT Outsourcing: End-to-end IT management and infrastructure services
  6. Modern Workplace: Digital workplace solutions and employee experience services

DXC is also known for its Industry IP, including solutions for insurance, healthcare, banking, and manufacturing. The company's partnerships with major technology providers enable it to deliver best-in-class solutions to clients. DXC's focus on ' IT modernization' helps enterprises optimize their technology investments while preparing for future growth."


6. How do you handle stress and pressure?

I also practice stress management techniques like deep breathing and taking short breaks to maintain focus. Physical exercise and adequate sleep help me stay resilient. During my internship, I faced a tight deadline for a critical deliverable and successfully managed it by working systematically and seeking help from colleagues when needed. This experience taught me that pressure is manageable with the right approach."


7. Are you comfortable working in different time zones?


8. What motivates you in your work?


  1. Online Learning: Regular courses on Pluralsight, Coursera, and cloud provider training platforms
  2. Technical Reading: Daily reading of technology blogs, whitepapers, and industry reports from sources like Gartner and Forrester
  3. Community Participation: Active involvement in GitHub projects, Stack Overflow, and LinkedIn technical groups
  4. Hands-on Practice: Building personal projects to experiment with new technologies
  5. Certifications: Pursuing relevant certifications to validate and structure my learning

Recently, I completed my AWS Cloud Practitioner certification and am currently working on the Solutions Architect Associate certification. I also regularly attend webinars on cloud technologies and DevOps practices."


10. What are your salary expectations?


Technical Interview Questions and Answers

1. Explain the difference between Stack and Queue.

FeatureStackQueue
PrincipleLIFO (Last In First Out)FIFO (First In First Out)
OperationsPush (add), Pop (remove)Enqueue (add), Dequeue (remove)
AccessTop element onlyFront and Rear elements
AnalogyStack of platesLine of people
Use CasesUndo operations, recursion, expression evaluationPrint spooling, CPU scheduling, BFS traversal

Implementation in Java:

// Stack using Java Collections
import java.util.Stack;

Stack<Integer> stack = new Stack<>();
stack.push(10);  // Add to top
stack.push(20);
int top = stack.pop();   // Remove from top (20)
int peek = stack.peek(); // View top without removing (10)

// Queue using Java Collections
import java.util.LinkedList;
import java.util.Queue;

Queue<Integer> queue = new LinkedList<>();
queue.offer(10);  // Add to rear
queue.offer(20);
int front = queue.poll();  // Remove from front (10)
int peek = queue.peek();   // View front without removing (20)

Python Implementation:

# Stack (using list)
stack = []
stack.append(10)  # Push
stack.append(20)
top = stack[-1]   # Peek
item = stack.pop()  # Pop (returns 20)

# Queue (using collections.deque)
from collections import deque
queue = deque()
queue.append(10)  # Enqueue
queue.append(20)
front = queue[0]  # Peek
item = queue.popleft()  # Dequeue (returns 10)

2. Write a program to find the Fibonacci series up to n terms.

Python Solutions:

# Iterative approach (preferred)
def fibonacci_iterative(n):
    if n <= 0:
        return []
    elif n == 1:
        return [0]
    
    fib = [0, 1]
    for i in range(2, n):
        fib.append(fib[i-1] + fib[i-2])
    return fib

# Recursive approach
def fibonacci_recursive(n):
    if n <= 0:
        return []
    elif n == 1:
        return [0]
    elif n == 2:
        return [0, 1]
    
    fib = fibonacci_recursive(n - 1)
    fib.append(fib[-1] + fib[-2])
    return fib

# Generator approach (memory efficient)
def fibonacci_generator(n):
    a, b = 0, 1
    for _ in range(n):
        yield a
        a, b = b, a + b

# Test
print(fibonacci_iterative(10))
print(list(fibonacci_generator(10)))

Time Complexity:

  • Iterative: O(n) time, O(n) space (or O(1) if only returning last number)
  • Recursive: O(2^n) naive, O(n) with memoization

3. What is the difference between Overloading and Overriding?

FeatureMethod OverloadingMethod Overriding
DefinitionSame method name, different parametersSame method signature in parent and child class
ClassSame classParent-child relationship required
ParametersMust be differentMust be same
Return TypeCan be differentMust be same or covariant
BindingCompile-time (static)Runtime (dynamic)
Access ModifierCan be anythingCannot reduce visibility
Polymorphism TypeCompile-time polymorphismRuntime polymorphism

Overloading Example:

class Calculator {
    // Overloaded methods
    int add(int a, int b) {
        return a + b;
    }
    
    double add(double a, double b) {
        return a + b;
    }
    
    int add(int a, int b, int c) {
        return a + b + c;
    }
}

Overriding Example:

class Animal {
    void makeSound() {
        System.out.println("Animal makes sound");
    }
}

class Dog extends Animal {
    @Override
    void makeSound() {
        System.out.println("Dog barks");
    }
}

// Usage
Animal animal = new Dog();
animal.makeSound();  // Outputs: Dog barks (runtime polymorphism)

4. Write a SQL query to find the Nth highest salary.

Multiple Solutions:

Solution 1: Using LIMIT/OFFSET (MySQL, PostgreSQL)

-- 3rd highest salary
SELECT DISTINCT salary 
FROM Employee 
ORDER BY salary DESC 
LIMIT 1 OFFSET 2;

Solution 2: Using Subquery (Standard SQL)

-- Nth highest salary (replace N)
SELECT DISTINCT salary 
FROM Employee e1 
WHERE N-1 = (
    SELECT COUNT(DISTINCT salary) 
    FROM Employee e2 
    WHERE e2.salary > e1.salary
);

Solution 3: Using DENSE_RANK (Window Functions)

WITH RankedSalaries AS (
    SELECT salary, 
           DENSE_RANK() OVER (ORDER BY salary DESC) as rank
    FROM Employee
)
SELECT DISTINCT salary 
FROM RankedSalaries 
WHERE rank = N;

Solution 4: Using TOP (SQL Server)

-- 3rd highest salary
SELECT TOP 1 salary 
FROM (
    SELECT DISTINCT TOP 3 salary 
    FROM Employee 
    ORDER BY salary DESC
) AS Top3
ORDER BY salary ASC;

5. Explain the difference between TCP and UDP.

FeatureTCP (Transmission Control Protocol)UDP (User Datagram Protocol)
ConnectionConnection-orientedConnectionless
ReliabilityReliable (guaranteed delivery)Unreliable (best effort)
OrderingOrdered deliveryNo ordering guarantee
SpeedSlower (overhead for reliability)Faster (minimal overhead)
Header Size20-60 bytes8 bytes
Error CheckingExtensive error checkingBasic error checking
Use CasesWeb browsing (HTTP), email (SMTP), file transfer (FTP)Streaming, DNS, gaming, VoIP
Congestion ControlYesNo
Flow ControlYesNo

TCP Handshake:

Client          Server
  |   SYN        |
  | -----------> |
  |   SYN-ACK    |
  | <----------- |
  |   ACK        |
  | -----------> |
  |  Connected!  |

When to use TCP:

  • Data integrity is critical
  • Order of delivery matters
  • File transfers, emails, web pages

When to use UDP:

  • Speed is more important than reliability
  • Real-time applications
  • Broadcasting/multicasting
  • DNS queries, video streaming

6. Write a program to detect a loop in a linked list.

Floyd's Cycle Detection Algorithm (Tortoise and Hare):

class Node:
    def __init__(self, data):
        self.data = data
        self.next = None

def detect_loop(head):
    """Returns True if loop exists, False otherwise"""
    if not head or not head.next:
        return False
    
    slow = head  # Tortoise
    fast = head  # Hare
    
    while fast and fast.next:
        slow = slow.next           # Move 1 step
        fast = fast.next.next      # Move 2 steps
        
        if slow == fast:           # Loop detected
            return True
    
    return False

def find_loop_start(head):
    """Finds the starting node of the loop"""
    if not detect_loop(head):
        return None
    
    # Find meeting point
    slow = fast = head
    while fast and fast.next:
        slow = slow.next
        fast = fast.next.next
        if slow == fast:
            break
    
    # Find loop start
    slow = head
    while slow != fast:
        slow = slow.next
        fast = fast.next
    
    return slow

# Time Complexity: O(n)
# Space Complexity: O(1)

Alternative using Hashing:

def detect_loop_hashing(head):
    visited = set()
    current = head
    
    while current:
        if current in visited:
            return True  # Loop found
        visited.add(current)
        current = current.next
    
    return False

# Time Complexity: O(n)
# Space Complexity: O(n)

7. What is the difference between Static and Dynamic Binding?

FeatureStatic Binding (Early Binding)Dynamic Binding (Late Binding)
Binding TimeCompile timeRuntime
Method TypePrivate, static, final methodsInstance methods
InformationType information is determined by declared typeType information is determined by actual object
PerformanceFaster (no runtime lookup)Slightly slower (runtime lookup)
ExampleMethod overloadingMethod overriding
Also CalledEarly bindingLate binding

Example in Java:

class Parent {
    // Static method - static binding
    static void staticMethod() {
        System.out.println("Parent static method");
    }
    
    // Instance method - dynamic binding
    void instanceMethod() {
        System.out.println("Parent instance method");
    }
}

class Child extends Parent {
    static void staticMethod() {
        System.out.println("Child static method");
    }
    
    @Override
    void instanceMethod() {
        System.out.println("Child instance method");
    }
}

// Usage
Parent obj = new Child();
obj.staticMethod();     // Parent static method (static binding)
obj.instanceMethod();   // Child instance method (dynamic binding)

Python Implementation:

def binary_search(arr, target):
    """
    Returns index of target if found, -1 otherwise
    Array must be sorted
    """
    left, right = 0, len(arr) - 1
    
    while left <= right:
        mid = (left + right) // 2
        
        if arr[mid] == target:
            return mid
        elif arr[mid] < target:
            left = mid + 1
        else:
            right = mid - 1
    
    return -1  # Not found

# Recursive version
def binary_search_recursive(arr, target, left=0, right=None):
    if right is None:
        right = len(arr) - 1
    
    if left > right:
        return -1
    
    mid = (left + right) // 2
    
    if arr[mid] == target:
        return mid
    elif arr[mid] < target:
        return binary_search_recursive(arr, target, mid + 1, right)
    else:
        return binary_search_recursive(arr, target, left, mid - 1)

# Test
arr = [1, 3, 5, 7, 9, 11, 13, 15]
print(binary_search(arr, 7))        # 3
print(binary_search(arr, 10))       # -1

Time Complexity: O(log n) Space Complexity: O(1) iterative, O(log n) recursive

Key Points:

  • Array must be sorted
  • Each iteration eliminates half of the remaining elements
  • More efficient than linear search (O(n)) for large datasets

9. Explain the difference between String, StringBuilder, and StringBuffer.

FeatureStringStringBuilderStringBuffer
MutabilityImmutableMutableMutable
Thread SafetyThread-safe (immutable)Not thread-safeThread-safe (synchronized)
PerformanceSlow (creates new objects)FastSlower than StringBuilder
IntroducedJava 1.0Java 5Java 1.0
Use CaseConstant stringsSingle-threaded string manipulationMulti-threaded string manipulation

Example:

// String - Immutable
String s = "Hello";
s = s + " World";  // Creates new object, original unchanged

// StringBuilder - Mutable, faster
StringBuilder sb = new StringBuilder("Hello");
sb.append(" World");  // Modifies same object
String result = sb.toString();

// StringBuffer - Thread-safe
StringBuffer sbf = new StringBuffer("Hello");
sbf.append(" World");  // Synchronized method

Performance Comparison:

// Inefficient - creates 1000 objects
String s = "";
for (int i = 0; i < 1000; i++) {
    s += i;  // Creates new String object each time
}

// Efficient - modifies single object
StringBuilder sb = new StringBuilder();
for (int i = 0; i < 1000; i++) {
    sb.append(i);  // Same object modified
}

Recommendation:

  • Use String for constants or when immutability is needed
  • Use StringBuilder for single-threaded string manipulation
  • Use StringBuffer only when thread safety is required

10. Write a SQL query to find employees who have been with the company for more than 5 years.

Table Structure:

CREATE TABLE Employees (
    emp_id INT PRIMARY KEY,
    emp_name VARCHAR(100),
    hire_date DATE,
    department VARCHAR(50),
    salary DECIMAL(10,2)
);

Solutions:

Solution 1: Using DATEDIFF (SQL Server)

SELECT emp_id, emp_name, hire_date, department
FROM Employees
WHERE DATEDIFF(year, hire_date, GETDATE()) > 5;

Solution 2: Using DATE_SUB/CURDATE (MySQL)

SELECT emp_id, emp_name, hire_date, department
FROM Employees
WHERE hire_date <= DATE_SUB(CURDATE(), INTERVAL 5 YEAR);

Solution 3: Using INTERVAL (PostgreSQL)

SELECT emp_id, emp_name, hire_date, department
FROM Employees
WHERE hire_date <= CURRENT_DATE - INTERVAL '5 years';

Solution 4: Standard SQL (works across databases)

SELECT emp_id, emp_name, hire_date, department,
       FLOOR(DATEDIFF(CURRENT_DATE, hire_date) / 365.25) AS years_of_service
FROM Employees
WHERE hire_date <= CURRENT_DATE - INTERVAL '5' YEAR;

Additional Query: Calculate exact years of service

SELECT emp_id, emp_name, hire_date,
       TIMESTAMPDIFF(YEAR, hire_date, CURDATE()) AS years,
       TIMESTAMPDIFF(MONTH, hire_date, CURDATE()) % 12 AS months
FROM Employees
WHERE TIMESTAMPDIFF(YEAR, hire_date, CURDATE()) > 5;

Behavioral Interview Questions and Answers (STAR Format)

1. Describe a time when you had to work under pressure to meet a deadline.

Situation: During my final semester, I was part of a team developing a smart attendance system using facial recognition. Three days before the project demonstration, our lead developer fell ill, leaving us with incomplete core functionality.

Task: I needed to step up and complete the facial recognition integration while ensuring the entire system was ready for the demo.

Action:

  • Assessed the remaining work and reprioritized tasks based on demo requirements
  • Worked closely with the team to redistribute tasks among available members
  • Researched OpenCV documentation and implemented the facial recognition module
  • Set up continuous testing to catch issues early
  • Coordinated with teammates for UI integration and database connectivity
  • Worked extended hours while ensuring code quality through peer reviews

Result: We successfully demonstrated the working system on schedule. Our project received the highest grade in the class, and the facial recognition achieved 95% accuracy. This experience taught me the importance of resilience, clear communication, and maintaining code quality even under pressure.


2. Tell me about a time when you had to learn something new to complete a task.

Situation: During my internship, I was assigned to create a dashboard for monitoring server performance metrics, but I had no prior experience with data visualization libraries.

Task: I needed to learn a suitable visualization library and build a production-ready dashboard within two weeks.

Action:

  • Evaluated different libraries (D3.js, Chart.js, Plotly) and chose Chart.js for its balance of features and ease of use
  • Completed the official documentation and tutorials over three days
  • Built incremental prototypes to validate understanding
  • Implemented real-time updates using WebSocket connections
  • Added interactive features like filtering and zooming
  • Sought feedback from senior developers and iterated on the design

Result: I delivered the dashboard on time, which became a key tool for the operations team. The CTO specifically mentioned it during an all-hands meeting as an example of effective internal tooling. This experience boosted my confidence in learning new technologies independently and reinforced my belief in continuous learning.


3. Give an example of how you handled a conflict with a team member.

Situation: In a group project, a teammate and I disagreed on the database schema design. He wanted to use a highly normalized structure, while I advocated for some denormalization to improve query performance for our read-heavy application.

Task: We needed to resolve this disagreement while maintaining team harmony and choosing the best technical solution.

Action:

  • Suggested we both document our approaches with pros and cons
  • Created proof-of-concept implementations for both schemas
  • Benchmarked query performance with realistic data volumes
  • Invited our mentor to review both approaches objectively
  • Focused on data rather than personal preferences during discussions

Result: The benchmarking showed that my approach reduced query times by 60% for our specific use case, while his approach was better for data integrity. We agreed on a hybrid solution that balanced both concerns. This experience taught me the value of data-driven decision-making and respectful technical discourse. We remained good friends and continued collaborating effectively.


4. Describe a situation where you took initiative to improve a process.

Situation: During my internship, I noticed that our team spent considerable time manually generating weekly status reports by copying data from multiple sources into a PowerPoint presentation.

Task: I saw an opportunity to automate this process to save time and reduce errors.

Action:

  • Documented the current manual process and identified pain points
  • Proposed building an automated reporting tool to my manager
  • Developed a Python script that extracted data from JIRA and Confluence APIs
  • Created a dashboard using Streamlit that generated reports automatically
  • Presented the solution to the team and gathered feedback
  • Iterated based on suggestions and added email notification features

Result: The automated tool reduced report generation time from 4 hours to 15 minutes weekly. The team adopted it immediately, and my manager nominated me for the quarterly innovation award. The experience taught me to proactively identify inefficiencies and the value of proposing solutions, not just problems.


5. Tell me about a time when you received constructive criticism and how you responded.

Situation: During a code review in my internship, my team lead pointed out that while my code was functionally correct, it lacked proper error handling and had minimal comments, making it difficult for others to maintain.

Task: I needed to improve my code quality practices while maintaining my development speed.

Action:

  • Listened actively to the feedback without getting defensive
  • Asked specific questions about coding standards and best practices
  • Studied the team's existing codebase to understand their conventions
  • Created a personal checklist for future code submissions
  • Implemented comprehensive error handling and documentation in my current project
  • Requested additional code reviews to validate my improvement

Result: My code quality improved significantly over the next month. The team lead commended my progress, and I was assigned to a critical project due to my improved reliability. I learned that constructive feedback is a gift that accelerates professional growth, and I now actively seek code reviews to continue improving.


DXC Technology-Specific Interview Tips

1. Understand Enterprise IT

DXC primarily serves large enterprises. Research enterprise IT challenges, legacy modernization, and hybrid cloud strategies.

2. Learn About Key Partnerships

Study DXC's partnerships with AWS, Microsoft Azure, Google Cloud, VMware, and ServiceNow. Basic knowledge of these platforms is valuable.

3. Research Industry Verticals

DXC has strong presence in Healthcare, Insurance, Banking, and Manufacturing. Understand the IT challenges in at least one of these industries.

4. Focus on Cloud Fundamentals

Prepare for questions on:

  • Cloud deployment models (IaaS, PaaS, SaaS)
  • Hybrid and multi-cloud strategies
  • Cloud migration approaches
  • Basic AWS/Azure/GCP services

5. Study Security Basics

Cybersecurity is a major focus area. Know basic concepts:

  • Authentication vs Authorization
  • Encryption types
  • Common security threats
  • Compliance frameworks (GDPR, HIPAA)

6. Understand DevOps Concepts

DXC emphasizes modern delivery practices:

  • CI/CD pipelines
  • Infrastructure as Code
  • Containerization basics
  • Monitoring and observability

7. Practice Enterprise Scenarios

Be ready to discuss how you would approach large-scale system design and maintenance challenges.

8. Show Interest in Continuous Learning

DXC values professionals who stay current. Mention recent courses, certifications, or self-learning projects.

9. Demonstrate Communication Skills

Client interaction is crucial. Practice explaining technical concepts clearly to non-technical audiences.

10. Research Recent DXC News

Check recent press releases, acquisitions, or strategic initiatives. Mentioning current events shows genuine interest.


Frequently Asked Questions (FAQs)

1. What is the salary package for freshers at DXC Technology in 2026?

2. What is the training period at DXC for freshers?

3. Does DXC have a service agreement for freshers?

4. Which technologies should I focus on for DXC?

5. How can I prepare for DXC's online assessment?


Conclusion

DXC Technology interviews require a blend of strong technical fundamentals, understanding of enterprise IT environments, and excellent communication skills. Focus on core programming concepts, cloud basics, and demonstrate your ability to learn and adapt.

Remember that DXC serves large enterprises with complex IT landscapes. Show that you understand the challenges of enterprise transformation and are eager to contribute to solving them. Your enthusiasm for continuous learning and professional growth will be key differentiators.

Best of luck with your DXC Technology interview!


Related Articles:

Advertisement Placement

Explore this topic cluster

More resources in Interview Questions

Use the category hub to browse similar questions, exam patterns, salary guides, and preparation resources related to this topic.

More in Interview Questions

More from PapersAdda

Share this article: