CoverPhoto
Infosys logo
Premium Employer

Infosys

Verified
3.6
based on 39.5k Reviews
Filter interviews by
Software Developer
Fresher
Experienced
Skills
Clear (1)

100+ Infosys Software Developer Interview Questions and Answers

Updated 27 Feb 2025

Q101. Types of streams in node js

Ans.

Types of streams in Node.js include Readable, Writable, Duplex, and Transform streams.

  • Readable streams allow reading data from a source.

  • Writable streams allow writing data to a destination.

  • Duplex streams allow both reading and writing.

  • Transform streams modify data as it is being read or written.

  • Example: fs.createReadStream() creates a Readable stream for reading a file.

Add your answer
right arrow

Q102. What is rest api?

Ans.

REST API is a type of web service that allows communication between different systems over HTTP using standard methods like GET, POST, PUT, DELETE.

  • REST stands for Representational State Transfer

  • Uses standard HTTP methods like GET, POST, PUT, DELETE for communication

  • Data is transferred in JSON or XML format

  • Stateless communication between client and server

  • Example: GET request to retrieve user data from a server

Add your answer
right arrow
Infosys Software Developer Interview Questions and Answers for Freshers
illustration image

Q103. What is hashtable

Ans.

A hashtable is a data structure that stores key-value pairs and allows for quick retrieval of values based on their keys.

  • Uses a hash function to map keys to indexes in an array

  • Provides constant time complexity for insertion, deletion, and retrieval operations

  • Commonly used in programming languages like Java and Python for implementing dictionaries or maps

Add your answer
right arrow

Q104. Difference between stream and collection

Ans.

Streams are used for processing elements from a data source sequentially, while collections are used for storing and managing groups of objects.

  • Streams are lazy and can be processed in parallel, while collections are eager and store all elements in memory.

  • Streams support functional-style operations like map, filter, and reduce, while collections provide methods like add, remove, and contains.

  • Example: List names = Arrays.asList("Alice", "Bob", "Charlie"); Stream stream = names...read more

Add your answer
right arrow
Discover Infosys interview dos and don'ts from real experiences

Q105. Static binding vs dynamic binding

Ans.

Static binding is resolved at compile time, while dynamic binding is resolved at runtime.

  • Static binding is also known as early binding, while dynamic binding is also known as late binding.

  • Static binding is faster as it is resolved at compile time, while dynamic binding is more flexible as it is resolved at runtime.

  • Example of static binding: method overloading, where the compiler determines which method to call based on the method signature.

  • Example of dynamic binding: method o...read more

Add your answer
right arrow

Q106. what is queue

Ans.

A queue is a data structure that follows the First-In-First-Out (FIFO) principle.

  • Elements are added to the back of the queue and removed from the front.

  • Common operations include enqueue (add to back) and dequeue (remove from front).

  • Used in many applications such as job scheduling, message passing, and breadth-first search.

  • Examples of queue implementations include arrays, linked lists, and circular buffers.

Add your answer
right arrow
Are these interview questions helpful?

Q107. What is the end tag

Ans.

An end tag is used to mark the end of an HTML element.

  • It is written as

  • It is used to close an opening tag

  • It is important for proper HTML syntax and rendering

Add your answer
right arrow

Q108. Explain array in COBOL.

Ans.

Array in COBOL is a collection of data items of the same type that are stored under a single name.

  • Arrays in COBOL are declared using the OCCURS clause.

  • The OCCURS clause specifies the number of times the data item occurs in the array.

  • Arrays can be one-dimensional or multi-dimensional.

  • Array elements are accessed using an index number.

  • COBOL arrays can be initialized with default values using the VALUE clause.

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q109. what is stack

Ans.

A stack is a data structure that follows the Last-In-First-Out (LIFO) principle.

  • Elements are added to the top of the stack and removed from the top.

  • Common operations include push (add element) and pop (remove element).

  • Stacks are used in programming for function calls, expression evaluation, and more.

Add your answer
right arrow

Q110. Find length of array/string ?

Ans.

Use the length property to find the number of elements in an array or characters in a string.

  • Access the length property of the array or string to get the count.

  • For example, array.length will give the number of elements in the array.

  • Similarly, string.length will give the number of characters in the string.

Add your answer
right arrow

Q111. What is Polymorphism

Ans.

Polymorphism is the ability of a function or method to behave differently based on the object it is called with.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example: Animal class with methods like eat() can be inherited by Dog and Cat classes which can override the eat() method to behave differently.

Add your answer
right arrow

Q112. What is the sql

Ans.

SQL stands for Structured Query Language, used for managing and manipulating relational databases.

  • SQL is a standard language for accessing and manipulating databases.

  • It is used to perform tasks such as querying data, updating data, and creating databases.

  • Common SQL commands include SELECT, INSERT, UPDATE, DELETE, and JOIN.

  • Example: SELECT * FROM employees WHERE department = 'IT';

Add your answer
right arrow

Q113. What is the python

