Add office photos
Employer?
Claim Account for FREE

Emtec

4.3
based on 103 Reviews
Filter interviews by

10+ DXC Technology Interview Questions and Answers

Updated 5 Feb 2024

Q1. what is difference between springboot and spring

Ans.

Spring is a framework for building Java applications, while Spring Boot is a tool that simplifies the setup and configuration of Spring applications.

  • Spring is a comprehensive framework that provides support for various functionalities like dependency injection, aspect-oriented programming, and more.

  • Spring Boot is an opinionated tool that simplifies the setup and configuration of Spring applications by providing defaults and auto-configuration.

  • Spring Boot includes embedded ser...read more

View 1 answer

Q2. how do you use JPA in your project write it

Ans.

I use JPA in my project by defining entity classes, annotating them with JPA annotations, creating repositories, and using JPQL queries.

  • Define entity classes with @Entity annotation

  • Annotate fields with @Column, @Id, @GeneratedValue, etc.

  • Create repositories by extending JpaRepository interface

  • Use JPQL queries for custom database operations

View 1 answer

Q3. How microservices communicate in your project

Ans.

Microservices communicate through REST APIs and messaging queues in our project.

  • Microservices communicate with each other using REST APIs for synchronous communication.

  • Messaging queues like Kafka or RabbitMQ are used for asynchronous communication between microservices.

  • Service discovery tools like Eureka or Consul are used to locate and communicate with other microservices.

  • Microservices may also use gRPC for communication in some cases.

View 1 answer

Q4. Given array: [1,3,4,[6,7,[8,5],9],2] Result array : [1,3,4,6,7,8,5,9,2]

Ans.

The given array needs to be flattened to a single-level array.

  • Iterate through the array elements

  • If an element is an array, recursively flatten it

  • If an element is not an array, add it to the result array

View 1 answer
Discover DXC Technology interview dos and don'ts from real experiences

Q5. what do you know about Emtec

Ans.

Emtec is a global IT consultancy that provides technology solutions and services to help organizations drive digital transformation.

  • Provides IT consultancy services

  • Specializes in technology solutions

  • Helps organizations with digital transformation

Add your answer

Q6. Python - find max from array without using built in function

Ans.

Find max from array in Python without using built-in function.

  • Iterate through the array and compare each element with a variable storing the current maximum value.

  • If the element is greater than the current maximum, update the variable.

  • Return the variable after iterating through the entire array.

Add your answer
Are these interview questions helpful?

Q7. What are array methods in Javascript

Ans.

Array methods in Javascript are built-in functions that can be used to manipulate arrays.

  • Some common array methods are push(), pop(), shift(), unshift(), slice(), splice(), concat(), join(), indexOf(), and forEach().

  • push() adds one or more elements to the end of an array.

  • pop() removes the last element from an array.

  • shift() removes the first element from an array.

  • unshift() adds one or more elements to the beginning of an array.

  • slice() returns a new array with a portion of the ...read more

Add your answer

Q8. explaing springboot annotation

Ans.

Spring Boot annotations are used to simplify the development process by providing shortcuts for common configurations and functionalities.

  • Annotations like @SpringBootApplication, @RestController, @Autowired, @ComponentScan are commonly used in Spring Boot applications.

  • Annotations help in reducing boilerplate code and configuring various aspects of the application.

  • For example, @SpringBootApplication is used to mark the main class of a Spring Boot application.

  • Annotations like @...read more

View 1 answer
Share interview questions and help millions of jobseekers 🌟

Q9. What js difference between === and ==

Ans.

=== compares value and type, while == only compares value

  • === is stricter than == in type checking

  • === returns true only if both operands are of the same type and have the same value

  • == performs type coercion, which can lead to unexpected results

  • For example, '5' == 5 returns true, but '5' === 5 returns false

Add your answer

Q10. Promise in javascript

Ans.

Promise is a way to handle asynchronous operations in JavaScript.

  • Promises represent a value that may not be available yet.

  • They have three states: pending, fulfilled, and rejected.

  • Promises can be chained using .then() and .catch() methods.

  • They help avoid callback hell and make code more readable.

  • Example: new Promise((resolve, reject) => {...})

Add your answer

Q11. State and props from react

Ans.

State and props are two important concepts in React for managing data and passing data between components.

  • State is used to manage data within a component and can be updated using setState() method.

  • Props are used to pass data from parent component to child component.

  • State is mutable while props are immutable.

  • Example:

  • Example:

Add your answer

Q12. What is manual testing?

Ans.

Manual testing is a process of verifying software manually without the use of automation tools.

  • Manual testing involves executing test cases manually

  • It requires human intervention to identify defects and issues

  • It is time-consuming and requires a lot of effort

  • It is useful for testing user interface, usability, and exploratory testing

  • Examples include ad-hoc testing, exploratory testing, and regression testing

Add your answer

Q13. What is Black Box Testing?

Ans.

Black Box Testing is a software testing technique where the internal workings of the system are not known to the tester.

  • Tests are performed based on the system's specifications and requirements.

  • The tester does not have access to the source code or internal structure of the system.

  • The focus is on the system's functionality and user interface.

  • Examples include functional testing, regression testing, and acceptance testing.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.4
 • 770 Interview Questions
4.0
 • 596 Interview Questions
4.2
 • 198 Interview Questions
3.9
 • 151 Interview Questions
4.0
 • 147 Interview Questions
3.8
 • 130 Interview Questions
View all
Top Emtec Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter