SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 307 Weeks Ago, 3 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 03 Dec 2017 My Price 10.00

labtest questions!! It's about javascript problems,

I got 3 past labtest questions!! It's about javascript problems, it required to write math functions. It's really bother me, I don't know how to write it. Please help!! w..u@gmail.com is my email address, please send files to my email address.

Create a directory labtest1.1 under the server directory on your virtual machine. Within that directory create the html file index.html. This should be an HTML5 formatted file, with the following elements and text defined. Note: solutions that use jQuery constructs will receive a grade of zero for that portion of the solution.

1.     Links to an external JavaScript file q1.js in the same directory as index.html.

2.     Contains a button with the text "ClickMe" (no quotes) that will invoke the callback function "go()" when the button is clicked.

3.     Contains a div with id "output" (no quotes) which contains the text "Change Me". (no quotes)

4.     When the ClickMe button is pushed, the text in the HTML element with id "output" should be updated as follows using the JavaScript code in q1.js. The "output" div should be replaced with 10 lines of output. Each line should display two numbers separated by a space. The first number should be the line number starting with 1. So the numbers 1, 2, 3, 4... and so on. The second number should be the factorial of the line number. (n factorial is 1 * 2 * 3 * ... * n.) That is, the numbers 1, 2, 6, 24, ... and so on. Your code must compute these numbers.

5.     Create a zip file of all of the contents of the directory labtest1.1 called question1.zip and upload this zip file to the moodle 'assignment' associated with this labtest.

Create a directory labtest1.2 under the server directory on your virtual machine. Within that directory create the html file index.html. This should be an HTML5 formatted file, with the following elements and text defined. Note: solutions that use jQuery constructs will receive a grade of zero for that portion of the solution.

1.     Links to an external JavaScript file q2.js in the same directory as index.html.

2.     Contains a button with the text "ClickMe" (no quotes) that will invoke the callback function "goes()" when the button is clicked.

3.     Contains a div with id "output" (no quotes) which contains the text "I will be changed". (no quotes)

4.     When the ClickMe button is pushed, the text in the HTML element with id "output" should be updated as follows using the JavaScript code in q2.js. The "output" div should be replaced with 20 lines of output. Each line should display a number, followed by a space, followed by a number of asterisks (*). The first number should be the line number starting with 1. So the numbers 1, 2, 3, 4... and so on. The number of asterisks on line i should be i. That is, the first line should have 1 asterisk, the second line 2 asterisks, and so on.

5.     Create a zip file of all of the contents of the directory labtest1.2 called question2.zip and upload this zip file to the moodle 'assignment' associated with this labtest.

Create a directory labtest1.3 under the server directory on your virtual machine. Within that directory create the html file index.html. This should be an HTML5 formatted file, with the following elements and text defined. Note: solutions that use jQuery constructs will receive a grade of zero for that portion of the solution.

1.     Links to an external JavaScript file q3.js in the same directory as index.html.

2.     Contains a button with the text "ClickMe" (no quotes) that will invoke the callback function "goNow()" when the button is clicked.

3.     Contains a div with id "output" (no quotes) which contains the text "Change Me". (no quotes).

4.     When the ClickMe button is pushed, the text in the HTML element with id "output" should be updated as follows using the JavaScript code in q3.js. The "output" div should be replaced with 100 lines of output. Each line should display two numbers separated by a space. The first number should be the line number starting with 0. So the numbers 0, 1, 2, 3, 4... and so on. The second number should be see the table below(I don't know how to express this rule.. That is, the numbers 0, 1, 3, 6, 10... and so on. Your code must compute these numbers.

5.     Create a zip file of all of the contents of the directory labtest1.3 called question3.zip and upload this zip file to the moodle 'assignment' associated with this labtest.

0    0

1    1    (1-0=1)

2    3    (3-1=2)

3    6    (6-3=3)

4    10 (10-6=4)

5    15   (15-10=5)

6    21   (21-15=6)

7    28   (28-21=7)

Attachments:

Answers

(5)
Status NEW Posted 03 Dec 2017 01:12 PM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)