Assignments DE.Modules II

Handing In Assignments

You must hand in by using git

Hand In by git

  • Create an empty repo on bitbucket.org, gitlab.com, or github.com,
  • git push your local repo to the above remote repo.
  • For node assignments please put the line(s)

    node_modules/

    into your .gitignore file.

Send a mail to with:

  • The word 'handin <subjectname>' in the subject line of your mail
  • The url of your repo(s).

Assignment DE.Mod.11

In this assignment you must create two different git repos.

You will notice that the software in the second repo depends on the software in the first. This may cause some disturbance. I want you to write a short resume of this part on the work, what happened, and what you did to overcome it. When you are done, hand in both repos.

First repo

Create a Multiple Choice question. Such a question has several constituents:

The properties must be a category, an array of possible answers, the correct answer.

  • A category
  • The Question
  • A number of possible answers
  • The Correct Answer

When organizing this you may explore arrays inside arrays aka multidimensional arrays.

Then create a quiz as an array of Multiple Choice questions. The quiz must have a name. When a quiz is completed it must offer the result to the hosting page/application.

The necessary functionality has functions to pose the questions, print them on the page, record and score the answers, and so forth.

Last you must create an HTML5 page as a testcase for the quiz using the above. As much as possible must be stored in modules. The test page must host the quiz just by providing a script reference to it, and an empty area such as a div or a section where the quiz will live. For the test one or two questions should suffice.

Commit frequently until you are satisfied that the quiz works as planned and desired.

Second repo
Here you must create a website with a real quiz. This means creating a site with a front page, and a page with a quiz. This page must use the software developed for the first repo, and it must contains at least five questions, each with at least 3 answers, where one must be correct. All five questions must be related by category. The category must be one of JavaScript, Git, or HTML5.

Commit frequently until it works.