Yahoo Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




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

1) The front-end. A web page containing a form. The form should have the necessary input fields such as first name, last name, street address, city, etc.

2) You will need to implement some kind of input validation. You can use JavaScript to ensure that a user doesn't leave require fields blank and that a input field contains the correct type of data.

3) Let's start with the back-end. Assuming that the address book is for US only. You would need a database with a table containing columns for last name, first name, street address, city, zipcode.

4) A server side script (PHP, Python, Ruby, Java etc.) to connect to the database and insert the data received from the user.

- Anonymous October 08, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

1. Understand the requirements, User flow
2. Data structures / modeling
3. Algorithm design / UI
4. Testing

1. Requirements: Address book web application, so the user comes to a website (login? fcbk/google login?) use fcbk/google login api? loads them up, info about each field
- name
- phone
- address
- email
- bla bla
Target users? segments of customers
Timeline of project / resources
technology (LAMP, servers etc)
Functional documents, wants / wishes etc

2. MySql DB, table of users, table of addresses

3. address page, login page, user dashboard -> addresses

4. UI manual tests, jasmin JS tests, Server stress tests, User feedback and A/B testing, browser monitoring, eventing etc

- agati November 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Hi Everybody,

The design could better be achieved with the following steps one by one

1. problem statement
2. system structure
analysis and design:
3. identifying all the objects
4. preparing data dictionary for identifying association among objects
5. identifying association
6. identifying attributes
7. refining with inheritance
implementation
8. dynamic modeling
9. functional modeling

1.problem statement:
Developing web address book app
Use cases:
*User should be allowed to add

3. identifying all objects with noun and verbs from use-cases

Noun:
*User
*Address-book
*Storage

Verbs:
*Edit-operation
*Delete-operation
*Add-operation
*Search-operation

4. Data dictionary
*User - User adds/edits/deletes/searches his/her address book.
*Address-book: Address book consists of addresses.
*Storage - Persistently stores the address

5. identifying association:

User ->(adds/edits/deletes/searches)->address-book<>->(consists of)->addresses

6. identifying attributes
User: name
Address: name, address, phone number

7. refining with inheritance

User->operation->address-book<>->(consist of)->addresses

operation
->add
->delete
->edit
->search


This is one effort, lot of missing things can be added.

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

if you detailed the use-case like the below:
1.user logs in to his account
2.user adds/deletes address to his address-book
3.user edits address of his address-book
4.user logs out from his account

you will get objects like
user, account, address, address-book

- wolverine December 01, 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