i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Approached by Company and was interviewed in Apr 2022. There were 2 interview rounds.
Functional components are stateless and use functional programming concepts, while class components are stateful and use object-oriented programming concepts.
Functional components are simpler and easier to read and test.
Class components have access to lifecycle methods and state.
Functional components are preferred for simple UI components, while class components are preferred for complex UI components.
Functional compon...
Yes, I have worked on native components.
I have experience in creating custom native modules for React Native apps.
I have integrated native libraries like Firebase, Google Maps, and Camera into React Native apps.
I have used native UI components like TextInput, ScrollView, and FlatList in React Native apps.
I have also worked with native modules for iOS and Android separately.
Hooks are functions that allow you to use state and other React features without writing a class.
useState() - for managing state in functional components
useEffect() - for performing side effects in functional components
useContext() - for consuming context in functional components
useReducer() - for managing complex state in functional components
useCallback() - for memoizing functions in functional components
Hermes is a JavaScript engine optimized for React Native apps.
Developed by Facebook to improve app startup time and reduce memory usage.
Uses ahead-of-time compilation to convert JavaScript code into bytecode.
Supports ES6 syntax and is compatible with most React Native libraries.
Can be enabled in React Native projects by adding a single line to the configuration file.
Yes, I am familiar with the new architecture of React Native.
The new architecture of React Native is based on Fabric, a C++ UI framework.
It separates the UI rendering from the JavaScript thread, resulting in improved performance.
It also introduces new features like TurboModules and JSI for better native module integration.
The new architecture is being gradually rolled out in React Native releases.
It requires some chang...
I appeared for an interview before Sep 2016.
I appeared for an interview in Mar 2017.
Oops concepts in Java
Encapsulation - hiding implementation details
Inheritance - reusing code and creating parent-child relationships
Polymorphism - multiple forms of a method or object
Abstraction - creating abstract classes and interfaces
Example: Encapsulation - using private variables and public methods
Example: Inheritance - creating a subclass that inherits from a superclass
Example: Polymorphism - using method overloa...
Altering columns in databases involves modifying the structure of a table by adding, deleting or modifying columns.
Use ALTER TABLE statement to modify columns
Add new columns using ADD COLUMN
Delete columns using DROP COLUMN
Modify columns using MODIFY COLUMN
Changing column data type may result in data loss
Reversing a number in Java
Convert the number to a string
Use StringBuilder to reverse the string
Convert the reversed string back to a number
To extract words from a line in Java, split the line using whitespace as delimiter.
Use the split() method of String class
Pass the whitespace regex as argument to split() method
Iterate over the resulting array to get individual words
posted on 23 Sep 2017
I appeared for an interview in Sep 2017.
Generic collections provide type safety and reusability in software development.
Generic collections allow us to store and manipulate objects of any type in a type-safe manner.
They provide compile-time type checking, reducing the chances of runtime errors.
They promote code reusability by allowing the same collection to be used with different types.
Generic collections improve performance by eliminating the need for boxin...
I appeared for an interview before Jun 2016.
I am a passionate software developer with 5 years of experience in web development and a strong background in computer science.
5 years of experience in web development
Strong background in computer science
Passionate about software development
To separate personal and professional calls, and to ensure availability and accessibility.
Separate personal and professional calls
Ensure availability and accessibility
Maintain work-life balance
Avoid mixing personal and work-related contacts
I appeared for an interview in Jul 2017.
I appeared for an interview in Apr 2017.
Firmware is a type of software that is embedded in hardware devices to control their functionality.
Firmware is a combination of hardware and software.
It is used to control the behavior of hardware devices.
Firmware is typically stored in non-volatile memory, such as ROM or flash memory.
Examples of devices that use firmware include routers, printers, and digital cameras.
I am a passionate software developer with experience in building web applications and solving complex problems.
Experienced in programming languages such as Java, JavaScript, and Python
Familiar with front-end technologies like HTML, CSS, and React
Strong problem-solving skills and ability to work in a team environment
Previous projects include developing a customer management system for a small business
I appeared for an interview before May 2016.
Developed a web application for tracking personal expenses
Used HTML, CSS, and JavaScript for front-end development
Implemented Node.js and MongoDB for back-end functionality
Included features for adding, categorizing, and analyzing expenses
I actively participate in team building activities and collaborate with colleagues on various initiatives outside of work projects.
Organizing team lunches or outings to build camaraderie
Participating in charity events or volunteer work as a team
Collaborating on internal initiatives such as diversity and inclusion programs
Attending industry conferences or workshops together
I will explain the reasons for the delay and present a plan to mitigate it.
Communicate the reasons for the delay clearly and honestly
Present a plan to mitigate the delay and ensure timely delivery
Provide regular updates on the progress of the project
Offer alternative solutions or compromises if necessary
Ensure that the client understands the impact of the delay on the project
Maintain a professional and respectful attit
Associate
72.2k
salaries
| ₹5.2 L/yr - ₹16 L/yr |
Programmer Analyst
55.6k
salaries
| ₹2.4 L/yr - ₹9.4 L/yr |
Senior Associate
49.5k
salaries
| ₹8.9 L/yr - ₹28 L/yr |
Senior Processing Executive
29k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
Accenture