VMWare Inc Interview Questions
- 0of 0 votes
AnswersWe have a table with two column name and marks. Write a query based on this table which returns grades like if marks if greater than 700, it will be 'A' if it is less than 700 and greater than 500, it will be 'B' OR it will be 'C'. Main point table has only two column.
- muskaan December 10, 2010
If possible please, give me whole query.
Thanks.| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Database - 0of 0 votes
AnswersA Binary Tree is represented in an int array such that if P is parent and c is its children..a[c]=p
- nara October 24, 2010
a) Construct a Binary Tree if Such An Array is given…
b) u’ve given an index of node representing root of sub tree.. If we ignore the node and all of its descendants , tell the no.of nodes remaining in tree….| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Algorithm - 0of 0 votes
Answerssuppose we dynamically allocate the memory using malloc eg char *p=(char *)malloc(8*sizeof(char)) and then we deallocate it later using free command eg free(p) then how does free know about the size of memory to be deallocated i.e. how does it frees just the amount of memory allocated to pointer p....
- Anonymous May 15, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer C++ - 0of 0 votes
Answershow to know if OS stack is growing up or down in plain C.
- guest May 13, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer C - -1of 1 vote
AnswersLots of stuff about linux scheduler.
- guest May 13, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
AnswersGiven two pointer in a tree find the nearest parents of those pointers place in a tree.
- AD February 21, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Algorithm - 0of 0 votes
AnswersConvert any BST into doubly linked list inplace.
- AD February 21, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Algorithm - 0of 0 votes
Answerswhat is memory dump? what are the uses of memory dump?
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
Answersimplementation of malloc()
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer C - 0of 0 votes
AnswersTypes of kernel, what are the advantages of one over other?
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
Answerswrite a program to reverse the words of a sentence
- gnu January 14, 2010
Ex- my name is abc---> abc is name my| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Algorithm - 0of 0 votes
Answersdiffernece b/w executable and object file ?
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
Answershow round robin scheduling is implemented?
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
Answerssometimes OS crashes..why does it happen??
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
AnswersSystem calls, how they works? how we move from User mode to kernel mode?
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
Answershow free() knows, how much memory it has to deallocate?
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer C - 0of 0 votes
AnswersImplement a Stack in that push(),pop() and max() can be done in O(1) time...stack should be implemented using linked list and max() should return the node(not the value) containing max value
- gnu January 14, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Data Structures - 0of 0 votes
AnswersHow will you merge two large files each containing a date field, a sequence number and one or more english word per line? The words are:
- arh August 11, 2009
Case 1: sorted
Case 2: unsorted
The result should be sorted| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Algorithm - 0of 0 votes
AnswersImplement a double linked list using a single linked list. You have given only data and one pointer in struct node { int data, struct node *ptr}.
- Pranav Jadhav April 19, 2009
You should be able to traverse in both directions.| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Linked Lists - 1of 0 votes
AnswersDifference between Spinlock and Mutex. What will you use where?
- Stud January 16, 2009| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 4of 0 votes
AnswersI was given a simple code which had strUppr() function and asked to find the bugs in the code.
- Stud January 16, 2009
Bugs were related to following topics
1. Return value of the function was pointer to an array which is wrong.
2. A while loop with length of a string was written. There length of string was not considered till the end of the array.
3. A range of characters were compared. If (x>a && x<z). Here the bug is that a and z will not be considered.| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer C - 1of 1 vote
AnswersFind a median of two sorted integer arrays.
- geeky_freak July 22, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersWhat's the difference between a vector vs array?
- geeky_freak July 22, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Terminology & Trivia - 1of 0 votes
AnswersWhat's the difference between a thread vs process?
- geeky_freak July 22, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Threads - 1of 0 votes
AnswersWhat's the difference between a mutex and a semaphore?
- geeky_freak July 22, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Threads - 0of 0 votes
AnswersShould pointers be always initialized?
- Abcd February 20, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersWhat is a mutex used for?
- cafemocha January 30, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersWhat is the size of int?
- cafemocha January 30, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Coding - 0of 0 votes
AnswersWhat is a stack?
- cafemocha January 30, 2008| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Data Structures