Qualcomm Interview Questions
- 0of 0 votes
AnswersWrite a function to transpose a NxN matrix. Do it in-place. e.g. m={{1,2,3},{4,5,6},{7,8,9}} ==> m={1,4,7},{2,5,8}{3,6,9}}. Function prototype is like this "transpose(dimension, pointer to 2-d array)".
- kich September 20, 2009| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Coding - 0of 0 votes
AnswersIs there any algorithm using comparisons that check array duplication in O(n) time limit? i.e., Suppose we have a array of type double. Then I need a function like this
bool has_duplicate(double *arr, int len)
that works in O(n) time in the worst case and checks whether it has to equal elements or not.
- LLOLer September 08, 2009| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Arrays - 0of 0 votes
AnswersHow would you design a concurrency system for a linux shared memory given that-
- hgk September 04, 2009
-there are 1000s of readers
-because of the large num of readers and writers, they should not be allowed to obtain locks and block large number of threads.| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhy should you not call a virtual method from within a derived class constructor?
- hgk September 04, 2009| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer C++ - 0of 0 votes
AnswersAsked me the process of system call ,what happens
- desi grad August 24, 2009
exactly and how the mode toggles between user/kernel mode and vice versa| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersReversing a linked list both iteratively and recursively
- desi grad August 24, 2009| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Algorithm - 0of 0 votes
AnswersIf you have a very large code base ,how do you
- desi grad August 24, 2009
detect memory leaks in it with minimum changes
made to the actual code| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Debugging - 0of 0 votes
AnswersWhen we declare a variable in C as volatile, what are the assembly level differences in the program, as in , when the code is converted by the compiler to an assembly level program, what are the differences???
- Nishit August 12, 2009| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer - 0of 0 votes
AnswersWrite the strstr function, using of any system string fucntions such as strlen was prevented
- BayE June 28, 2009| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer String Manipulation - 1of 0 votes
AnswersWhat should not be done in an ISR (Interrupt Service Routine)?
- Sandeep Marathe October 12, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Networking / Web / Internet - 0of 0 votes
AnswersIn networking, explain how the ARP and DHCP protocols are used.
- Sandeep Marathe October 12, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Networking / Web / Internet - 0of 0 votes
AnswersOther than virtual-physical mapping, what is the other functionality of MMU?
- Sandeep Marathe October 12, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswerAsked abt Write-thru, write-back caches..when is a word evicted in write-back cache ?
- Sandeep Marathe October 12, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Computer Architecture & Low Level - 1of 0 votes
AnswersWhat does appending 'static' to a global variable/function do?
- Sandeep Marathe October 12, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer C - 0of 0 votes
AnswersWrite code for strncpy function
- anon September 06, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer - 0of 0 votes
AnswersWrite code for memcpy function
- anon September 06, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer - 0of 0 votes
AnswersYou have an array of numbers from 1-50 in random order. One element is randomly deleted. Write code to find the missing element.
- anon September 06, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer - 0of 0 votes
AnswersWrite code to checking if linked lists merge.
- anon September 06, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer - 0of 0 votes
AnswersWrite code to check if a linked list contains a cycle.
- anon September 06, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer - 0of 0 votes
AnswersWrite a function to make a pointer point to a different object.
- XXXX July 22, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer C Coding - 0of 0 votes
AnswersWhat is happened when a user press a key on the keyboard? (Keyboard generates an interrupt and interrupts the CPU, CPU saves the current process state and executes interrupt handler, CPU returns from interrupt, kernel later on executes device driver to fetch register data from I/O port, ...)
- Hank Lee July 15, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswerWhat is in IP header?
- Hank Lee July 15, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Coding - 0of 0 votes
AnswersWhat is the diff between hash table and linked list?
- Hank Lee July 15, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersWhat is system call?
- Hank Lee July 15, 2008| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Terminology & Trivia