Add office photos
Deloitte logo
Premium Employer

Deloitte

Verified
3.8
based on 17.8k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Software Engineer
Clear (1)

20+ Deloitte Software Engineer Interview Questions and Answers

Updated 23 Aug 2024

Q1. what are the differences between stored procedure and triggers in SQL?

Ans.

Stored procedures are precompiled SQL statements that can be executed on demand, while triggers are automatically executed in response to specific events.

  • Stored procedures are explicitly called by the user, while triggers are automatically invoked by the database system.

  • Stored procedures can accept parameters and return values, while triggers cannot.

  • Stored procedures can be executed independently, while triggers are always associated with a specific table or view.

  • Stored proce...read more

View 3 more answers
right arrow

Q2. what are access specifiers in c++

Ans.

Access specifiers in C++ are keywords that determine the visibility and accessibility of class members.

  • There are three access specifiers in C++: public, private, and protected.

  • Public members are accessible from anywhere in the program.

  • Private members are only accessible within the class itself.

  • Protected members are accessible within the class and its derived classes.

  • Access specifiers are used to enforce encapsulation and control the access to class members.

View 1 answer
right arrow

Q3. what is a Kernel in OS

Ans.

Kernel is the core component of an operating system that manages system resources and provides a bridge between hardware and software.

  • Kernel is responsible for managing memory, processes, and device drivers.

  • It provides an interface for applications to access hardware resources.

  • Kernel operates in privileged mode and has direct access to the hardware.

  • Examples of popular kernels are Linux kernel, Windows NT kernel, and macOS kernel.

View 1 answer
right arrow

Q4. what is the use of print f() and scan f() functions?

Ans.

printf() and scanf() are used for input/output operations in C programming language.

  • printf() is used to print output on the console or terminal.

  • scanf() is used to take input from the user.

  • printf() and scanf() are part of the standard input/output library in C.

  • printf() uses format specifiers to format the output.

  • scanf() uses format specifiers to read input from the user.

View 2 more answers
right arrow
Discover Deloitte interview dos and don'ts from real experiences

Q5. What is REST API, Difference between Spring MVC and Spring Boot, Abstract class, interfaces etc

Ans.

Answering questions related to REST API, Spring MVC, Spring Boot, abstract class, and interfaces.

  • REST API is a set of rules for building web services. It uses HTTP methods to access resources.

  • Spring MVC is a framework for building web applications using the Model-View-Controller architecture.

  • Spring Boot is a framework for building standalone, production-grade Spring-based applications.

  • An abstract class is a class that cannot be instantiated and is meant to be subclassed.

  • An in...read more

Add your answer
right arrow

Q6. Explain about Polymorphism

Ans.

Polymorphism is the ability of an object to take on many forms.

  • It allows objects of different classes to be treated as if they were objects of the same class.

  • It can be achieved through method overloading or method overriding.

  • Example: A shape class can have different subclasses like circle, square, etc. and all can be treated as shapes.

  • It helps in achieving code reusability and flexibility.

View 1 answer
right arrow
Are these interview questions helpful?

Q7. explain about operator overloading

Ans.

Operator overloading allows operators to have different meanings based on the operands they work on.

  • It allows operators to be used with user-defined data types

  • It can simplify code and make it more readable

  • Examples include using the + operator to concatenate strings or add numbers

  • Operators can be overloaded for unary and binary operations

View 1 answer
right arrow

Q8. what are static variables and functions?

Ans.

Static variables and functions are those that retain their values throughout the program's execution.

  • Static variables are declared with the 'static' keyword and are initialized only once.

  • Static functions are also declared with the 'static' keyword and can only be called within the same file.

  • Static variables and functions have a global scope within the file they are declared in.

  • Examples of static variables include counters and flags.

  • Examples of static functions include helper ...read more

View 1 answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. what do you mean by a nested structure?

Ans.

A nested structure is a data structure that contains other data structures within it.

  • It is a way of organizing data in a hierarchical manner.

  • It can be used in programming languages like C, Java, and Python.

  • Examples include arrays of structures, structures containing arrays, and structures containing other structures.

  • It can be used to represent complex data such as trees and graphs.

View 1 answer
right arrow

Q10. explain about encapsulation

Ans.

Encapsulation is the process of hiding implementation details and providing a public interface for accessing the object.

  • Encapsulation helps in achieving data abstraction and information hiding.

  • It prevents unauthorized access to the internal state of an object.

  • It allows for better control over the data and its behavior.

  • Example: A bank account class with private variables for balance and account number, and public methods for deposit and withdrawal.

  • Example: A car class with pri...read more

View 1 answer
right arrow

Q11. Simple cobol program.what kind of changes in cobol .

Ans.

Changes in COBOL programs depend on the specific requirements and goals of the project.

  • Changes may involve modifying existing code to add new functionality or improve performance.

  • Updates may also be necessary to ensure compatibility with new hardware or software systems.

  • Refactoring code to improve readability and maintainability is another common change.

  • Examples of changes include adding new data fields, modifying conditional statements, and updating file handling procedures.

Add your answer
right arrow

Q12. Why operator overloading is not possible in java

Ans.

Java doesn't support operator overloading to maintain simplicity and avoid ambiguity.

  • Java was designed to be a simple language, and operator overloading can make code more complex and harder to read.

  • Operator overloading can also lead to ambiguity in code, making it difficult to understand the intended behavior.

  • Java provides alternative ways to achieve the same functionality as operator overloading, such as using methods with descriptive names.

  • Other languages like C++ and Pyth...read more

Add your answer
right arrow

Q13. 3. Define 4 pillars of OOPS with real world example

Ans.

Encapsulation, Inheritance, Polymorphism, Abstraction are the 4 pillars of OOPS

  • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: a car with its properties and methods.

  • Inheritance: Ability of a class to inherit properties and behavior from another class. Example: a child class inheriting from a parent class.

  • Polymorphism: Ability to present the same interface for different data types. Example: a function that can operate on different...read more

Add your answer
right arrow

Q14. What are SOLID principles in java

Ans.

SOLID principles are a set of design principles in object-oriented programming that help in creating maintainable and scalable software.

  • S - Single Responsibility Principle (SRP)

  • O - Open/Closed Principle (OCP)

  • L - Liskov Substitution Principle (LSP)

  • I - Interface Segregation Principle (ISP)

  • D - Dependency Inversion Principle (DIP)

Add your answer
right arrow

Q15. 2. Difference between ASP.NET and ASP.NET Core

Ans.

ASP.NET is a framework for building web applications using .NET, while ASP.NET Core is a cross-platform, high-performance version of ASP.NET.

  • ASP.NET is Windows-only, while ASP.NET Core is cross-platform and runs on Windows, macOS, and Linux.

  • ASP.NET Core is open-source and modular, allowing developers to include only the necessary components in their applications.

  • ASP.NET Core has better performance and scalability compared to ASP.NET.

  • ASP.NET Core supports dependency injection ...read more

Add your answer
right arrow

Q16. 1. What is ASP.NET?

Ans.

ASP.NET is a web application framework developed by Microsoft for building dynamic web sites, web applications, and web services.

  • ASP.NET allows developers to build dynamic web applications using languages like C# or VB.NET

  • It provides a rich set of tools and libraries for building web applications

  • ASP.NET supports various technologies like Web Forms, MVC, and Web API

  • It is integrated with Visual Studio for easy development and debugging

  • ASP.NET Core is the latest version of ASP.N...read more

Add your answer
right arrow

Q17. fail fast vs fail safe

Ans.

Fail fast prioritizes speed of detection and resolution, while fail safe prioritizes safety and minimizing harm.

  • Fail fast approach is commonly used in agile development where quick feedback is essential

  • Fail safe approach is commonly used in critical systems such as medical devices or aviation

  • Fail fast can lead to more errors and instability if not properly managed

  • Fail safe can lead to slower response times and increased complexity

  • Both approaches have their place depending on ...read more

Add your answer
right arrow

Q18. Design ui for an application.

Ans.

Designing a user interface for an application involves creating a visually appealing and user-friendly layout.

  • Consider the target audience and their needs

  • Use a clean and intuitive design with easy navigation

  • Include relevant features and functionalities

  • Ensure consistency in design elements such as colors, fonts, and spacing

  • Test the UI for usability and make necessary adjustments

Add your answer
right arrow

Q19. Able to switch locations

Ans.

Yes, I am able to switch locations for work if required.

  • I am open to relocating for the right opportunity

  • Have previous experience moving for work

  • Willing to consider different cities or countries for work

Add your answer
right arrow

Q20. Internal working of Hashmap

Ans.

HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.

  • HashMap internally uses an array of linked lists to store key-value pairs.

  • When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.

  • If multiple keys hash to the same index, a linked list is used to handle collisions.

  • To retrieve a value, the key is hashed again to find the index and then the linked list is searche...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Deloitte Software Engineer

based on 23 interviews
3 Interview rounds
Technical Round - 1
Technical Round - 2
HR Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

Qualcomm Logo
3.8
 • 45 Interview Questions
Walmart Logo
3.8
 • 15 Interview Questions
View all
Recently Viewed
JOBS
Wipro
No Jobs
SALARIES
Wipro
SALARIES
DXC Technology
JOBS
Wipro
No Jobs
SALARIES
Oracle Cerner
SALARIES
LTIMindtree
SALARIES
Virtusa Consulting Services
COMPANY BENEFITS
IBM
No Benefits
DESIGNATION
SALARIES
Deloitte
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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