Friend Quiz
Friend quiz is a quiz application where it will display number of quizzes related to your friends.In this application it will display random question for random friends,you will be able to publish you
 
Case Study : Friend Quiz
Overview
The purpose of this document is to describe the requirements for a �Friend Quiz� Facebook application. The application will allow users to answer multiple choice questions about their friends. Users will accumulate points for answering questions and responding to commercial offers. The points will be �spent� to show the user the answers for the questions that their friends answered about them.

The primary user actions will be:
1) Answer questions about friends
2) View friend�s answers
3) Invite friends to answer questions
4) Respond to commercial offers
5) Suggest questions

Points
There are two ways a user can collect points:
1) Answer questions in the �take quiz� tab (user receives one point per answer)
2) Respond to commercial offers in the �get points� tab (points depend on the offer)

Users will spend the points to reveal their friend�s answers. Each �reveal� will cost the user 25 points.

The user�s current point total will always be displayed in the upper right portion of the page.

The users will be encouraged to complete 50 questions per session (via the running count next to the �submit� button). If the user completes 50 questions in one session, they will get 20 bonus points.

Obviously, it is important to minimize the chances of users hacking into the system and artificially increasing their point total. The provider will be expected to suggest a secure manner to store/update/manage points.

Question selection
Users will be expected to answer a number of questions per session. For this reason, it is important that the system present more �valuable� questions to the users at the beginning of the session. The value of the question is defined as the ratio of the number of times the question�s answer has been �revealed� over the number of times the question has been answered. In other words, the system should present the questions somewhat randomly, but give preference to questions whose answerer has been revealed more often.

The question selection algorithm should follow a few additional rules:
-a question can only be repeated after 10 other questions have been presented to the user
-a friend (who the question is asked about) can only be repeated after 25 other friends have been presented to the user (unless the user has fewer than 25 friends).

Notifications

As a user answers questions, there are two ways that their actions will be communicated to their network of friends:
1) Notification sent to the person the question was asked about. The format of the notification will be as follows:
a. � answered a question about you using the Friend Quiz application. See their answer�
i. If the user clicks on the �Friend Quiz� link, they will be taken to the �take quiz� tab of the application. If the user clicks on the �see their answer� link, the user will be taken to the �your results� tab (after they install the app, if necessary).
2) The question is placed on the user�s friend�s profile as a poll. This is only done if the user does not uncheck the �publish this question as a poll� after answering the question (and clicks through the �publish story� approval pop up). The format of the story will be as follows:
a. posted a poll about . . Answer this question. (include a �comment� and �link� link below the story)
i. If a user clicks on the �answer this question� link, they should be taken to the �take quiz� tab with the same question being asked about the user.