Object Oriented Design Interview Questions
- 0of 0 votes
AnswersOnsite Interview (coding test) --
- The Hercules April 04, 2008
Q4) Implement a Singleton pattern as a template such that, for any given class Foo, I can call Singleton<Foo>::instance() & get a pointer to a singleton of type Foo. Assume the existence of a class Lock which has acquire() & release() methods. The implementation should be thread safe & exception safe| Report Duplicate | Flag | PURGE
Automated Traders Desk Software Engineer / Developer C++ Object Oriented Design Threads - 0of 0 votes
Answers2nd phone interview.
- abc January 04, 2008
1)what are static functions/variables
2)find the number of times an integer occurs in an array. write code.
3)what is operator overloading
4)what are virtual destructors
5)difference between linked list and array
6)database q's
7)basic unix q's grep ps| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersSay all amazon employees benefit valet parking in at the office. Model the parking garage with OOD to be able to tell me if it has some more spots, if it is empty, to park and retrieve a car.
- Dominator December 17, 2007
The question is intentionally vague for discussion purposes.| Report Duplicate | Flag | PURGE
Amazon Object Oriented Design - 0of 0 votes
AnswersTemplate vs. Inheritance. Why use one over the other?
- one2free December 06, 2007| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersCreate an object-oriented design for software that allows people to play the card game "War" over the internet. Include the classes, methods, and important variables and data structures in your description.
- wekingpro December 05, 2007| Report Duplicate | Flag | PURGE
Amazon Testing / Quality Assurance Object Oriented Design - 0of 0 votes
AnswersWhy is access to static variables not allowed from non-static methods in java?
- mclarenfan July 08, 2007| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Java Object Oriented Design - 0of 0 votes
AnswersHow is the memory layout in an object-oriented language like C++/Java different from the procedural language like C? In C, we store code and data in various segments like data segments, code segments, stack segments; What do we do in C++?
- DrEvil June 16, 2007
Define any class and tell me how will an object of that class be stored in memory?| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign the data structures for a file system
- Neil May 18, 2007| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign an BPO company.
- VN May 01, 2007
1. Company has 3 levels of employee, Fresher,TL,PM.
2. Any incoming call(telephone) has to be allocated to the Fresher who is fre.
3. Call has to be closed in 8hrs.
4. If fresher not able to handle the call, escalate the call to TL.
5. If TL not free or not able to handle escalate to PM.
6. When call is comming it shoulbe be assigned to the Fresher who is free at that time.
for above feattures put an class diagram in place.| Report Duplicate | Flag | PURGE
Philips Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign a musical Juke Box using object oriented principles.
- test April 30, 2007| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Object Oriented Design - 2of 0 votes
AnswersImplement a chess game using object oriented design methods.
- markm19 April 02, 2007| Report Duplicate | Flag | PURGE
Intel Object Oriented Design - 0of 0 votes
AnswersWhich is the best? Java or C#.
- Md. Tanvir Ahsan March 30, 2007| Report Duplicate | Flag | PURGE
Microsoft Analyst Object Oriented Design - 0of 0 votes
AnswersModel a chess game
- Loshloshlahoi March 07, 2007| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign a chat server
- chiranjib February 27, 2007| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Application / UI Design Object Oriented Design - 0of 0 votes
AnswersImplement a jigsaw puzzle in C++. Design the data structures and explain an algorithm to solve the puzzle.
- melody December 27, 2006| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Object Oriented Design Algorithm - 0of 0 votes
AnswersImagine you have a listing of student names and marks. Give the best data structure to store the same. Now imagine that you have range of student names starting from a to l, m to z. Use a data structure for such a layout.
- Sach (Sachin) December 22, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersWhat is Polymorphism?
- Programmer December 21, 2006| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswerDiscuss the important features of Object Oriented Programming
- Gayle L McDowell December 21, 2006| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersHow would you do a design of a monopoly game (later changed to a chess game)?
- Ano November 06, 2006| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersHow would you design a file system using class diagrams and what data structure would you use?
- Ano November 06, 2006| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersThere are two large tree (not binary) having n nodes deep and m nodes breadth. (m,n are arbitrary). Again each sub nodes have multiple nodes. Find the similar nodes that have the same data in both the trees using any data structure. Also optimize your algo if there are duplicate values.
- Peter November 06, 2006| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswerWhy is OO good?
- Jack October 28, 2006| Report Duplicate | Flag | PURGE
Hewlett Packard Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersDesign the classes and data structures for a parking lot
- vodangkhoa October 28, 2006| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design