VMWare Inc Interview Question for Quality Assurance Engineers


Team: QATeam
Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
1
of 1 vote

My guess.. Allow me to be creative! Could we use it to enforce security? We design a system such that if certain sequence of operations are performed, there occurs a deadlock and the entities involved in the deadlock are terminated.

- Noobie August 07, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

Suppose a computer has three CD drives and three processes. Each of the three processes holds one of the drives. If each process now requests another drive, the three processes will be in a deadlock. Each process will be waiting for the "CD drive released" event, which can be only caused by one of the other waiting processes.

- naps May 04, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

we can use a deadlock where it's negative effects are far less than it's positive effects. Like
If i start my car in the morning, My smart car monitoring system can stumble into deadlock and just wont let me start. Deadlock reasons should be seriously good.
Please provide better example

- hilleybilley September 07, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Dead lock are very common. When Its costly to remove deadlock then to let it occur.
We can use deadlock.

- Omor September 20, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I guess even this one could also be a scenario.
Suppose if i start my car using my authentic key, it should start and move on.
Else if someone else start using the illegal key, then it should enter deadlock state, so that car should not start or , if started should fail to move forward.

- rajh June 15, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

You should "use" deadlocks when writing automated testing code for a component that has deadlock prevention, to make sure that the prevention mechanism works

- Eusebio Rufian-Zilbermann September 13, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I think this would be a good answer to such a question in the interview:

If you hate your manager, you can write a complex code that will cause deadlocks.
This will be your revenge.

- Leo July 24, 2015 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More