COMP 2406 Client-side programming with Javascript
Client-side programming with Javascript
项目类别:计算机

Hello, dear friend, you can consult us at any time if you have any questions, add  WeChat:  zz-x2580


COMP 2406


Assignment 

Client-side programming with Javascript

Submit a single zip file called assignment1.zip.

This assignment has 100 marks.

You should read the marking scheme posted on cuLearn for details.

Assignment Background

In this assignment, you will develop a web page that allows the user to play a trivia game within the browser. Everything you implement for this assignment will involve client-side programming. The final part of the assignment will require you to request additional information from an online web service.

To begin the assignment, download the trivia.js file from cuLearn. This file contains a dataset with six sets of trivia questions, stored in the object ‘tests’. The tests object contains six keys, each representing the name of a test, and each of the associated values contains an array of objects representing the questions associated with that test. Each question object has the following format:

{

“category”: string representing the category of the question, “type”: string representing the type of the question, “difficulty”: string representing the difficulty of the question “question”: string representing the question text, “correct_answer”: string representing the correct answer, “incorrect_answers”: array of strings representing the incorrect answers (note: there are a varying number of incorrect answers in some questions)

}

Before starting your design for the assignment, you are encouraged to read through the entire specification. It is possible that later questions will inform your design decisions and by preparing in advance, you can avoid having to significantly refactor your code as you progress through the assignment.

留学ICU™️ 留学生辅助指导品牌
在线客服 7*24 全天为您提供咨询服务
咨询电话(全球): +86 17530857517
客服QQ:2405269519
微信咨询:zz-x2580
关于我们
微信订阅号
© 2012-2021 ABC网站 站点地图:Google Sitemap | 服务条款 | 隐私政策
提示:ABC网站所开展服务及提供的文稿基于客户所提供资料,客户可用于研究目的等方面,本机构不鼓励、不提倡任何学术欺诈行为。