Add office photos
IBM logo
Engaged Employer

IBM

Verified
4.0
based on 22.1k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Full Stack Developer
Experienced
Clear (1)

IBM Full Stack Developer Interview Questions and Answers

Updated 1 May 2024

Q1. Router components service angular performance optimization how to scale app, security

Ans.

Optimizing Angular app performance and security with router components and services

  • Use lazy loading to improve performance

  • Implement caching for frequently accessed data

  • Use Angular Universal for server-side rendering

  • Implement HTTPS and secure authentication for security

  • Use guards and interceptors to protect routes and prevent unauthorized access

Add your answer
right arrow

Q2. 3.How to make a class immutable

Ans.

To make a class immutable, we need to ensure that its state cannot be modified after creation.

  • Make all fields private and final

  • Do not provide any setters

  • If mutable objects are used, return copies instead of references

  • Ensure that any methods that modify state return a new instance instead of modifying the existing one

Add your answer
right arrow

Q3. What is hoisting in Java script

Ans.

Hoisting in JavaScript is a behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.

  • Variable declarations are hoisted to the top of their scope, but not their initializations.

  • Function declarations are fully hoisted, including their definitions.

  • Hoisting can lead to unexpected behavior if not understood properly.

Add your answer
right arrow

Q4. 4.React life cycle methods

Ans.

React life cycle methods are functions that are called at different stages of a component's life cycle.

  • There are three phases of a component's life cycle: Mounting, Updating, and Unmounting.

  • Mounting phase includes constructor(), getDerivedStateFromProps(), render(), and componentDidMount() methods.

  • Updating phase includes getDerivedStateFromProps(), shouldComponentUpdate(), render(), getSnapshotBeforeUpdate(), and componentDidUpdate() methods.

  • Unmounting phase includes componen...read more

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

Q5. What is promise, closure ?

Ans.

A promise is an object representing the eventual completion or failure of an asynchronous operation. A closure is a function defined within another function that has access to its parent function's scope.

  • Promise is used to handle asynchronous operations in JavaScript.

  • Promises can be in one of three states: pending, fulfilled, or rejected.

  • Closures allow functions to access variables from their parent function even after the parent function has finished executing.

  • Closures are c...read more

Add your answer
right arrow

Q6. Functional Overloading vs function overriding

Ans.

Functional overloading involves multiple functions with the same name but different parameters, while function overriding involves a subclass providing a specific implementation for a method in its superclass.

  • Functional overloading allows multiple functions with the same name but different parameters.

  • Function overriding occurs in inheritance when a subclass provides a specific implementation for a method in its superclass.

  • In functional overloading, the compiler determines whi...read more

Add your answer
right arrow

Q7. Tell about design pattern

Ans.

Design patterns are reusable solutions to common problems in software design.

  • Design patterns help in creating maintainable, scalable, and efficient code.

  • Some common design patterns include Singleton, Factory, Observer, and Strategy.

  • Design patterns can be categorized into three main groups: creational, structural, and behavioral.

Add your answer
right arrow

Q8. What is memonisation

Ans.

Memoization is a technique used in computer science to store the results of expensive function calls and return the cached result when the same inputs occur again.

  • Memoization helps in improving the performance of a program by reducing redundant calculations.

  • It is commonly used in dynamic programming to optimize recursive algorithms.

  • Example: Fibonacci sequence calculation can be optimized using memoization to store previously calculated values.

Add your answer
right arrow

Q9. Difference between == && ===

Ans.

== is used for equality comparison, while === is used for strict equality comparison.

  • == checks for equality of values, while === checks for equality of values and data types.

  • == can perform type coercion, while === does not.

  • == is less strict than ===.

  • Example: 1 == '1' returns true, but 1 === '1' returns false.

Add your answer
right arrow

More about working at IBM

Back
Awards Leaf
AmbitionBox Logo
Top Rated Mega Company - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated Company for Women - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated IT/ITES Company - 2024
Awards Leaf
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 IBM Full Stack Developer

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

Top Full Stack Developer Interview Questions from Similar Companies

Paytm Logo
3.3
 • 26 Interview Questions
View all
Recently Viewed
JOBS
Bajaj Allianz Life Insurance
No Jobs
JOBS
Bajaj Allianz Life Insurance
No Jobs
JOBS
Taurus BPO Services
No Jobs
JOBS
Ashapura Group Of Industries
No Jobs
JOBS
CIAR Software Solutions
No Jobs
JOBS
Tide Business Finance Platform
No Jobs
JOBS
Conneqt Business Solutions
No Jobs
JOBS
Tata AIA Life Insurance
No Jobs
JOBS
Gold Tree HR Solutions
No Jobs
SALARIES
IDP IELTS
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