Brightly Software
GIG-IRM Glass Insulator Interview Questions and Answers
Q1. Swap the bits through sql
Swapping bits in SQL involves using bitwise operators to manipulate binary data.
Use bitwise XOR operator (^) to swap bits
Example: UPDATE table SET column = column ^ 1
Example: UPDATE table SET column = column ^ 0b1010
Q2. What is react js
React.js is a JavaScript library for building user interfaces.
React.js is a declarative, efficient, and flexible JavaScript library for building user interfaces.
It allows developers to create reusable UI components.
React.js uses a virtual DOM to improve performance by updating only the necessary parts of the actual DOM.
It follows a unidirectional data flow, making it easier to understand and debug.
React.js can be used to build single-page applications, mobile apps, and even s...read more
Q3. What are hooks
Hooks are a new feature in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use state and other React features in functional components.
They allow you to reuse stateful logic without changing your component hierarchy.
Examples of hooks include useState, useEffect, useContext, etc.
Q4. Program to flatten the array
Program to flatten the array
Use Array.prototype.flat() method to flatten the array
If the array contains nested arrays, use recursion to flatten them
Check if each element is an array before flattening
Q5. Difference between Static and Singleton
Static is a keyword used to declare a variable or method that belongs to the class. Singleton is a design pattern that restricts the instantiation of a class to one object.
Static members are accessed using the class name, while Singleton objects are accessed using a getInstance() method.
Static members are shared among all instances of a class, while Singleton objects are unique.
Static members are initialized when the class is loaded, while Singleton objects are initialized wh...read more
Q6. Other testing tools used
Some other testing tools I have used include JIRA, Selenium, and Postman.
JIRA for bug tracking and project management
Selenium for automated testing of web applications
Postman for API testing and collaboration
More about working at Brightly Software
Interview Process at GIG-IRM Glass Insulator
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month