i
BCG
Filter interviews by
Clear (1)
I was interviewed in Jan 2025.
The 'is' operator checks if two variables point to the same object in memory, while '==' checks if the values of the two variables are equal.
Use 'is' to check if two variables reference the same object in memory
Use '==' to check if the values of two variables are equal
Example: a = [1, 2, 3]; b = a; a is b will return True, a == b will also return True
useEffect is used for side effects in functional components, while useState is used for managing state.
useEffect is used to perform side effects in functional components, like data fetching, subscriptions, or manually changing the DOM
useState is used to manage state in functional components, allowing the component to re-render when the state changes
Example: useEffect can be used to fetch data from an API when the compo...
Authentication in RestApi involves verifying the identity of users before granting access to resources.
Use tokens (JWT) for authentication
Implement OAuth for secure authentication
Utilize session management for user authentication
Implement two-factor authentication for added security
What people are saying about BCG
I was interviewed before Sep 2016.
I was interviewed 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 was interviewed 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 was interviewed 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 was interviewed 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
I applied via Campus Placement
I applied via Campus Placement
based on 1 interview
Interview experience
Consultant
535
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate
421
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
164
salaries
| ₹0 L/yr - ₹0 L/yr |
Project Lead
159
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Analyst
147
salaries
| ₹0 L/yr - ₹0 L/yr |
McKinsey & Company
PwC
Bain & Company
Deloitte