Upload Button Icon Add office photos

Filter interviews by

SpotBus Front end Developer Interview Questions and Answers

Updated 27 Nov 2024

SpotBus Front end Developer Interview Experiences

2 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Assignment 

To create two step form

Round 2 - Coding Test 

Coding Question - Medium level

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. What is javascript ?
  • Ans. 

    JavaScript is a high-level, interpreted programming language used for creating interactive websites.

    • JavaScript is commonly used for adding interactivity to web pages.

    • It can be used to manipulate HTML elements, create animations, and handle user input.

    • JavaScript can also be used for server-side development with Node.js.

    • Popular JavaScript frameworks include React, Angular, and Vue.

  • Answered by AI

Skills evaluated in this interview

Front end Developer Interview Questions Asked at Other Companies

Q1. Non-Decreasing ArrayYou have been given an integer array/list 'AR ... read more
Q2. Find UniqueYou have been given an integer array/list(ARR) of size ... read more
asked in JUSPAY
Q3. Dijkstra's shortest pathYou have been given an undirected graph o ... read more
asked in JUSPAY
Q4. Encode N-ary tree to binary treeYou have been given an N-ary tree ... read more
asked in Siemens
Q5. Sort ArrayYou are given an array consisting of 'N' positive integ ... read more

Interview questions from similar companies

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Mostly js questions, not so many of angular or react.
  • Q2. Like fizbuzz or things like that.

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't apply here, the culture here is horrible.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. JavaScript Related Questions
  • Q2. ReactJs Related Questions
Round 2 - One-on-one 

(2 Questions)

  • Q1. Reactjs Use Effects and UseRef
  • Q2. JavaScript Closures,Map,CallBack

Interview Preparation Tips

Interview preparation tips for other job seekers - NA
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Coding a frontend UI from provided image. And creating a fucntional star rating system

Round 2 - Technical 

(2 Questions)

  • Q1. Designing a Component API in React using Typescript.
  • Ans. 

    Designing a Component API in React using Typescript involves defining props, state, and methods for the component.

    • Define the props interface to specify the expected input data for the component

    • Use typescript types to ensure type safety and prevent runtime errors

    • Define the state interface to manage the internal state of the component

    • Implement methods to handle user interactions and component logic

    • Document the component

  • Answered by AI
  • Q2. Create a function that can clear all the timer ids at once.
  • Ans. 

    Function to clear all timer ids at once

    • Create an array to store all timer ids

    • Iterate through the array and clear each timer id using clearTimeout() function

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Introduction life cycle looks pipe @input @output
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. What is event bubbling
  • Q2. What is TDD and why TDD

Interview Preparation Tips

Interview preparation tips for other job seekers - Do well
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Reactive form and crud operations pipes crud operations

Round 2 - Technical 

(1 Question)

  • Q1. Basic understanding of js and angular is must expeciallly how js works questions on arrays objects shallow deep copy
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Explain about react js?
  • Ans. 

    React JS is a JavaScript library for building user interfaces.

    • React is component-based, allowing for reusable UI elements.

    • Uses a virtual DOM for efficient updates to the actual DOM.

    • Supports server-side rendering for improved performance.

    • Uses JSX syntax to write HTML within JavaScript code.

    • State management is handled using props and state.

  • Answered by AI
  • Q2. Explain about angular?
  • Ans. 

    Angular is a popular front-end framework developed by Google for building dynamic web applications.

    • Angular is based on TypeScript, a superset of JavaScript.

    • It uses a component-based architecture for building reusable UI components.

    • Angular provides features like data binding, dependency injection, and routing.

    • It has a powerful CLI for scaffolding and managing projects.

    • Angular has a large ecosystem of libraries and tools

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Technical 

