[go: up one dir, main page]

0% found this document useful (0 votes)
3K views12 pages

Qualcomm/Sandisk/Broadcom Interview Questions Anuntri Mukherjee Interview Questions in Qualcomm

This document contains interview questions asked by Qualcomm, Sandisk, Broadcom, and other companies. It includes questions on C programming, data structures and algorithms, operating systems concepts, Linux kernel, device drivers, and communication protocols. Specific questions cover topics like linked lists, bit manipulation, memory management, threads and processes, virtual memory, IPC, synchronization, and serial communication protocols like I2C, SPI and UART.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views12 pages

Qualcomm/Sandisk/Broadcom Interview Questions Anuntri Mukherjee Interview Questions in Qualcomm

This document contains interview questions asked by Qualcomm, Sandisk, Broadcom, and other companies. It includes questions on C programming, data structures and algorithms, operating systems concepts, Linux kernel, device drivers, and communication protocols. Specific questions cover topics like linked lists, bit manipulation, memory management, threads and processes, virtual memory, IPC, synchronization, and serial communication protocols like I2C, SPI and UART.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Qualcomm/Sandisk/Broadcom Interview Questions

Anuntri mukherjee Interview questions in qualcomm


----------------------------------------------------------------------------
1. WAP to reverse Linked list?
2. WAP to toggle particular bits?
3. Difference between calloc and malloc?
4. Static and dynamic library?
5. difference between const and macro?
6. Explain memory layout?
7. Difference b/w Static and extern?
8. What is IPC, types of IPC?
9. What happen if two I2C slave have same address and master tries to communicate?
10. How UART data bits are sent? How synchronization between transmission and reception
happens without clock?
11. Which is better SPI or I2C? And in what aspect?
12. I2C data packet size?
13. Why we use Semaphore? How and why to create shared memory?
14. What is Virtual Memory?
15. Alternate Linked list, set,reset,operations on bitwise?
16. What is the difference between Structure and Union?
17. What if in a program a Structure was replaced with Union. Is there any issues,if yes what are
they?
18. What is Thread?i..e related concepts.
19. About my GPIO expansion controller, what is I2C? Its clock diagrams?
20. WhatWhat is Interrupt? How it work? is Interrupt? How it work?
21. What are Synchronisation Techniques?
22. What is deadlock?
23. What is Motion Estimate(Multimedia)?
24. What is Memory Leak? How does it happen? Is it good for the System?
25. What is Static and Global Variables? Where does they stored?
26. What is Stack? What is heap? How program execution takes place?
27. What is difference b/w Array and Pointer?
28. What is Scope of Static?
29. Write your own String compare program?
30. C compilation stages? What does linker do in exact?
31. Write declaration of function pointer? What is callback functions?
32. Some example program about extern, static?
33. Different types of IPC ?
34. What is critical section? Why it is called critical section??
35. WAP to remove duplicate from array?
36. WAP to remove odd node from link list?
37. WAP to your own malloc function?
38. Difference between thread and process?
39. How Virtual memory implement in linux kernel?
40. How system call work?
41. Type of bottom halves?
42. How many type of driver?

Girish ​ Interview questions in qualcomm


----------------------------------------------------------

1. WAP to reverse Linked list?


