Yahoo Interview Question for Software Engineer / Developers






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

2. use-cases at detail

-User registers for his account
-User logs in with his credentials
-User adds/edits/deletes contacts
-User sends message to his contact
-User receives message from his contact
-User logs out of the server

Server side:
-User account added to account-list
-User credentials verified while logging in and session created if success
-User contacts are managed with three operations addition, deletion, modification
-User message is queued in his contacts message queue
-User is delivered message from his queue if any
-User session is deleted

- spiderman December 16, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

i need assistance,i want to design a chat server

- imoh abraham s April 26, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

pub/sub

- Joe October 25, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Ok, lets try to follow the following steps
analysis:
1. problem statement in detail
2. use-cases as per problem statement

design:
3. identifying classes/objects out of use-cases
4. identifying interactions among classes/objects
5. identifying attributes of classes/objects
6. refining with hierarchies of classes/objects

implementation:
7. introducing dynamic modeling

- spiderman December 16, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

1. problem statement in detail

Chat servers allows users to send message to other users and receives messages from other users.
Each user could have user account on chat server or can chat with guest login. The user account on chat server should allow users to manage his/her contacts.
Allowing to store chat history could be extra feature.
User should be able to login and logout.
User should be able to change his/her online status.

- spiderman December 16, 2012 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

2. use-cases at detail

-User registers for his account
-User logs in with his credentials
-User adds/edits/deletes contacts
-User sends message to his contact
-User receives message from his contact
-User logs out of the server

Server side:
-User account added to account-list
-User credentials verified while logging in and session created if success
-User contacts are managed with three operations addition, deletion, modification
-User message is queued in his contacts message queue
-User is delivered message from his queue if any
-User session is deleted

- spiderman December 16, 2012 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

3. identifying classes/objects by using use-cases

Account
Account-List
Session
Contacts
Message
Message-Queue
Contacts-Operation

- spiderman December 16, 2012 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

3. identifying classes/objects by using use-cases

Message-Operation(Send/Receive)

- spiderman December 16, 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