Ans.

Python is a high-level programming language known for its simplicity and readability.

  • Python is an interpreted language, meaning code is executed line by line.

  • It supports multiple programming paradigms like object-oriented, imperative, and functional programming.

  • Python has a large standard library and a vibrant community, making it easy to find resources and support.

  • Example: print('Hello, World!') is a simple Python program that prints 'Hello, World!' to the console.

Add your answer
right arrow

Q114. explain about linkedlist

Ans.

A linked list is a linear data structure where elements are stored in nodes with each node pointing to the next node in the sequence.

  • Consists of nodes connected by pointers

  • Can easily insert or delete elements without shifting other elements

  • Types include singly linked list, doubly linked list, and circular linked list

Add your answer
right arrow

Q115. Routing in Angular

Ans.

Routing in Angular allows navigation between different components in a single-page application.

  • Use RouterModule to set up routes in Angular.

  • Define routes in app-routing.module.ts.

  • Use routerLink directive in HTML to navigate between components.

  • Use ActivatedRoute to access route parameters.

  • Lazy loading modules for better performance.

Add your answer
right arrow

Q116. Explain waterfall model.

Ans.

Waterfall model is a linear sequential software development process where progress flows in one direction like a waterfall.

  • Sequential process with distinct phases: requirements, design, implementation, testing, deployment

  • Each phase must be completed before moving on to the next

  • No overlapping of phases

  • Changes are difficult to implement once a phase is completed

  • Example: Traditional software development lifecycle

Add your answer
right arrow

Q117. experiance in previous company

Ans.

I have 3 years of experience as a Software Developer in my previous company.

  • Developed web applications using Java, Spring, and Angular

  • Worked on database design and optimization using MySQL

  • Collaborated with cross-functional teams to deliver projects on time

Add your answer
right arrow

Q118. Explain COND in JCL.

Ans.

COND is a JCL statement used to specify the conditions under which a job or step should be executed.

  • COND can be used to specify whether a job or step should be executed based on the return code of a previous step or job.

  • COND can be set to 'ONLY' to indicate that the job or step should only be executed if the specified condition is met.

  • COND can be set to 'EXCEPT' to indicate that the job or step should not be executed if the specified condition is met.

  • COND can be used in conju...read more

Add your answer
right arrow

Q119. oops concept of java

Ans.

Object-Oriented Programming (OOP) concepts in Java

  • Encapsulation: wrapping data and methods into a single unit

  • Inheritance: creating new classes from existing ones

  • Polymorphism: ability of objects to take on multiple forms

  • Abstraction: hiding implementation details from users

  • Interfaces: defining a set of methods that a class must implement

  • Classes: blueprint for creating objects

Add your answer
right arrow

Q120. Explain it...

Ans.

The question is not specified.

  • Please provide the question to answer.

  • Examples cannot be given without the question.

Add your answer
right arrow

Q121. features of java8

Ans.

Java8 introduced new features like lambda expressions, streams, and functional interfaces.

  • Lambda expressions allow functional programming in Java.

  • Streams provide a way to process collections of data in a functional way.

  • Functional interfaces allow the use of lambda expressions as method arguments.

  • Default methods allow interfaces to have method implementations.

  • Date and Time API provides a more comprehensive way to handle date and time.

  • Nashorn JavaScript engine allows Java to in...read more

Add your answer
right arrow

Q122. explain oops concept

Ans.

OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.

  • OOPs focuses on creating objects that interact with each other to solve problems

  • Key principles of OOPs include encapsulation, inheritance, polymorphism, and abstraction

  • Encapsulation refers to bundling data and methods that operate on the data into a single unit (object)

  • Inheritance allows a class (subclass) to inherit properties and behavior from anothe...read more

Add your answer
right arrow

Q123. Generics in Java

Ans.

Generics in Java allow for type safety and reusability of code.

  • Generics allow for the creation of classes, interfaces, and methods that can work with any data type.

  • They provide compile-time type safety, preventing runtime errors.

  • Examples include ArrayList, HashMap, and Comparable.

  • Wildcards can be used to allow for flexibility in generic types.

  • Generics can improve code readability and reduce the need for casting.

  • Generics were introduced in Java 5.

Add your answer
right arrow
Previous
1
2
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 Infosys Software Developer

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

Top Software Developer Interview Questions from Similar Companies

Chetu Logo
3.3
 • 36 Interview Questions
Meesho Logo
3.7
 • 11 Interview Questions
View all
Recently Viewed
SALARIES
Sutherland Global Services
INTERVIEWS
Coforge
10 top interview questions
SALARIES
Ernst & Young
INTERVIEWS
TCS
200 top interview questions
INTERVIEWS
Xoriant
10 top interview questions
INTERVIEWS
TCS
50 top interview questions
INTERVIEWS
Infosys
No Interviews
DESIGNATION
SALARIES
Bosch Global Software Technologies
INTERVIEWS
Infosys
40 top interview questions
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