NVIDIA Interview Questions
- 0of 0 votes
AnswersDetect loop in a singly linked-list
- Hank Lee July 22, 2008| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Coding Algorithm - 1of 1 vote
AnswersImplement atoi(char *p)
- Hank Lee July 22, 2008| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Coding - 0of 0 votes
AnswersReverse linked-list
- Hank Lee July 22, 2008| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Coding Algorithm - 0of 0 votes
AnswersDraw 2-level paging diagram.
- Hank Lee July 22, 2008| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswerWrite code to reverse a linked list.
- newguy April 29, 2008| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Coding - 2of 0 votes
AnswersWrite an aligned malloc & free function. Which takes number of bytes and aligned byte (which is always power of 2)
- NewGuy April 26, 2008
Ex. align_malloc (1000,128);
it will return memory address multiple of 128 of the size 1000.
aligned_free();
it will free memory allocated by align_malloc.| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Computer Architecture & Low Level Coding - 0of 0 votes
AnswersWrite an printhex function which implements "%x" in printf without using printf.
- NewGuy April 26, 2008
Example :-
printhex(10) output is A .| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Coding - -1of 1 vote
Answers1) Design a synchronous circuit which follows this pattern:
- AJ February 22, 2008
1000
1100
1110
1111
0111
0011
0001
0000
1000
Is it possible to design this circuit if there is no reset. If yes then how?
2) Design a circuit which generates the following pattern:
1000
0100
0010
0001
0010
0100
1000
3) In the above mentioned question how many FF's are least required? Justify your answer!
4)Generate the above mentioned pattern by using only combinational logic and D FF.| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersReverse the bits in an incoming bitstream given a function that has its input parameters as a char *ptr and tot_siz where tot_siz is the size of the buffer..
- SigPro July 13, 2007| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
Answersgiven a 32 bit number N and 2 numbers(A & B) that determine 2 different bit positions of N how do you make all the bits between A and B equal to another given integer k.
- divya April 14, 2007
given (A,B is in the range [0 to 31] and
k<=2^(B-A+1) ( so that k fits between B-A+1 bits). Give an O(1) solution for this
e.g if N=9 ( 1001) ,A=0 ,B=2,K=5(101 then the result should be 1101 (1.e 13)| Report Duplicate | Flag | PURGE
NVIDIA Algorithm - 0of 0 votes
Answersgiven a 32 bit number N and 2 numbers(A & B) that determine 2 different bit positions of N how do you make all the bits between A and B equal to another given integer k.
- divya April 14, 2007
given (A,B is in the range [0 to 31] and
k<=2^(B-A+1) ( so that k fits between B-A+1 bits). Give an O(1) solution for this
e.g if N=9 ( 1001) ,A=0 ,B=2,K=5(101 then the result should be 1101 (1.e 13)| Report Duplicate | Flag | PURGE
NVIDIA Algorithm - 0of 0 votes
AnswersFind the Maximum of 2 numbers without using any if-else or any other comparison operator
- ankit April 14, 2007| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Algorithm - 0of 0 votes
AnswersDifferences between C & C++? Give an instance of C code that won't compile under a C++ compiler.
- Oz. October 23, 2006| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersHow will you determine if a loop exists in a link list?
- Philip July 24, 2006| Report Duplicate | Flag | PURGE
Expedia Amazon NVIDIA Knoa Software Apple Software Engineer / Developer Intern Algorithm Linked Lists - 0of 0 votes
AnswersWhat's wrong with this code:
- vodangkhoa February 04, 2006
unsigned int i;
for (i = 100; i >= 0; --i)
printf("%d\n",i);| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Coding - 0of 0 votes
AnswersCount the number of ON bits in an integer.
- vodangkhoa February 04, 2006| Report Duplicate | Flag | PURGE
NVIDIA Agilent Technologies Software Engineer / Developer Coding Algorithm - 0of 0 votes
AnswersWrite atoi(const char * chr)
- vodangkhoa February 04, 2006| Report Duplicate | Flag | PURGE
NVIDIA Agilent Technologies Software Engineer / Developer Coding Algorithm - 0of 0 votes
AnswersDescribe in english what this code do?
- vodangkhoa February 04, 2006
( (n & (n-1)) == 0)| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersWhat does the keyword volatile mean in C?
- vodangkhoa February 04, 2006| Report Duplicate | Flag | PURGE
NVIDIA Agilent Technologies Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersExplain Virtual Memory. What is the TLB?
- vodangkhoa February 04, 2006| Report Duplicate | Flag | PURGE
NVIDIA Agilent Technologies Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia