One97 Interview Question for Software Engineer / Developers






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

a lock that is dead or not working is a deadlock

- Anonymous December 18, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

lol...nice way to get ur job.

- stupid February 05, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

are u here to do jokes

- Learn Android: http://learnandroideasily.blogspot.in/ June 15, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

there`s nothing to think about, it`s a book question

- Anonymous December 18, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

when a Process is waiting for resource which is held by some other waiting Process.
It should follow 4 conditions.

1.Mutual Exclusion.
2.Hold and Wait.
3.No preemption.
4. Circular Wait.

- PKT January 08, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

there is a way to prevent deadlock by leasing locks. That way, after the lease period is expired the lock will have to be relinquished.

- svs February 03, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Actually lease period has to be random too.

- Anonymous February 06, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This lock is dead. It has ceased to be.

- FireDragons February 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

If possible, create a directed graph of processes and resources acquired by them.. and then remove cycles.. cycles correspond to circular deadlock..

- s May 23, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

making the directed graph of processes may result in starvation of same process.
what if each time a process"b" is removed from cycle in this way process b is never executed.
there must be waiting time given for process execution .. if it doesn't then roll back should be done on priority basis.

- Abhijeet June 19, 2012 | Flag


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