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 the Ruby programming language, the Sinatra DSL, and the SQLite RDBMS via the Active Record design pattern. The user interface must be intuitive and easy to use.
# Final Project: Design Patterns Quiz App # Date: 01-Dec-2014 # Authors: # A00456654 Thursday Rubinstein # A01160611 Anthony Stark
Place in one tarball file called quizapp.tgz
all the contents of your project. If the project was developed by a team of two people, only one person is required to deliver it.
To deliver the quizapp.tgz
file, please provide the following information:
Due date is Monday, December 1.
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. |