Object Oriented Design Interview Questions
- 0of 0 votes
AnswersExplain singleton.
- sathish.leo May 26, 2012 in United States| Report Duplicate | Flag | PURGE
Expedia Software Engineer / Developer Object Oriented Design - 1of 1 vote
AnswersDesign a multiple elevators system of skyscraper. Design an algorithm to let person find available elevator soon. How to improve your algorithm?
- terryocy April 27, 2012 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
Answersdesign a library for borrowing books and renewing
- Itcecsa April 16, 2012 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
Answersdesign a zoo with different types of animals and cages(type, size), some of them cannot be in same cage.
- Itcecsa April 16, 2012 in United States
how to represent relationship? what if lion eat 1 million different animals?| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 1of 1 vote
Answerscustomers want to buy some products but products are out of stock, design a system to notify them when those products are again available?
- Itcecsa April 16, 2012 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswerDesign DVD renting system, database table, class and interface
- Itcecsa April 16, 2012 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersSuppose you have a Lion class and you implemented a draw() function that draws the entire body of the lion. Now suppose you want to make a Tiger class, and the tiger is like a lion, but it doesn't have a mane and has stripes. How would you do this?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersGiven an ebay site model., you have to deal with auctioning of a particular item. Design the billing & auctioning system of the same.
- karthik579 March 16, 2012 in United States for Intern| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersWhat data structure to use for finding free parking spot in Parking Lot program? Assume there are million of parkings.
- sk February 22, 2012 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersWhy data members are private when we can access them through getter/setters?. Why can't we just make them public.[ How will you convince the interviewer]
- Mike February 18, 2012 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign pack of cards
- Annonymous January 10, 2012 in United States| Report Duplicate | Flag | PURGE
Object Oriented Design - 0of 0 votes
AnswersWrite efficient code for Singleton class. I wrote the double-checked locking version. Then he asked for other approaches specifically to reduce the number of lines of code :-/
- blue-j January 07, 2012 in United States for Global Foundation Services| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswerDo you know about design patters? What is Singleton?
- blue-j January 07, 2012 in United States for Global Foundation Services| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersFrom the following options, select a statement that is NOT true about immutable objects.
- balaaaji140 January 06, 2012 in India
You can use immutable objects in multi-threaded programs
You can use a pointer to create a reference copy of an immutable object, instead of creating a copy of the object
Immutable objects cannot be modified after they are created
An object has to be completely mutable or immutable but partial immutability is not very useful in programs| Report Duplicate | Flag | PURGE
Oracle Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersFrom the following options, select the OOP mechanism, that allows treatment of the derived class members just like the members of their parent class.
- jarvisalbert January 04, 2012 in India
Abstraction
Polymorphism
Decoupling
Encapsulation| Report Duplicate | Flag | PURGE
Oracle Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersYou have a class MyObject. What is the difference between the following statements::
- anony November 24, 2011 in United States
1) MyObject foo;
2) MyObject *bar;
3) MyObject *foobar = new MyObject();| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 1of 1 vote
AnswersExplain virtual function, up-casting and applications?
- shashaanktyagi November 12, 2011 in India| Report Duplicate | Flag | PURGE
Morgan Stanley Analyst Object Oriented Design - 0of 0 votes
AnswersDesign a deck of cards that you may use for poker? what are the classes and methods that you use.
- ajay.skootergofast October 29, 2011 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign a parking lot where cars and motorcycles can be parked.
- krithick.krishnagiri October 16, 2011 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersOO design for Vector Graphics Program.
- ashwini.raj17 September 09, 2011 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign a reliable communication for transaction based service. Any transaction performed by an application in distributed environment has to get committed with an external service.
- novice September 07, 2011 in -| Report Duplicate | Flag | PURGE
Amazon Object Oriented Design - 0of 0 votes
AnswersObject oriented design to implement Kindle's Whisper feature.
- Good Mann August 13, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign a web crawler that will crawl for links(urls).
- cracked but wasnt good enough July 27, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign Elevator Control system
- abcd July 15, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
Answersexpression tree design.
- pansophism June 29, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign a file system
- Itcecsa June 23, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersStatic Vs Singleton Pattern
- soni vashisht June 07, 2011| Report Duplicate | Flag | PURGE
Software Engineer in Test Object Oriented Design - 0of 0 votes
AnswersDesign all classes required for a game Cricket?
- King May 27, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design