i
Infosys
Work with us
Filter interviews by
Retrieve the second highest salary from an employee table using SQL.
Use the 'DISTINCT' keyword to avoid duplicate salaries.
Utilize 'ORDER BY' to sort salaries in descending order.
Use 'LIMIT' with 'OFFSET' to skip the highest salary and get the second.
Example query: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;
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
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 ...
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.
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";
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, Defa...
Try-catch-finally is a mechanism for handling exceptions in programming, ensuring graceful error management.
Try block: Contains code that may throw an exception. Example: `try { int result = 10 / 0; }`
Catch block: Catches and handles the exception. Example: `catch (ArithmeticException e) { System.out.println(e.getMessage()); }`
Finally block: Executes code after try/catch, regardless of whether an exception occurre...
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 require...
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.
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 excep...
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.
Retrieve the second highest salary from an employee table using SQL.
Use the 'DISTINCT' keyword to avoid duplicate salaries.
Utilize 'ORDER BY' to sort salaries in descending order.
Use 'LIMIT' with 'OFFSET' to skip the highest salary and get the second.
Example query: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;
I applied via Job Portal and was interviewed in Sep 2024. There was 1 interview round.
Problem Statement: Given a string, reverse each word in the string while keeping the original order of the words.
I am a passionate developer with 5 years of experience in web development and a strong background in JavaScript and React.
5 years of experience in web development
Strong background in JavaScript and React
Passionate about coding and problem-solving
I applied via Instahyre and was interviewed before Jun 2023. There was 1 interview round.
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
I applied via Naukri.com and was interviewed in Oct 2022. There were 4 interview rounds.
An aptitude test is a way for employers to assess a candidate's abilities through a variety of different testing formats. Aptitude tests will test your ability to perform tasks and react to situations at work. This includes problem-solving, prioritisation and numerical skills, amongst other things
I know programing languages like C program C++ and Java
I applied via Naukri.com and was interviewed before Nov 2023. There was 1 interview round.
I applied via Job Fair and was interviewed in Aug 2022. There were 2 interview rounds.
Dynamic programming 3 questions
I applied via Internshala and was interviewed in Nov 2021. There were 5 interview rounds.
Preparation for cat, gre is enough
General puzzles solving
What people are saying about Infosys
based on 8 interview experiences
Difficulty level
Duration
based on 24 reviews
Rating in categories
Technology Analyst
54.7k
salaries
| ₹4.8 L/yr - ₹10 L/yr |
Senior Systems Engineer
53.8k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35.1k
salaries
| ₹9.4 L/yr - ₹16.4 L/yr |
System Engineer
32.5k
salaries
| ₹2.4 L/yr - ₹5.3 L/yr |
Senior Associate Consultant
31.3k
salaries
| ₹8.2 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture