Amazon Interview Question for Software Engineer in Tests


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




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

The question itself is not clear.. The sentence seems like debugged statement rather than statement to be debugged...

The question must have been different.. much like "there is a alarm set in mobile but it does not trigger" Debug this situation...

Please confirm

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

The mentioned question is what they had asked me. How will u debug when alarm is set then mobile is getting switched off.

- Anonymous August 24, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

This can be solved in logical manner , there are 3 parameters we can consider
1. Mobile Alarm
2. Mobile On / Off State
3. Mobile Current Time

When all 3 parameters satisfy the Alarm will ring in all other cases it should fail.

- Rocky September 08, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

I guess its not very difficult. Though the device is off but its not really OFF. There is certainly some process taking care to send an interrupt at the time alarm is set. So probably the easiest is to log the steps you want to debug and you can start from the time the interrupt is sent to device.

- Jatin Kumar January 02, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1) Check whether mobile is switching off when set at any particular time period or AM/PM
2) Check the log files of device after downloading android SDK (if its android)
3)check if the alarm app is compatable with the OS config
4)check compatability with mobile
5)Check if the app is working in some other device of same config
6)Check some other device of difference config
8)Check whether mobile resources( is having enough space)

- Chanthini April 09, 2020 | 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