During this activity, students should be able to:
This activity helps students develop the following skills, values and attitudes: ability to analyze and synthesize, capacity for identifying and solving problems, and efficient use of computer systems.
This activity must be solved individually or in pairs.
Write a web application that allows testing the user about her/his knowledge on design patterns. The application must allow the user to select how many questions (between one and ten) she/he wants to answer. The questions must be selected randomly from a bank of at least 30 multiple choice items. All questions must be related to design patterns or antipatterns, and must be taken from any of the following resources: [Olsen], [Gamma] or [SourceMaking].
Each question should appear by itself in its own page. Once the user answers the question, the application must give the user the corresponding feedback, indicating if the answer was right or wrong, and displaying the correct answer if the user's choice was wrong. Once all questions have been answered, the application must display the final score, and give the user the option to restart it.
The application must be developed using Ruby on Rails 3.1. The model must be implemented using ActiveRecord over a relational database. The user interface must be intuitive and easy to use.
Place in one tarball file called quizapp.tgz
all the contents of your project and deliver it using the Online Assignment Delivery System (SETA). No assignments will be accepted through e-mail or any other means.
IMPORTANT: All the Ruby source files must include at the top the authors' personal information (name and student id) within comments. For example:
# ITESM CEM, November 28, 2011. # Ruby Source File # Activity:: Final Project: Design Patterns Quiz App # Authors:: 456654 Anthony Stark # 1160611 Thursday Rubinstein . . (The rest of the program goes here) .
Due date: Monday, November 28.
This activity will be evaluated using the following criteria:
-5 | The program doesn't contain within comments the authors' personal information. |
---|---|
DA | The program was plagiarized. |
20-50 | The program doesn't work, but it seams that some significant amount of time was spent in it. |
60-90 | The program works, but has some flaws. |
100 | The program works as requested. |