2. WAP to toggle particular bits?
3. Difference between calloc and malloc?
4. Static and dynamic library?
5. difference between const and macro?
6. Explain memory layout?
7. Difference b/w Static and extern?
8. What is IPC, types of IPC?
9. What happen if two I2C slave have same address and master tries to communicate?
10. How UART data bits are sent? How synchronization between transmission and reception
happens without clock?
11. Which is better SPI or I2C? And in what aspect?
12. I2C data packet size?
13. Why we use Semaphore? How and why to create shared memory?
14. What is Virtual Memory?
15. Alternate Linked list, set,reset,operations on bitwise?
16. What is the difference between Structure and Union?
17. What if in a program a Structure was replaced with Union. Is there any issues,if yes what are
they?
18. What is Thread?i..e related concepts.
19. About my GPIO expansion controller, what is I2C? Its clock diagrams?
20. What is Interrupt? How it work?
21. What are Synchronisation Techniques?
22. What is deadlock?
23. What is Motion Estimate(Multimedia)?
24. What is Memory Leak? How does it happen? Is it good for the System?
25. What is Static and Global Variables? Where does they stored?
26. What is Stack? What is heap? How program execution takes place?
27. What is difference b/w Array and Pointer?
28. What is Scope of Static?
29. Write your own String compare program?
30. C compilation stages? What does linker do in exact?
31. Write declaration of function pointer? What is callback functions?
32. Some example program about extern, static?
33. Different types of IPC ?
34. What is critical section? Why it is called critical section??
35. WAP to remove duplicate from array?
36. WAP to remove odd node from link list?
37. WAP to your own malloc function?
38. Difference between thread and process?
39. How Virtual memory implement in linux kernel?
40. How system call work?
41. Type of bottom halves?
42. How many type of driver?
43. What is differance between char driver and block driver?
44. What is priority inversion?
45. Some question on static variable?
46. Difference between static and volatile?

Ajit Upadhyay Interview Question


-------------------------------------------------
1. C Programming
● Types of storage class in C, define static keyword and its limitations.
● Two static variable which are defined globally having same name, defined in two different file, at
compilation stage will the code generate any kind of error, defined with reason.
● Define memory layout of a C program.
● Define compilation stage of a C program.
● Write a C program to string reverse.
● Define volatile Keyword Used in C program.
● Difference between calloc and malloc?
● What is the difference between Structure and Union?
● What is Memory Leak? How does it happen? Is it good for the System?
● What is Scope of Static?
● Write a simple Makefile Syntax for 1.c and 2.c.
● Write declaration of function pointer? What is callback functions? Explain with example.
● WAP to your own malloc function?
● How to manage the memory in C, implement own version.
2. DS and Algorithm
● WAP to reverse Linked list?
● Write a C program to add a node in Singly Link List.
● Heap sort, Quick Sort, Merge Sort ( write code for all three and discussion on the time and space
complexities for all three algorithms in their (best, avg. , and worst case, explain with example) , and
which is good to use in real time and why ) (QIPL)
● In an array of size n all the elements are repeating twice except one element, find that non repeating
element in linear time complexity O(n). (QIPL)
● What is BST, write code for BST. (QIPL)
● What is AVL Trees, explain its operations (QIPL)
● Alternate Linked list, set,reset,operations on bitwise?(Qualcomm)
● What if in a program a Structure was replaced with Union. Is there any issues,if yes what are
they?
● WAP to remove duplicate from array? Ex. 1,1,2,1,2,3,3,4(Qualcomm)
● WAP to remove odd node from link list? (Qualcomm)

3. OS concepts and Linux Kernel concept


● What is memory barrier, why it is Used?( Qualcomm)
● Pthread creation and how pthreat_wait and pthread_join.
● How we create a process and thread and difference between them
● Ipc mechanism in linux.
● What data is shared among two process .(Qualcomm)
● Synchronization between two threads and process.
● Fork Vs vfork difference
● What is priority inversion, (QIPL)
● ​Why we use Semaphore? How and why to create shared memory?(Qualcomm)
● What is Virtual Memory?(Qualcomm)
● What is Thread?i.e related concepts.(Qualcomm)
● What is Interrupt? How it work?(Qualcomm)
● What is deadlock?(Qualcomm)
● What are Synchronisation Techniques?(Qualcomm)
● What is critical section? Why it is called critical section?
● Difference between thread and process?(Qualcomm)
● How Virtual memory implement in linux kernel?(Qualcomm)
● How system call work?(Qualcomm)
● Type of bottom halves?(Qualcomm)

4. Device Drivers

5. Protocols
● Define each protocol I2C, SPI and UART, their differences? Where you have used SPI?
● What happen if two I2C slave have same address and master tries to communicate?
● Which is better SPI or I2C? And in what aspect?
● I2C data packet size?
● About my GPIO expansion controller, what is I2C? Its clock diagrams.
● What is clock stretching in I2c?
● What happen when we pull up a GPIO pin externally, what is drawback of it.
6. Puggle

Arindam Sarkar Interview Questions : (Qualcomm and Xilinx )


-----------------------------------------------------------

1> C Programming

What are function pointers in C ?


Difference between strcpy and memcpy ? Implement your own version of these ?
What is Volatile keyword ? Implementation of Volatile using ARM assembly ?
C programs on Bit Set, Bit Reset, Bit Extract and Position Manipulation using Bitwise operators and
Unions.
Memory layout of C program.
How malloc is implemented in C.
What is structure padding in C and Question on multiple combination in between placement of
Structure elements.
Use of inline in C.

2> DS and Algorithm

Reversing a Link-List using Stack ?


Find and eliminate loop in a Link List ?
Insert element in Binary Tree .
Merge Two link lists ?
Questions on Sorting ?

3> OS concepts and Linux Kernel concept


Implementation of page fault ?
Memory management in Linux ?
Memory Zones in Linux ?
Questions on page_allocator and slab_allocator ?
Questions on Memory Barriers ?
Coherent and Streaming DMA in Linux ?
Cache Coherency management in Linux ?

4> Device Drivers

Implementation of Spinlock in Arm arch.


Use of Atomic instruction in Linux Drivers.
Usage example of Spinlock vs Mutex.
Synchronization in between two Kernel Threads ?
What is the use of --init directive in Linux ?
Memory Layout of a Process ?
Top half and Bottom Half interrupt management techniques in Linux ?
SPI_Client and I2C_Client Driver Framework in Linux ?
Questions on IOCTL and IOREMAP ?

5> Protocols

● Define each protocol I2C, SPI ?


● What is register mode data transfer in I2C?
● Which is better SPI or I2C? And in what aspect?
● I2C data packet size?
● Max number of slaves in I2C and Max number of Slaves in SPI
● What is QuadPI ? QuadSPI architecture specifics and interface diagram ?
● What is clock stretching in I2c?
● What is I2C Master Arbitration ?

Abhishek Kumar Interview Questions : (Qualcomm)

Mostly they will ask on project you worked on. With details concept.

