Add office photos
Infogain logo
Premium Employer

Infogain

Verified
3.6
based on 1.1k Reviews
Video summary
Filter interviews by
Senior Software Engineer
Clear (1)

Infogain Senior Software Engineer Interview Questions and Answers

Updated 20 Dec 2024

Q1. JS: create a calculator function. everytime you call it, it should print the next elem in sequence (condition: shouldn't pass any param) - 5,11,29,83

Ans.

Create a calculator function that prints the next element in sequence each time it is called.

  • Create a function that keeps track of the current number in the sequence

  • Each time the function is called, calculate the next number in the sequence based on the previous number

  • Print the next number in the sequence each time the function is called

Add your answer
right arrow

Q2. HTML: Change the CSS of a parent element by accessing only it's child element

Ans.

Use CSS pseudo-class :hover to change parent element's CSS when child element is hovered

  • Use the CSS pseudo-class :hover to target the parent element when the child element is hovered

  • Example: .parent:hover .child { /* CSS styles */ }

Add your answer
right arrow

Q3. React: create a context and provide it such that the language will be changed on a button click

Ans.

Create a context in React to change language on button click

  • Create a context using createContext() method

  • Provide a state for language and a function to change it

  • Wrap the components that need access to language context with Context.Provider

  • Use useContext hook to access language context in components

  • Update language state on button click

Add your answer
right arrow

Q4. CSS: Create a triangle using only CSS

Ans.

Use CSS to create a triangle shape

  • Use border properties to create a triangle shape

  • Set the width and height of the element to 0

  • Use borders of different colors to create the triangle shape

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

Q5. Microservice design pattern

Ans.

Microservice design pattern focuses on breaking down a large application into smaller, independent services.

  • Each microservice is responsible for a specific function or feature

  • Communication between microservices is typically done through APIs

  • Microservices can be developed, deployed, and scaled independently

  • Examples: Netflix, Amazon, Uber

Add your answer
right arrow

Q6. Explain redux thunk

Ans.

Redux Thunk is a middleware that allows asynchronous actions to be dispatched in Redux.

  • Redux Thunk is a middleware that extends the Redux store's abilities.

  • It allows actions to return functions instead of plain objects.

  • These functions can perform asynchronous operations and dispatch actions when needed.

  • Thunk functions have access to the store's dispatch and getState methods.

  • Example: dispatching an asynchronous action to fetch data from an API.

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 Infogain Senior Software Engineer

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

Top Senior Software Engineer Interview Questions from Similar Companies

View all
Recently Viewed
INTERVIEWS
FischerJordan
No Interviews
INTERVIEWS
Infogain
5.6k top interview questions
INTERVIEWS
GlobalData
No Interviews
INTERVIEWS
Adrosonic
No Interviews
INTERVIEWS
GlobalData
No Interviews
INTERVIEWS
Infogain
No Interviews
INTERVIEWS
Infogain
No Interviews
INTERVIEWS
CommScope
No Interviews
INTERVIEWS
Infogain
No Interviews
INTERVIEWS
GlobalData
5.6k 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