Add office photos
Engaged Employer

TVS Next

3.4
based on 97 Reviews
Filter interviews by

Creative Factor Interview Questions and Answers

Updated 15 Mar 2024

Q1. Write a program to check if an arraylist contains a duplicate element

Ans.

Program to check for duplicate elements in an arraylist of strings

  • Iterate through the arraylist and use a HashSet to store unique elements

  • If an element is already in the HashSet, it is a duplicate

  • Return true if a duplicate is found, false otherwise

Add your answer

Q2. What's your strongest programming language

Ans.

My strongest programming language is Java.

  • Extensive experience with Java programming

  • Proficient in object-oriented programming

  • Familiar with Java frameworks like Spring and Hibernate

Add your answer

Q3. Mention and explain 2 OOPS concepts

Ans.

Encapsulation and Inheritance are two important OOPS concepts.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Class with private data members and public methods.

  • Inheritance: Ability of a class to inherit properties and behavior from another class. Example: Subclass inheriting from a superclass.

Add your answer

Q4. Given url to fetch data from api

Ans.

Use the url to make a request to the API and fetch data.

  • Use a library like axios or fetch to make the HTTP request.

  • Parse the response data to extract the necessary information.

  • Handle any errors that may occur during the request.

Add your answer
Discover Creative Factor interview dos and don'ts from real experiences

Q5. Difference between Stack and Array

Ans.

Stack is a data structure that follows Last In First Out (LIFO) principle, while an array is a data structure that stores elements in contiguous memory locations.

  • Stack is dynamic in size, while array has a fixed size.

  • Stack operations include push and pop, while array operations include random access.

  • Example: Stack can be implemented using arrays, but arrays cannot be implemented using stacks.

Add your answer

Q6. Components in reactjs

Ans.

Reactjs components are reusable, independent pieces of UI that can be composed together to build complex user interfaces.

  • Components are the building blocks of a React application

  • They can be class components or functional components

  • Components can have their own state and lifecycle methods

  • Components can be nested within other components to create a hierarchy

  • Examples: Button component, Navbar component, UserList component

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.8
 • 78 Interview Questions
4.2
 • 32 Interview Questions
4.7
 • 15 Interview Questions
3.7
 • 15 Interview Questions
4.0
 • 12 Interview Questions
3.6
 • 10 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
Get AmbitionBox app

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