
Infosys

Infosys Developer Interview Questions and Answers
Q1. What is the difference between C++and java ? Which one do you think better and why?
C++ is a compiled language while Java is an interpreted language. Both have their own advantages and disadvantages.
C++ is faster and more efficient than Java due to its compiled nature.
Java is more platform-independent and has better memory management.
C++ is commonly used for system-level programming while Java is used for web and mobile applications.
Choosing between the two depends on the specific project requirements and goals.
Q2. What is the most popular SDLC model?
The most popular SDLC model is Agile.
Agile is iterative and flexible, allowing for changes throughout the development process.
It emphasizes collaboration and customer satisfaction.
Other popular models include Waterfall, Spiral, and V-Model.
Agile is commonly used in software development, but can be applied to other industries as well.
Q3. entity framework details and show recorded details
Entity Framework is an ORM tool for .NET applications. It allows developers to work with databases using objects.
Entity Framework is a Microsoft product
It supports various database providers such as SQL Server, MySQL, Oracle, etc.
It uses LINQ to query data from the database
It supports Code First, Database First, and Model First approaches
Recorded details can be viewed using SQL Profiler or logging frameworks like Serilog
Q4. 1. Defiance between first and First or defulat
Defiance refers to resistance or disobedience, while first and default are different spellings of words with distinct meanings.
Defiance implies a refusal to comply with authority or rules.
First refers to the initial or primary thing in a sequence or list.
Default refers to a pre-set value or option that is used when no other choice is made.
Examples: Defiance - civil disobedience, First - first place in a race, Default - default font in a word processor.
Q5. Defrance between Var and dynamic
Var is statically typed while dynamic is dynamically typed.
Var is used to declare variables with a specific type at compile time.
Dynamic is used to declare variables whose type is determined at runtime.
Var is faster than dynamic because it doesn't require type checking at runtime.
Dynamic is more flexible than var because it allows for late binding and duck typing.
Example: var x = 5; dynamic y = "hello";
Q6. WHAT IS C and C++?
C and C++ are programming languages used for system and application development.
C is a procedural language used for system programming and embedded systems.
C++ is an object-oriented language used for application development and game programming.
Both languages are compiled and have a strong influence on modern programming languages.
C++ is an extension of C with additional features like classes, templates, and exceptions.
Examples of C and C++ applications include operating syst...read more
Q7. Why CPP is better
CPP is better due to its performance, memory management, and object-oriented features.
CPP is faster than many other programming languages due to its compiled nature.
CPP allows for manual memory management, which can lead to more efficient use of resources.
CPP supports object-oriented programming, which can make code more modular and easier to maintain.
CPP has a large community and many libraries available, making it a versatile language for various applications.
Q8. Explain Object in programming
Objects in programming are instances of classes that encapsulate data and behavior.
Objects are created from classes, which act as blueprints for the object's structure and behavior
Objects have attributes (data) and methods (behavior) that define their characteristics and actions
Objects allow for modular and reusable code by grouping related data and functions together
Q9. circuit breaker design pattern
Circuit breaker design pattern is used to prevent a system from repeatedly trying to execute an operation that is likely to fail.
Circuit breaker monitors the number of failures and trips when a threshold is reached.
It can be reset after a certain period of time to check if the operation is successful again.
Helps in improving system stability and resilience by handling failures gracefully.
Interview Process at Infosys Developer



Reviews
Interviews
Salaries
Users/Month

