i
Synopsys
Filter interviews by
I applied via Referral and was interviewed before Aug 2020. There were 4 interview rounds.
The left view of a binary tree shows the nodes that are visible when the tree is viewed from the left side.
Traverse the tree recursively from left to right
Print the first node encountered at each level
Example: For tree with root node A, left view is A, B, D, G
C++ is an extension of C with object-oriented programming features.
C++ supports classes and objects while C does not.
C++ has better support for polymorphism and inheritance.
C++ has a standard template library (STL) for data structures and algorithms.
C++ allows function overloading while C does not.
C++ has exception handling while C does not.
To find the middle of a linked list, use two pointers - one moving at twice the speed of the other.
Use two pointers - slow and fast
Slow pointer moves one node at a time, fast pointer moves two nodes at a time
When fast pointer reaches the end, slow pointer will be at the middle
Semaphores, OSI layers, deadlock and ACID protocols in DBMS
Semaphores are used for process synchronization and communication
OSI model has 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, Application
Deadlock protocols prevent processes from entering a deadlock state
ACID protocols ensure database transactions are reliable and consistent
Boundary traversal of a binary tree is the process of visiting the nodes on the boundary of the tree.
Start with the root node and traverse the left boundary nodes from top to bottom.
Traverse the leaf nodes from left to right.
Traverse the right boundary nodes from bottom to top.
Exclude the leaf nodes that are already traversed in the second step.
Repeat the above steps for all the subtrees of the binary tree.
Linear data structures have a sequential arrangement of elements while non-linear data structures have a hierarchical arrangement.
Linear data structures have a fixed number of elements and are easy to traverse.
Non-linear data structures have an arbitrary number of elements and are difficult to traverse.
Arrays, linked lists, and stacks are examples of linear data structures.
Trees, graphs, and heaps are examples of non-l
Steps for client server connection request.
Client sends a connection request to the server.
Server receives the request and sends a response.
Client receives the response and establishes a connection.
Connection is maintained until terminated by either party.
Producer and consumer problem is a synchronization problem in computer science where multiple processes share a common resource.
It occurs when multiple processes try to access a shared resource simultaneously.
The producer produces data and the consumer consumes it.
The problem is to ensure that the producer does not produce data when the buffer is full and the consumer does not consume data when the buffer is empty.
Exam...
Processes are independent programs while threads are lightweight processes within a program.
Processes have their own memory space while threads share memory space.
Processes communicate through inter-process communication while threads communicate directly.
Processes are slower to create and terminate than threads.
Examples of processes are web browsers, word processors, etc. while examples of threads are spell checkers,
posted on 29 Oct 2024
posted on 10 Jul 2024
I applied via Job Portal and was interviewed in Jan 2024. There was 1 interview round.
A C program to generate Fibonacci series
Declare variables to store current and previous Fibonacci numbers
Use a loop to calculate and print Fibonacci numbers
Handle edge cases like 0 and 1 separately
A up counter circuit is a digital circuit that counts upwards in binary sequence.
Use flip-flops to store the count value
Connect the output of one flip-flop to the clock input of the next flip-flop
Use logic gates to control the counting sequence
Add a reset input to clear the count when needed
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in Feb 2024. There were 3 interview rounds.
Basic aptitude questions
I applied via campus placement at Motilal Nehru Institute National Institute of Technology (NIT), Allahabad and was interviewed before Aug 2023. There were 2 interview rounds.
Questions covering various aspects
A mood 3 counter is a device that tracks and displays the user's mood on a scale of 1-3.
Design a simple interface with 3 buttons for the user to input their mood (happy, neutral, sad)
Include a display screen to show the current mood level
Implement a reset button to clear the mood counter
Consider adding a visual indicator such as colored LEDs for each mood level
The three states refer to the three fundamental states of matter: solid, liquid, and gas.
Solid: particles are closely packed together and have a fixed shape and volume (e.g. ice)
Liquid: particles are close together but can move past each other, taking the shape of their container (e.g. water)
Gas: particles are far apart and move freely, filling the entire space of their container (e.g. air)
R&D Engineer
147
salaries
| ₹7.2 L/yr - ₹30 L/yr |
Senior R&D Engineer
100
salaries
| ₹15 L/yr - ₹41.8 L/yr |
Staff Engineer
86
salaries
| ₹22 L/yr - ₹46 L/yr |
Security Consultant
60
salaries
| ₹5.8 L/yr - ₹21 L/yr |
Applications Engineer
58
salaries
| ₹11 L/yr - ₹25.6 L/yr |
Cadence Design Systems
Mentor Graphics
Ansys Software Private Limited
Infineon Technologies