VMWare Inc Interview Questions
- -1of 1 vote
AnswersWhat is the difference between MVC and Factory pattern?
- Ram August 06, 2013 in India for QATeam| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer General Questions and Comments - 0of 0 votes
AnswersHow does the print operation work when we try to give a print from a word document?
- Ram August 06, 2013 in India for QATeam
What is the use of software that comes along with the printer?
How the data is printed after we click on the print button?
What logic is applied for the data to be transferred to the printer?
What is the logic that makes the printer print the data on a sheet of paper?| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer Operating System - 0of 0 votes
AnswersI have to create 5 threads where each thread has to perform the addition operation.
- Ram August 06, 2013 in India for QATeam
Thread1 - Add 1 to 10
Thread2 - Add 1 to 50
Thread3 - Add 5 to 15
Thread4 - Add 10 to 20
Thread5 - Add 15 to 20
What is the best way to accomplish this?
Also, I need 1 sec time delay between each addition operation.| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer Threads - 0of 0 votes
AnswersThere are two interfaces B and C each having the same method public m1()
- Ram August 06, 2013 in India for QATeam
class A implements B and C
If class A has to implement method m1, the implemented method would be of which interface?| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer Java - 0of 0 votes
AnswersA method takes two array list as its arguments
- Ram August 06, 2013 in India for QATeam
Both ArrayList have list of objects similar to the example here below
AL1 = {A,A,B,L,C,F,D,E,F,D,Z,R}
AL2 = {C,E,X,Z,M,X,P,L,M,N,S,T,P,B,A}
The aim is to create a third arraylist AL3 which would contain only elements that are occuring exactly twice, even after combining both AL1 and AL2.
So, the resultant list should be as seen here below
AL3 = {B,C,F,D,Z,E,X,P,M}
What logic do we follow?| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer Java - 1of 1 vote
AnswersImplement enque() function for a fixed size circular queue with synchronization / locking using any atomic opetations.
- suomi July 23, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Coding - -1of 1 vote
AnswersWrite a function which will find number of bits set and for each set bit its index. Function declaration will be: int find_set_bits(uint8 *from, int size)
- suomi July 23, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Coding - -2of 2 votes
AnswersGiven 2 sorted linked list, merge them into a third sorted linked list
- suomi July 23, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Coding - -2of 2 votes
AnswersReverse a string in place
- suomi July 23, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Coding - 0of 0 votes
AnswersWhat are checked exceptions
- meek June 05, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Java Developer Java - 0of 0 votes
AnswersGiven +ve numbers in an array . Put the even #s to the left of the array and the odd to the right side of the array . Don't use extra array.
- meek June 05, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Java Developer Coding Java Probability - 0of 0 votes
Answerscode a singleton class
- meek June 05, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Java Developer Java - 1of 1 vote
AnswersPrint the sum of all nodes of a binary tree, excluding leaf node values.
- muks June 01, 2013 in India| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Data Structures - 1of 1 vote
AnswersIf two threads are incrementing a variable 100 times each without synchronization, what would be the possible min and maximum value.
- Huwanda May 10, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Threads - 0of 0 votes
AnswersMax distance between two nodes of binary tree. Distance is # of branches.
- Huwanda May 10, 2013 in United States| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Algorithm Data Structures Trees and Graphs - 0of 0 votes
Answerswrite a program to serialize and deserialize a Binary tree
- VJ May 06, 2013 in India| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Algorithm Arrays Data Structures Trees and Graphs - 1of 1 vote
Answersyou have a set of integers between 1 .. n in a random order with one of the numbers being repeated. find the best possible way (time and space) to obtain the repeating number.
- VJ May 06, 2013 in India| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Brain Teasers - 0of 0 votes
Answerswrite a program to return the highest value from a binary tree (note: not BST)
- VJ May 06, 2013 in India| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Algorithm Data Structures Trees and Graphs - 0of 0 votes
Answerswrite a program to validate a BST and state the complexity (assume payload is integer values)
- VJ May 06, 2013 in India| Report Duplicate | Flag | PURGE
VMWare Inc Member Technical Staff Algorithm Data Structures Trees and Graphs - 0of 0 votes
AnswersWhat is the use of interfaces in Java?
- mihirk February 08, 2012 in United States for Cloud Resource Management
Give a professional answer and not a simple one like they are used in place of multiple inheritance or they facilitate OOP in Java, etc..
Also can you do without interfaces?| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Java - 0of 0 votes
AnswersGive logic for implementing "diff" command in Linux.
- mihirk February 08, 2012 in United States for Cloud Resource Management
Consider various test cases and explain what will happen in each. The two files are source code and are huge..
For e.g.
File 1: 1-2-3-4
File 2: 1-3-4-2| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Algorithm Coding Data Structures Ideas Application / UI Design - 0of 0 votes
AnswersWe have an array or ArrayList which contains int numbers. Check to see the sum of any two elements is same as given target.
- JavaJavas April 20, 2011
{ 1,2,13,7,34,24,9,3....}
We need to find that sum of two number is suppose 11 and return index number for them....all possible combinations. In java| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Algorithm - 0of 0 votes
AnswerHow will you design a ticTactoe game using a 2-D array.
- davvy April 18, 2011| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer in Test Algorithm - 0of 0 votes
Answershow will you design google instant search? (suggestions when you type letters)
- davvy April 18, 2011| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer in Test Algorithm - 0of 0 votes
AnswersA class inherits Thread. All the methods are synchronized. If two objects are created then which one will get access to the class first?
- davvy April 18, 2011
Can you predict the order? why, why not? Explain wrt thread model.| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer in Test Java - 0of 0 votes
AnswersWhy is it fine to alter the data members' value of a final class?
- davvy April 18, 2011| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer in Test Java - 0of 0 votes
AnswersWhat is the difference between sendRiderct and forward?
- JavaJavas March 02, 2011
everyone knows the difference but now the main question is what happens to parameter which were sent in request and than either redirect or forward. Does the parameter remain in request or do we need to send again?| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Java