Filter interviews by
Questions on aptitude, embedded concepts, c programming
I applied via Naukri.com and was interviewed in Aug 2021. There were 5 interview rounds.
Top trending discussions
I applied via Referral and was interviewed in Jun 2024. There was 1 interview round.
A monitor for APB protocol is a verification component that checks for protocol compliance in APB transactions.
Monitor should check for valid address, data, and control signals in APB transactions
It should detect and report any protocol violations or errors
Monitor should be able to track the state of the APB bus and ensure proper communication between master and slave devices
Design a finite state machine to count the number of people passing through a hallway with 2 detectors, allowing only one person at a time.
Create states for each detector and the hallway
Transition between states based on detector inputs
Use counters to keep track of the number of people passing through
Implement logic to prevent multiple people from passing simultaneously
I applied via Naukri.com and was interviewed in Feb 2024. There were 3 interview rounds.
Structure is a collection of different data types under one name, while union is a single memory location that can hold different data types at different times.
Structure allows each member to have its own memory location, while union shares a single memory location for all members.
In a structure, all members can be accessed simultaneously, while in a union, only one member can be accessed at a time.
Example: struct Pers...
Structure padding is adding empty bytes to align data in memory. Packing a structure removes padding to save memory.
Structure padding ensures that data members are aligned to memory boundaries for efficient access
Padding bytes are added between data members to ensure alignment
Packing a structure removes padding to save memory but may impact performance
Example: struct example { char a; int b; } - sizeof(struct example)
To check for stack overflow, monitor stack usage and set a limit to trigger an alert if exceeded.
Monitor stack usage by tracking the stack pointer and comparing it to the stack size.
Set a limit for stack usage and trigger an alert if the limit is exceeded.
Use tools like stack analyzers or profilers to detect stack overflow.
Implement stack canaries or guard zones to detect stack corruption.
A semaphore is a signaling mechanism while a mutex is a locking mechanism used to control access to shared resources in multithreaded environments.
Semaphore is used to control access to a pool of resources, while mutex is used to control access to a single resource.
Semaphores can be used to allow multiple threads to access a shared resource simultaneously, while mutex allows only one thread to access the resource at a ...
Task priority can be set using priority levels or scheduling algorithms in firmware development.
Use priority levels to assign importance to tasks
Higher priority tasks are executed before lower priority tasks
Implement scheduling algorithms like preemptive scheduling or round-robin scheduling to manage task priorities
A C program to swap elements in an array of strings
Use a temporary variable to swap elements in the array
Iterate through the array and swap elements at each index
I applied via campus placement at Walchand College of Engineering, Sangli and was interviewed in Sep 2023. There were 2 interview rounds.
There were mostly embedded c programming questions, like what will be the output of the given code, what is the error that will occur if this program runs, etc. Lasted about 30 minutes.
I applied via Naukri.com and was interviewed in Feb 2022. There were 2 interview rounds.
Basics of c, c++, python languages
Any one os environment
I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.
Volatile keyword in C is used to indicate that a variable may be changed unexpectedly by external factors.
Volatile keyword tells the compiler not to optimize the variable because it can be changed by external factors.
Commonly used for memory-mapped hardware registers or variables accessed by multiple threads.
Example: volatile int *ptr = (int *)0x1234; // pointer to a memory-mapped hardware register
I applied via campus placement at Shri Ramdeo Baba Kamla Nehru Engineering College, Nagpur and was interviewed in Nov 2023. There was 1 interview round.
based on 2 reviews
Rating in categories
Staff Engineer
309
salaries
| ₹15 L/yr - ₹40 L/yr |
Principal Engineer
200
salaries
| ₹24.5 L/yr - ₹59 L/yr |
Senior Engineer
142
salaries
| ₹12 L/yr - ₹25.2 L/yr |
Test Engineer
128
salaries
| ₹3 L/yr - ₹8.1 L/yr |
Senior Software Engineer
72
salaries
| ₹10 L/yr - ₹25 L/yr |
Seagate
Micron Technology
Intel
Samsung