Add office photos
Qualcomm logo
Employer?
Claim Account for FREE

Qualcomm

3.8
based on 975 Reviews
Video summary
Filter interviews by
SDE
Skills
Clear (1)

Qualcomm SDE Interview Questions and Answers

Updated 5 Feb 2024
Asked in
SDE Interview

Q1. write a program with 2 threads. one thread should print even and other should print odd numbers in sequence. how would you make it SMP safe?

Ans.

Program with 2 threads printing even and odd numbers in sequence. How to make it SMP safe?

  • Use mutex locks to ensure only one thread accesses the shared resource (the number to be printed) at a time

  • Use condition variables to signal when it's safe for the other thread to access the shared resource

  • Use atomic variables to ensure that the shared resource is accessed atomically

  • Use thread-safe data structures to store the shared resource

  • Use thread-local storage to avoid contention b...read more

Add your answer
right arrow
Asked in
SDE Interview

Q2. How would you know .. your system is little endian or big endian??

Ans.

Endianess refers to the order in which bytes are stored in memory. Little endian stores the least significant byte first.

  • Check the byte order of a multi-byte integer value

  • Use a test value with known byte order to determine the system's endianess

  • Check the system's documentation or specifications

  • Use a code snippet to determine the endianess

Add your answer
right arrow
Asked in
SDE Interview

Q3. how a function from one user process can be called in other user process?

Ans.

Inter-process communication mechanisms like pipes, sockets, message queues, shared memory can be used to call a function from one user process to another.

  • Use pipes to establish a unidirectional communication channel between two processes.

  • Use sockets to establish a bidirectional communication channel between two processes.

  • Use message queues to send messages between processes.

  • Use shared memory to share data between processes.

  • Remote Procedure Call (RPC) can also be used to call ...read more

Add your answer
right arrow
Asked in
SDE Interview

Q4. how function pointers are shared across different processes? using which iPCs?

Ans.

Function pointers can be shared across processes using inter-process communication mechanisms like shared memory, pipes, sockets, etc.

  • Function pointers can be stored in shared memory regions that are accessible by multiple processes.

  • Processes can communicate with each other using pipes or sockets and pass function pointers as arguments.

  • Remote Procedure Call (RPC) mechanisms can also be used to share function pointers across processes.

  • Message Passing Interface (MPI) is another...read more

Add your answer
right arrow
Discover Qualcomm interview dos and don'ts from real experiences
Asked in
SDE Interview

Q5. mention 4 IPCs used in user level process in linux

Ans.

4 IPCs used in user level process in Linux

  • Message Queues - allows processes to exchange data through messages

  • Shared Memory - allows processes to share a portion of memory

  • Semaphores - used for synchronization between processes

  • Pipes - allows communication between two related processes

Add your answer
right arrow
Asked in
SDE Interview

Q6. what is binder in android?

Ans.

Binder is a mechanism for inter-process communication in Android.

  • Binder allows different processes to communicate with each other.

  • It is used for implementing Android's IPC (Inter-Process Communication) system.

  • Binder uses a client-server model where the client sends requests to the server and the server responds with the requested data.

  • It is used for sharing data between different components of an Android application.

  • Binder is implemented using kernel-level drivers and user-le...read more

Add your answer
right arrow
Asked in
SDE Interview

Q7. explain device tree concepts in linux

Ans.

Device tree is a data structure used to describe hardware components in a system and their interconnections.

  • Device tree is used in embedded systems to provide a standardized way of describing hardware components.

  • It is written in a language called Device Tree Source (DTS) and compiled into a binary format called Device Tree Blob (DTB).

  • The device tree is loaded by the bootloader and used by the kernel to configure the hardware.

  • It allows for easy configuration of hardware compon...read more

Add your answer
right arrow
Asked in
SDE Interview

Q8. how sysctrl works?

Ans.

sysctrl is a system control utility used to manage system settings and configurations.

  • sysctrl is used to manage system settings and configurations such as network settings, power management, and hardware configurations.

  • It can be used to start, stop, and restart system services.

  • sysctrl is commonly used in Linux and Unix-based operating systems.

  • Examples of sysctrl commands include 'sysctrl -p' to reload all settings from configuration files and 'sysctrl -a' to display all syste...read more

Add your answer
right arrow

More about working at Qualcomm

Back
Awards Leaf
AmbitionBox Logo
#16 Best Large Company - 2022
Awards Leaf
HQ - San Diego,California, United States
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Qualcomm SDE

based on 2 interviews
1 Interview rounds
Technical Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top SDE Interview Questions from Similar Companies

Amazon Logo
4.1
 • 47 Interview Questions
Microsoft Corporation Logo
4.0
 • 14 Interview Questions
Facebook Logo
4.3
 • 14 Interview Questions
View all
Recently Viewed
DESIGNATION
JOBS
Daimler Truck
No Jobs
SALARIES
Qualcomm
SALARIES
Reliance BP Mobility
INTERVIEWS
Apar Industries
No Interviews
INTERVIEWS
Qualcomm
No Interviews
INTERVIEWS
TotalEnergies
No Interviews
REVIEWS
Blue Yonder
No Reviews
JOBS
Apar Industries
No Jobs
REVIEWS
Reliance BP Mobility
No Reviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter