IBM Research
10+ Interview Questions and Answers
Q1. How to check if the tree is balanced?
Check if a tree is balanced by comparing the heights of its left and right subtrees.
Calculate the height of the left subtree and the height of the right subtree.
If the difference between the heights is greater than 1, the tree is not balanced.
Recursively check if both the left and right subtrees are balanced.
If both subtrees are balanced and the height difference is less than or equal to 1, the tree is balanced.
Q2. General intent in life and lurure plans if any
My general intent in life is to continuously learn and grow while making a positive impact on the world. As for my future plans, I hope to advance my career in software engineering and eventually start my own company.
Continuous learning and personal growth
Making a positive impact on the world
Advancing my career in software engineering
Starting my own company
Q3. NLP : pattern matching in large corpus
Pattern matching in large corpus using NLP
Use natural language processing techniques to identify patterns in a large corpus
Apply techniques like tokenization, part-of-speech tagging, and named entity recognition
Utilize regular expressions or rule-based matching to identify specific patterns
Consider using machine learning algorithms like sequence labeling or clustering
Examples: finding email addresses, detecting dates, identifying named entities
Q4. if the fan is an entity, what are the attributes to it?
Attributes of a fan include size, speed, power source, noise level, and direction of rotation.
Size (e.g. diameter of blades)
Speed (e.g. rotations per minute)
Power source (e.g. electric, battery)
Noise level (e.g. decibels)
Direction of rotation (e.g. clockwise, counterclockwise)
Q5. Library management system design
Designing a library management system to efficiently organize and track library resources.
Utilize a database to store information on books, patrons, and transactions
Implement a user-friendly interface for librarians to add, edit, and delete records
Incorporate features such as search functionality, book reservations, and overdue notifications
Q6. What are the different types of algorithms used for classification?
There are several algorithms used for classification, including decision trees, logistic regression, k-nearest neighbors, and support vector machines.
Decision trees: a tree-like model where each internal node represents a test on an attribute, each branch represents the outcome of the test, and each leaf node represents a class label
Logistic regression: a statistical method that uses a logistic function to model a binary dependent variable
K-nearest neighbors: a non-parametric...read more
Q7. what do you mean by OOPs
OOPs stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOPs.
Examples of OOP languages include Java, C++, and Python.
Q8. What is DMA? Context Switching
DMA stands for Direct Memory Access, a feature that allows hardware devices to transfer data to/from memory without involving the CPU.
DMA is used to offload data transfer tasks from the CPU, improving overall system performance.
Context switching is the process of saving and restoring the state of a CPU so that multiple processes can share the same CPU.
DMA and context switching are both important concepts in embedded systems design.
Example: In a system with a network interface...read more
Q9. What is pipeline in ARM?
Pipeline in ARM is a technique used to increase the performance of the processor by overlapping the execution of multiple instructions.
Pipeline allows multiple instructions to be processed simultaneously in different stages of execution.
It helps in reducing the overall execution time of a program.
ARM processors typically have a 3-stage pipeline, but some newer designs have more stages for better performance.
Example: In a 3-stage pipeline, the fetch, decode, and execute stages...read more
Q10. What are your field preferences in CS?
I am interested in various fields of computer science.
Artificial Intelligence
Data Science
Machine Learning
Computer Vision
Natural Language Processing
Q11. What is watson ibm
Watson IBM is an artificial intelligence system developed by IBM that uses natural language processing and machine learning to analyze and interpret data.
AI system developed by IBM
Uses natural language processing
Utilizes machine learning to analyze and interpret data
Interview Process at null
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month