HARMAN
100+ Bharat Electronics Interview Questions and Answers
Q101. What is framework?
A framework is a software platform that provides a foundation for developing applications.
A framework is a reusable set of libraries, tools, and components that help developers build applications more efficiently.
It provides a structure and guidelines for developing software, including predefined functions and classes.
Frameworks often include features like data handling, user interface components, and integration with other systems.
Examples of popular frameworks include Angul...read more
Q102. 3. Swap numbers using bit operators
Swapping numbers using bit operators.
Use XOR operator to swap two numbers without using a temporary variable
XORing a number with itself results in 0
Example: a = 5, b = 7. a ^= b; b ^= a; a ^= b; // a = 7, b = 5
Q103. Tell your stength and weakness
Strength: Strong leadership skills, Weakness: Difficulty delegating tasks
Strength: Ability to motivate and inspire team members
Strength: Excellent problem-solving skills
Weakness: Tendency to take on too much responsibility
Weakness: Struggle to trust others to complete tasks to my standards
Q104. What is useEffect in react.
useEffect is a hook in React that allows you to perform side effects in function components.
useEffect is used to perform side effects in function components.
It runs after every render by default.
You can specify dependencies to control when the effect runs.
Common use cases include data fetching, subscriptions, and DOM manipulation.
Q105. what si Redux in react
Redux is a predictable state container for JavaScript apps.
Redux is a state management tool commonly used with React.
It helps manage the state of an application in a predictable way.
Redux stores the entire state of the application in a single immutable object.
Actions are dispatched to update the state, and reducers specify how the state changes in response to actions.
Q106. Make a invoice creation SAP T code
The SAP T code for invoice creation is VF01.
Open SAP and enter T code VF01 in the command field
Enter the necessary details such as customer number, material number, quantity, etc.
Save the invoice once all details are entered
Q107. what are access modifiers
Access modifiers are keywords in C++ that control the visibility and accessibility of class members.
Access modifiers include public, private, and protected.
Public members are accessible from outside the class.
Private members are only accessible within the class.
Protected members are accessible within the class and its subclasses.
Q108. Production Part Approval Process
Q109. Explain Agile methodology
Agile methodology is an iterative approach to software development that emphasizes flexibility and collaboration.
Agile values individuals and interactions over processes and tools
It emphasizes working software over comprehensive documentation
Agile teams work in short iterations called sprints
Customer feedback is incorporated throughout the development process
Examples of Agile frameworks include Scrum, Kanban, and XP
Q110. reverse a string in java
Use StringBuilder to reverse a string in Java.
Create a StringBuilder object with the input string.
Use the reverse() method of StringBuilder to reverse the string.
Convert the reversed StringBuilder back to a string using toString() method.
Q111. Process followed and changes
Implemented streamlined processes and led successful changes to improve efficiency and productivity.
Analyzed current processes to identify inefficiencies
Developed and implemented new processes to streamline operations
Led change management efforts to ensure successful adoption by team members
Monitored and evaluated the effectiveness of the changes implemented
Provided training and support to team members to ensure smooth transition
Q112. Write the code for even number
Code to identify even numbers
Use the modulo operator (%) to check if a number is divisible by 2
If the remainder is 0, then the number is even
Example: int num = 6; if(num % 2 == 0) { // num is even }
Q113. Difference between java and kotlin
Kotlin is a modern programming language that is fully interoperable with Java, offering concise syntax and enhanced features.
Kotlin is more concise than Java, reducing boilerplate code.
Kotlin has null safety features, reducing NullPointerException errors.
Kotlin supports extension functions and properties, allowing developers to add new functionality to existing classes.
Kotlin has coroutines for asynchronous programming, making it easier to write asynchronous code.
Kotlin is fu...read more
Q114. Print the various star patterns
Various star patterns can be printed using loops and nested loops in Python.
Use nested loops to print different patterns of stars.
Patterns can include right triangle, left triangle, diamond, square, etc.
Adjust the number of rows and columns in the loops to create different patterns.
Q115. explain Jmeter and components used
JMeter is a popular open-source tool used for performance testing of web applications.
JMeter is Java-based and can be used to test the performance of both static and dynamic resources.
Components used in JMeter include Thread Group, Samplers, Listeners, Controllers, Timers, Assertions, and Configuration Elements.
Thread Group defines the number of users and iterations, Samplers simulate user actions like HTTP requests, Listeners display test results, Controllers manage the flow...read more
Q116. Explain k means algorithm
K-means algorithm is a clustering algorithm that partitions data into k clusters based on similarity.
Iteratively assigns data points to the nearest cluster centroid
Calculates new centroids based on the mean of data points in each cluster
Repeats until centroids no longer change significantly
Used in data mining, image segmentation, and customer segmentation
Q117. Explain activity lifecycle
Activity lifecycle refers to the series of states an activity goes through during its lifetime in an Android app.
onCreate() - activity is created
onStart() - activity becomes visible to the user
onResume() - activity is interacting with the user
onPause() - activity is partially visible but still running
onStop() - activity is no longer visible to the user
onDestroy() - activity is being destroyed
Q118. MVVM Architecture explain
MVVM is an architectural pattern used in software development, particularly in Android apps, to separate the user interface from the business logic.
MVVM stands for Model-View-ViewModel
Model represents the data and business logic
View is the UI component that displays the data and interacts with the user
ViewModel acts as a mediator between the Model and the View, handling user interactions and updating the Model
MVVM helps in separating concerns, making code more modular and eas...read more
Q119. buy highest price stock
The highest price stock may not always be the best investment option due to various factors such as market trends, company performance, and risk tolerance.
Consider the company's financial health and performance before investing in the highest price stock.
Evaluate market trends and potential risks associated with investing in a high-priced stock.
Diversify your investment portfolio to mitigate risk and maximize returns.
Consult with a financial advisor for personalized investmen...read more
Q120. Binary search implementation
Binary search is a divide and conquer algorithm for finding a target value within a sorted array.
Start by defining the low and high indices of the array.
Calculate the middle index and compare the target value with the middle element.
If the target is smaller, update the high index to mid-1; if larger, update the low index to mid+1.
Repeat the process until the target is found or the low index surpasses the high index.
Q121. Achivement done in the past
Implemented a new performance management system resulting in a 20% increase in employee productivity.
Developed and implemented a new performance management system
Collaborated with department heads to gather feedback and make improvements
Provided training and support to managers and employees on the new system
Analyzed data to track the impact of the new system on employee productivity
Q122. OOPs concepts in depth
OOPs concepts refer to the principles of Object-Oriented Programming, including encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (object).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: The ability for objects of different classes to respond to the same message in different ways.
Abstraction: Hiding the complex implementation details a...read more
Q123. Character count in string
Count the number of characters in a given string.
Use the length property of the string to get the character count.
Consider spaces and special characters in the count.
Example: 'Hello World' has 11 characters.
Q124. Framework explanation
A framework is a set of guidelines, tools, and libraries used to develop and test software applications.
Framework provides a structure for organizing code and implementing common functionalities.
It helps in reducing development time and improving code quality.
Examples include Selenium for automated testing, Spring for Java development, and React for front-end web development.
Q125. Explain Project architecture
Project architecture refers to the layout and structure of a software project, including components, modules, and their interactions.
Project architecture defines how different components of a software project are organized and interact with each other.
It includes the design of modules, layers, and the flow of data within the system.
Common architectural patterns include MVC (Model-View-Controller), Microservices, and Layered Architecture.
Project architecture also involves deci...read more
Q126. Explain about bit operator
Bit operators are used to manipulate individual bits in binary numbers.
Bitwise AND (&) - Sets a bit to 1 if both bits are 1
Bitwise OR (|) - Sets a bit to 1 if either bit is 1
Bitwise XOR (^) - Sets a bit to 1 if only one of the bits is 1
Bitwise NOT (~) - Flips all the bits
Left shift (<<) - Shifts the bits to the left by a specified number of positions
Right shift (>>) - Shifts the bits to the right by a specified number of positions
Q127. Light ON OFF using simulink
Use Simulink to control the switching of a light on and off
Create a Simulink model with a switch block to control the light
Use a signal generator block to generate the ON and OFF signals
Connect the switch block to the light block to simulate the switching
Q128. Design pattern in c++
Design patterns are reusable solutions to common software design problems.
Design patterns help in creating flexible and maintainable code.
Examples of design patterns include Singleton, Factory, Observer, etc.
Design patterns can be categorized into three types: creational, structural, and behavioral.
Q129. 1. diff between acf pacf
ACF measures the linear relationship between an observation and its lagged values. PACF measures the direct relationship.
ACF (Autocorrelation Function) measures the correlation between an observation and its lagged values.
PACF (Partial Autocorrelation Function) measures the correlation between an observation and its lagged values, while removing the indirect effects of intermediate lags.
ACF is used to identify the order of an AutoRegressive (AR) model.
PACF is used to identify...read more
Q130. Oops concepts in java
Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a method to do different things based on the object it is acting upon.
Abstraction: Hiding the implementation details and showing only the necessary feature...read more
Q131. describe LOT rules
LOT rules are a set of regulations governing the use of the London Overground Train services.
LOT rules include guidelines for ticketing, passenger behavior, and safety regulations.
Passengers must have a valid ticket to travel on the London Overground Train services.
LOT rules also cover restrictions on luggage size and alcohol consumption on trains.
Failure to comply with LOT rules may result in fines or penalties.
Q132. explain OOps in C++
Object-oriented programming in C++ involves using classes and objects to organize code and data for better reusability and modularity.
Classes are user-defined data types that encapsulate data and functions that operate on that data.
Objects are instances of classes that hold data and can call member functions.
Inheritance allows classes to inherit properties and behaviors from other classes.
Polymorphism enables objects to be treated as instances of their parent class.
Encapsulat...read more
Q133. 2. Toggle a bit
Toggle a bit in a binary number
Convert the number to binary representation
Identify the bit position to toggle
Toggle the bit using bitwise XOR operator
Convert the modified binary number back to decimal
Q134. Oops concept in java
Oops concept in Java refers to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Polymorphism allows objects to be treated as instances of their parent class.
Abstraction hides the implementation details and only shows the necessary features.
More about working at HARMAN
Top HR Questions asked in Bharat Electronics
Interview Process at Bharat Electronics
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month