Amazon Interview Question for Software Engineer in Tests






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

Class Design
-------------
Car class: CardId, Make, Model, Color, 4 door\2 door, Remote key, IsReserved, rental price,
Customer Class: First Name, Last Name, Address, Phone num, ...

Reservation class: CarId, PerSon Name, number of days reserved

Test Cases:
1. Try to reserve a car for more than one person
2. Try to reserve a car which is sold out
3. Verify the check out process. After checking out a particular, you should be able to reserve it for another customer.
4. Try to reserve the same car for different customers in different dates

- Sadineni.Venkat February 14, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

One of test case :
Continue the registration for a car already occupied, if an occupied car is stuck in the traffic/ some other problems, in that case the person currently own it needs to reserve it for more time. in this case the next person in line waiting for this car should get allotted another car

- Appy July 19, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Base car class
Derived car classes: luxury, middle, economic
Pricing policy class
Customer class: name, address, phone numbers
Payment class: credit cards
Shopping cart:
Bill class: customers --- payment

Reservation class: car, customer, bill

- Anonymous March 14, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

good one

- viv August 31, 2010 | 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