Add office photos
Chubb logo
Premium Employer

Chubb

Verified
3.8
based on 190 Reviews
Filter interviews by
Fresher
Experienced
Clear (1)

Chubb Interview Questions and Answers for Freshers

Updated 16 Dec 2024

Q1. What are props and events in ReactJS

Ans.

Props are used to pass data from parent to child components, while events are actions that occur in the application.

  • Props are read-only and help in maintaining the unidirectional data flow in React

  • Events are actions like onClick, onChange, etc. that are triggered by user interactions

  • Example: Passing a 'name' prop from a parent component to a child component and triggering an onClick event to update state

Add your answer
right arrow

Q2. Find the binary representation of a number

Ans.

To find the binary representation of a number, convert the number to binary by dividing it by 2 and keeping track of the remainders.

  • Start by dividing the number by 2 and noting the remainder

  • Continue dividing the quotient by 2 until the quotient is 0

  • Write down the remainders in reverse order to get the binary representation

  • For example, the binary representation of 10 is 1010 (10 divided by 2 is 5 with a remainder of 0, then 2 with a remainder of 1, then 1 with a remainder of 0...read more

Add your answer
right arrow

Q3. What is abstraction in java

Ans.

Abstraction in Java is the concept of hiding the implementation details and showing only the necessary features of an object.

  • Abstraction allows you to define a template for a class without providing the implementation details.

  • It helps in reducing complexity by hiding unnecessary details and only showing the essential parts.

  • Abstract classes and interfaces are used to achieve abstraction in Java.

Add your answer
right arrow

Q4. DSA: prime no. or not optimal approach

Ans.

Optimal approach for checking if a number is prime or not using DSA

  • Optimal approach for checking prime numbers is to iterate up to square root of the number

  • Use trial division method to check divisibility by numbers up to square root of the number

  • Time complexity of this approach is O(sqrt(n))

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

Q5. Class, object with real time examples

Ans.

A class is a blueprint for creating objects, which are instances of the class. Objects have attributes and behaviors.

  • Classes define the structure and behavior of objects.

  • Objects are instances of classes and have their own unique attributes and behaviors.

  • Example: Class 'Car' with attributes like 'color' and behaviors like 'drive'. Object 'myCar' is an instance of 'Car' with color 'red' and can drive.

  • Example: Class 'Person' with attributes like 'name' and behaviors like 'eat'. ...read more

Add your answer
right arrow

Q6. SQL types of normal forms

Ans.

SQL normal forms are levels of organization for relational databases to reduce redundancy and improve data integrity.

  • First normal form (1NF) - Eliminate repeating groups and ensure each column contains atomic values.

  • Second normal form (2NF) - Meet 1NF requirements and have all non-key attributes fully functionally dependent on the primary key.

  • Third normal form (3NF) - Meet 2NF requirements and have no transitive dependencies between non-key attributes.

  • Boyce-Codd normal form (...read more

Add your answer
right arrow

Q7. Why didn't you use some X tech stack.

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
Recently Viewed
INTERVIEWS
PowerSchool India
No Interviews
JOBS
RSM India
No Jobs
DESIGNATION
SALARIES
Jaguar Land Rover
INTERVIEWS
Liberty Mutual Insurance
No Interviews
SALARIES
Jaguar Land Rover
INTERVIEWS
Jaguar Land Rover
No Interviews
INTERVIEWS
PowerSchool India
No Interviews
INTERVIEWS
Axiom Energy Conversion
No Interviews
INTERVIEWS
Liberty Mutual Insurance
No Interviews
Top Chubb Interview Questions And Answers
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