(14 Questions)

  • Q1. Let var const in JavaScript
  • Ans. 

    var and const are used to declare variables in JavaScript, with var being mutable and const being immutable.

    • var is used to declare variables that can be reassigned and updated

    • const is used to declare variables that cannot be reassigned or updated

    • let is another keyword used for declaring variables, similar to var but with block scope

  • Answered by AI
  • Q2. Error boundary and how to handle
  • Ans. 

    Error boundary is a React component that catches JavaScript errors anywhere in a component tree and logs those errors.

    • Error boundaries are React components that catch JavaScript errors in their child component tree.

    • They are used to prevent the entire UI from crashing due to a single error.

    • Error boundaries work like a JavaScript catch {} block, but for components.

    • They are defined using componentDidCatch lifecycle method

  • Answered by AI
  • Q3. Event.bind and event.property
  • Q4. Use of never in typescript
  • Ans. 

    The 'never' type in TypeScript represents a value that will never occur.

    • Used to indicate that a function will not return a value

    • Commonly used in union types to exclude certain values

    • Helps catch potential errors at compile time

  • Answered by AI
  • Q5. What hooks you have used
  • Ans. 

    I have used React hooks such as useState, useEffect, useContext, and useRef in my projects.

    • useState

    • useEffect

    • useContext

    • useRef

  • Answered by AI
  • Q6. What is difference between use reducer and use state
  • Ans. 

    useReducer is preferred for managing complex state logic, while useState is simpler for basic state management.

    • useReducer is more suitable for managing complex state logic and multiple state values

    • useState is simpler and more straightforward for basic state management with a single value

    • useReducer allows for more organized and centralized state updates through actions and reducers

    • useState is commonly used for simple co

  • Answered by AI
  • Q7. Why we use state and props
  • Q8. How you will pass data from parent to child
  • Ans. 

    Data can be passed from parent to child components in React using props.

    • Pass data as props from parent component to child component

    • Use state management libraries like Redux or Context API for complex data sharing

    • Use callback functions to pass data from child to parent components

  • Answered by AI
  • Q9. Write your own custom hook
  • Ans. 

    Custom hook to fetch data from an API

    • Create a function that uses the useState and useEffect hooks

    • Use the fetch API to make a request to the desired endpoint

    • Return the fetched data and loading state in an array

  • Answered by AI
  • Q10. Explain map filter and reduce functions
  • Ans. 

    Map, filter, and reduce are higher-order functions in JavaScript used to manipulate arrays.

    • Map: Transforms each element in an array and returns a new array with the transformed elements.

    • Example: [1, 2, 3].map(num => num * 2) returns [2, 4, 6].

    • Filter: Returns a new array with elements that pass a certain condition.

    • Example: [1, 2, 3].filter(num => num > 1) returns [2, 3].

    • Reduce: Applies a function against an accumulator ...

  • Answered by AI
  • Q11. How you can clone an object
  • Ans. 

    To clone an object in JavaScript, you can use the spread operator or Object.assign() method.

    • Use the spread operator to create a shallow copy of an object: const clonedObj = { ...originalObj };

    • Use Object.assign() method to create a shallow copy of an object: const clonedObj = Object.assign({}, originalObj);

    • For deep cloning, you can use libraries like Lodash or write a custom function to recursively clone nested objects.

  • Answered by AI
  • Q12. What are the three stages of event propagation and how to handle it
  • Ans. 

    Event propagation consists of three stages: capturing, target, and bubbling.

    • Capturing phase: Events are captured from the outermost element to the target element.

    • Target phase: Event reaches the target element where the event originated.

    • Bubbling phase: Events bubble up from the target element to the outermost element.

  • Answered by AI
  • Q13. How to handle errors in your react application
  • Ans. 

    Errors in a React application can be handled by using error boundaries, try-catch blocks, and displaying error messages to users.

    • Use error boundaries to catch errors in components and display a fallback UI

    • Wrap code that may throw errors in try-catch blocks to handle exceptions

    • Use libraries like React Error Boundary to easily implement error handling

    • Display error messages to users to inform them about the issue and poss

  • Answered by AI
  • Q14. Write code to call fake api and display the title where category is “some category “

Skills evaluated in this interview

SpotBus Interview FAQs

How many rounds are there in SpotBus Front end Developer interview?
SpotBus interview process usually has 1-2 rounds. The most common rounds in the SpotBus interview process are One-on-one Round, Assignment and Coding Test.

Tell us how to improve this page.

People are getting interviews through

based on 1 SpotBus interview
Job Portal
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.

SpotBus Front end Developer Reviews and Ratings

based on 1 review

1.0/5

Rating in categories

1.0

Skill development

1.0

Work-Life balance

1.0

Salary & Benefits

1.0

Job Security

1.0

Company culture

1.0

Promotions/Appraisal

1.0

Work Satisfaction

Explore 1 Review and Rating
Software Developer 1
3 salaries
unlock blur

₹5.5 L/yr - ₹5.5 L/yr

Explore more salaries
Compare SpotBus with

TCS

3.7
Compare

Accenture

3.9
Compare

Wipro

3.7
Compare

Cognizant

3.8
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview