logo

Crowdly

Browser

Add to Chrome

CSIT884 (IA25[1]) Web Development

Looking for CSIT884 (IA25[1]) Web Development test answers and solutions? Browse our comprehensive collection of verified answers for CSIT884 (IA25[1]) Web Development at moodle.uowplatform.edu.au.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Create a webpage and on the webpage display

  • a text field "Enter a number"
  • a div containing a frog emoji
  • 2 buttons "Start Animation" and "Stop Animation"
Whenever the button "Start Animation" is clicked, every second, the website displays either your information or an equation in the emoji div.

The example below illustrates how the animation should work:

Suppose the user enters a number 50 in the text field and clicks the button "Start Animation", the web page removes the frog emoji from the div and displays the equation 50 + 1 = 51 in the div.

Then a second later, the web page removes the equation and displays your full name in the div.

Then a second later, the web page removes your name and displays the equation 50 + 2 = 52 in the div.

Then a second later, the web page removes the equation and displays your full name in the div.

Then a second later, the web page removes your name and displays the equation 50 + 3 = 53 in the div, etc...

Whenever the button "Stop Animation" is clicked, then the web page stops the animation, your information and the equation are removed from the web page and the original frog emoji is displayed in the div.

Note that in this animation, you must use YOUR OWN information. If your information is wrong then you will not get marks.

View this question

Write code for a website, and on the website display:

  • 3 text fields (one on each line) with instruction labels 'Enter 1st positive integer', 'Enter 2nd positive integer', and 'Modulo 10 Result'.
  • A red word "Do calculation"
  • A div that displays your full name in orange color.
Whenever the user enters 2 numbers in the text fields and moves the mouse over the word "Do calculation" then display an equation in the div (the div that used to display full name).

The equation looks like this

your student number + number1 + number2 = result,

where the 2 numbers are entered by the user in the text fields. The equation must be in orange color.

Take the result and perform a modulo 10 and then display the modulo 10 result in the above text field.

You must use YOUR OWN information. If your information is wrong then you will not get marks.

Here is an example. Suppose your student number is 1234567, and the user enters two numbers 50 and 20 in the text fields, then the equation is

1234567 + 50 + 20 = 1234637

Take this result and do modulo 10, then 1234637%10 = 7, so display number 7 in the text field 'Modulo 10 Result'.

View this question

Write an XML document that represents the following information.

  • Apart from the 3 given records, in your XML document, you need to add 3 more records with some random information;
  • If the information contains some list/array, you need to use an element to represent that list/array.
View this question
Create a webpage to display a web form for the fictional "Fitness First" organisation. 

The "Fitness First" organisation offers online scheduling of fitness classes. The back-end service is running at (the fictional URL) http://www.FFirst.com/request and it accepts GET request with the following parameters:

  • clientID: this parameter is to specify the ID of the client
  • centre: this parameter is to specify the fitness centre
  • class: this parameter is to specify the requested fitness class, and the acceptable values are:

    • 100: aerobics 
    • 101: yoga
    • 102: boxing

  • time: this parameter is to specify the user's preferred day&time, and the acceptable values are:

    • mon: Monday 8am
    • tue: Tuesday 4pm

    • wed: Wednesday 5pm
    • thu: Thursday 7am

Create a web form with the following requirements:

- Use table arrangement so that the webform looks presentable to the users

- Use a text field: for the client ID

- Use a text field: for the fitness centre

- Use 3 radio buttons: for the fitness class

- Use a drop-down selection: for the user's preferred day&time

- The webform has 2 buttons: one for submit and one for reset the form

- The webform must explicitly specify the correct action and method.

View this question
Display 3 text fields for the user to enter a book title, a product code, and a quantity. When button is clicked, display information in an unordered list. Display the total number of books ordered.

pix

View this question
Create a web page Question4.html that looks like the following:

pix

Copy and paste the JSON from Question 3 into the text area. When the button is clicked, read the JSON in the text area and construct a subject object. Extract the information from the subject object and display them in the text fields and the checkbox.

The program does not need to handle user input error.

View this question
Create a web page Question3.html that looks like the following:

pix

When the user clicks the button, read the information entered by the user and construct a subject object. Construct the JSON of the object and display it in the text area.

The program does not need to handle user input error.

View this question
Write a JSON document called Question2.json that represents the following student record:

pix

View this question
This is the content of a JSON file which contains several errors.

{

"firstName": "John",

"lastName": "Smith",

[

{

"code": "MATH101",

"title":"Algebra"

},

{

"code":"CSIT122",

"title":"C programming"

}

],

age: 23

}

Your task is to identify these errors and correct them.

Save your correct JSON code into a file called

Question1.json.
View this question
Copy the code from q3.xml to q4.xml

.

In q4.xml, write the corresponding internal DTD.
View this question

Want instant access to all verified answers on moodle.uowplatform.edu.au?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome