Qualcomm Interview Questions
- 0of 0 votes
AnswersDescribe the Flyweight and Visitor design pattern with example
- mst September 22, 2019 in India| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersYou have a vector of 128 floats (float data[128]) in shared memory, an environment with 8 threads and a convenient function called barrier() that will block on each thread until it will be signaled by all 8 threads (a simple semaphore of 8 elements).
- mst September 22, 2019 in India
Write a pseudo-C parallel function that calculates the sum of all 128 elements storing it inside data[0]; the function can alter/destroy the content of the other 127 elements of data[].
thread_id goes from 0 to 7: it is constant and unique for each of the 8 threads.| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Operating System - 0of 0 votes
AnswersConsider the following 3D scene representing an old town's main square:
- mst September 22, 2019 in India
• A single statue
o static geometry, high polygon count
o low complexity fragment shader
• A particle system simulating smoke
o animated, rendered as a large set of points
• A small set of characters
o animated geometry, medium polygon count
o medium complexity fragment shader
• A large set of buildings
o static geometry, low polygon count
o low complexity fragment shader
• A background image/skybox
• The camera/viewpoint is continuously moving within the scene.
How would you render the statue - by itself – using OpenGL to achieve maximum vertex performance (vertices/second)?
How would you render the particle system - by itself - using OpenGL to achieve maximum vertex performance (vertices/second)?
How would you render the scene - as a whole - most efficiently on a GPU using OpenGL?
Given that the 3D scene was being rendered correctly but that you wanted to improve the performance further, how would you determine if the main performance limitation/bottleneck was located in the application, in the vertex processing stage, or in the fragment processing stage?| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Graphics - 0of 0 votes
AnswersGiven an array of elements print even and odd numbers out of it using 2 threads . even_thread and odd_thread.
- anaghakr89 April 19, 2018 in United States
int arr[] = {3,1 ,2, 5, 6, 7, 8, 10, 9};| Report Duplicate | Flag | PURGE
Qualcomm Software Developer - 0of 0 votes
AnswersImplement zad-off-chu sequence for LTE eNodeB in c language?
- subhraprakash79 November 14, 2017 in United States| Report Duplicate | Flag | PURGE
Qualcomm Software Developer C - 0of 0 votes
AnswersWrite a C code matrix multiplication in such a way that the matrix can be read in row major form only
- anaghakr89 July 31, 2017 in United States for Touch system software| Report Duplicate | Flag | PURGE
Qualcomm SDE-2 - 0of 0 votes
AnswersComplete the puzzle which simulates generic directory structures.
- Sameer July 21, 2017 in United States
* The solution should be directory agnostic.
* Be succinct yet readable. You should not exceed more than 200 lines.
* Consider adding comments and asserts to help the understading.
* Code can be compiled with javac Directory.java
* Code should be executed as: java -ea Directory (-ea option it's to enabled the assert)
*/
/**
* change the code here.
*/
class Shell {
Shell cd(final String path) {
return this;
}
public String path() {
return "/";
}
}
public class Directory {
public static void main(String[] args) {
final Shell shell = new Shell();
assert shell.path().equals("/");
shell.cd("/");
assert shell.path().equals("/");
shell.cd("usr/..");
assert shell.path().equals("/");
shell.cd("usr").cd("local");
shell.cd("../local").cd("./");
assert shell.path().equals("/usr/local");
shell.cd("..");
assert shell.path().equals("/usr");
shell.cd("//lib///");
assert shell.path().equals("/lib");
}
}| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer - 0of 0 votes
AnswersHow is printf implemented?
- doka07 January 30, 2014 in Israel| Report Duplicate | Flag | PURGE
Qualcomm Testing / Quality Assurance - 0of 2 votes
AnswersImplement your own sizeof operator using bitwise operation .
- nehalkumar6 December 04, 2013 in India| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Bit Manipulation - 0of 2 votes
AnswersConstruct BST for a given inorder and preorder traversal using ITERATIVE METHOD ONLY
- Forgot Coding November 03, 2013 in India| Report Duplicate | Flag | PURGE
Qualcomm - 3of 3 votes
AnswersWhen is that we we want to use "user virtual address" instead of "kernel virtual address"? List some situations when we cannot go with kernel virtual address.
- chvishu87 April 06, 2013 in United States| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersWhich one is faster and why?
- audi March 15, 2013 in United States
1. Array
2. Link List.
If we just want to iterate in for loop and print it.| Report Duplicate | Flag | PURGE
Qualcomm Arrays Linked Lists - 0of 2 votes
AnswersHow can you tell if your system is little endian or big endian?
- vikaskupushkar March 06, 2013 in United States| Report Duplicate | Flag | PURGE
Qualcomm Developer Program Engineer Computer Architecture & Low Level - 3of 3 votes
AnswersAs kernel can access user space memory, why should copy_from_user is needed?
- bvgr December 24, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel - 1of 1 vote
Answerswhat are the best synchronization techniques used in linux kernel?
- bvgr December 24, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel - -1of 1 vote
Answershow function pointers are shared across different processes? using which iPCs?
- bvgr November 25, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm Linux Kernel - 0of 0 votes
Answerswhat is binder in android?
- bvgr November 25, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm Android - -1of 1 vote
Answersis linux kernel a process / thread/ something else
- bvgr November 25, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm Linux Kernel - 0of 0 votes
Answerhow sysctrl works?
- bvgr November 24, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm - 0of 0 votes
Answershow a function from one user process can be called in other user process?
- bvgr November 24, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm Linux Kernel - -1of 1 vote
Answersmention 4 IPCs used in user level process in linux
- bvgr November 24, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm Linux Kernel - 0of 0 votes
Answerswrite 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?
- bvgr November 24, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm C Linux Kernel - 1of 1 vote
Answersbelow questions were asked to me:
- bvgr November 24, 2012 in India
1. explain device tree concepts in linux.| Report Duplicate | Flag | PURGE
Qualcomm Linux Kernel - 0of 0 votes
AnswersDifference between kill -9 and kill -3
- Survivor November 20, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Unix - 0of 0 votes
AnswersHow to find a process and kill in unix?
- Survivor November 20, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Unix - 0of 0 votes
AnswersWhat is space complexity?
- Survivor November 20, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Algorithm - 0of 0 votes
AnswersHow to find time complexity of an algorithm?
- Survivor November 20, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Algorithm - 0of 0 votes
AnswersWhat is Big Oh notation?
- Survivor November 20, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Algorithm - 1of 1 vote
AnswerHow to make object immutable?
- Survivor November 20, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Java - 0of 0 votes
AnswersWhy do we need to override hashcode and equals methods?
- Survivor November 20, 2012 in United States| Report Duplicate | Flag | PURGE
Qualcomm Applications Developer Java