Add office photos
Engaged Employer

Infogain

3.6
based on 1.1k Reviews
Video summary
Filter interviews by

Qship Worldwide Interview Questions and Answers

Updated 20 Dec 2024
Popular Designations

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

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

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

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
Discover Qship Worldwide 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

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
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Qship Worldwide

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

Top Senior Software Engineer Interview Questions from Similar Companies

3.7
 • 33 Interview Questions
4.3
 • 33 Interview Questions
3.8
 • 28 Interview Questions
3.4
 • 25 Interview Questions
3.6
 • 25 Interview Questions
4.0
 • 17 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 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