● What is memory barrier, why it is Used?( Concept


● Spinlock implementation
● Use Readl and writel
● Understanding the flow of Sleep state(S3) from OS to hardware.
● Volatile
● Static function and Static variable
● Memory layout of c program.
● Yocto recipes,
● Bbclass in yocto
● Structure and Union difference with example
● Will the program run, if same program runs on different shell simultaneously.

Shashwat Pandey Interview Questions : (Qualcomm)

Round1: Technical

● WAP to check if the number is 2^n.


● WAP to swap 0xABCD to 0xCDAB.
● WAP to reset bit at nth position.
● WAP to insert node at the end of the linked list.
● Memory allocation in C.
● Bitwise operation in python.
● Yocto recipe, what is the function of bbapend file.

Round2: Technical

● What is static function?


● Difference between static and local variables.
● What is binary search.
● Real life scenario on collecting aadhaar card details, which approach is better array or linked list.
● Does binary search is useful in case of linked list?
● Benefit of using static variable, explain with example(any program using static variable).

Round3: Discussion with project head

● Discussion was more focused on what are your strengths.


● In your previous project what value added have you provided other than the task given.
● Questions related to projects you have done.
Rohit Choudhary Interview Questions :Qualcomm

● How will you configure a particular device to ARM ?


● What is Device Tree Blob ?
● Booting process of ARM ?
● What is the difference between page fault and segfault ?
● Why page fault occur? Why was it that page was not found ?
● Memory management with respect to paging technique ?
● Flow of drivers: char driver,block driver and network driver?
● OSI layers,TCP layers
● how TCP data is processed in kernel ?
● what are synchronization mechanism in Linux?
● In what case you will use spinlock and why?
● Why we cant sleep while using spinlock?
● What are the difference between softirq,tasklets and workque ?
○ API`s of each ?
○ when you will use each ?
● What are signal ?
○ Example of signal ?
○ What are the structures used in signal?
● What are different IPC mechanism in kernel ?
● Threads and related API ?
● When to use semaphore and when to use mutex and why with a real scenario?
● APIs of semaphore ?
● How binary semaphore is different from mutex ?
● If two process go to sleep at the same who will wake up first and why ?
● SPI,I2C UART protocol ?
● Clock diagram of each,how do they sync,what are the stop and start bit?
● difference between the 3 protocols?
● What is clock stretching ?
● What are the different scheduling algorithm ?
● What is LRU algorithm ?
● Why to use signal in Linux ?
● How to handle them ?
● If two process are accessing the same port how will you syncronize the two?
● Flow of a program if you are writing a program to read and write to port ?
● PCIe overview?
● DMA overview?
● Function pointer ?
○ Uses of function pointer ?
○ Use of function pointer in linux kernel ?

● What is volatile in C ?
● Kernel compilation steps ?
● What happens at each step in kernel compilation ?
● why to port linux on beaglebone?
● What are the steps in porting linux for beaglebone ?
● How kernel is loaded in ARM ?
● How will you come to know if a particular device is being used by someone else ?
● Project related question ?

Interview in Camera Dev Team:


1. What is dangling pointer? And how to avoid them?
2. Scope of the static variable.
3. If we want to use the static variables in another c file how can we use it?
4. Difference between thread and process.
5. What is multi threading application?
6. What is the race condition?
7. What is deadlock and how to avoid it?
8. We have 5 modules and we want to get the logs of any specific modules how would you define a
function to get only those logs which are requested?

Chandbasha Interview Questions : Qualcomm

1) All Questions Regarding Our Project.


2) What is Volatile?How the Memory Allocated Internally With Example? Where use in Real
Time Applications.
3) Diffirence Between Function and Function Pointer? Where we use in Real time Applications.
4) How to allocate memory for 2-D Array.
5) Diffirence between malloc & calloc with Example.
6)How to find size of an datatype without using sizeof function.
7)What is the use of Generic pointer? Where we use in real time Applications.
8)How to allocate 2-D array as an function arguments.
9) How to avoid multiple header files declaration in a single project i.e In a project no.of files are there in
each file common header file is there , can we use and applicable single header file declaration for all the
files.
10) Bitwise operators.
11) Structure padding & packing concept.
12) deletion of a node in a single linked list(Begin,Middle,End).
13) What is a deadlock? Prevention of deadlock ? How to avoid deadlock.
14) Diffirence between semaphore and mutex ? Explain with a realtime example.
15) Diffirence between mutex and spinlock ? Where we use spinlock.
16)Scheduling Alogorithms(Round Robbin,Priority,Shortest job first,multylevel Queuing).
17) What is page fault ? How to avoid it.
Interview at CameraTeam

1st round

1.Difference between tcp and udp.Header formats of tcp and udp with
datailed explanation.

2.How connection is established in client-server model with detailed


explanation(socket programming).

3.write a common structure for fitting two different real-time scenarios.

4.linked list opreations(revese list,finding and remove loop,adding elements


to the list) .

5.How memory is managed by linux with clear pictures.

6.How to allocate memory dynamically for 2d array,different notations for


accessing array elements with clear pictures.

7.Program for reverse a string without reversing individual words in a string


in different methods.

2nd round

1.Questions related projects.


2.what is page fault? How to fix it?

3.Explain any driver from scratch?

4.what is little endian and big endian?How the data stored in


memory?Program to find whether the system is little endian or big endian.

5.Explain about virtual memory,paging,demand paging with clear pictures?

6.Difference between macro,inline and normal functions with clear pictures


and why?

7.Deadlocks occurances and how to avoid deadlocks?

8.what is the need to use process and threads?memory organization for


process and threads with clear pictures.

9.program for multiply a number with 15 in less no.of cpu cycles.

10.Difference between constant and volatile?where we use volatile and


where we use constant and why?

You might also like