#### Question Details

[answered] Assignment 3: Due Date: November 16, 2016 - 11:00 PM Object

Can someone please help me with this assignment. I do not understand php.

Assignment 3: PHP.

Due Date: November 16, 2016 ? 11:00 PM Objective:

Through doing this assignment, it serves two important purposes:

1. Run these problems under PHP.

2. How to use XAMPP to run your own web server Problem 1:

1. Create a basic page in html. In this page we have:

a. Two radio buttons ?Mean?, and ?Median?.

b. Two buttons ?Compute?, ?Reset?.

i. Compute: The button is a compute button.

ii. Reset: The button is a reset button (resets the form-data to its initial

values)

c. And a box for entering an input (a list of numbers).

- A user chooses ?Mean?, Enters a list of numbers click on ?Compute?, the mean

value of the list should be computed. Or if the user chooses

2. Write a function named ?CalculateMean? that: Takes a list of numbers. And calculates

the Mean value.

Hint: The "mean" is the "average" you're used to, where you add up all the numbers and

then divide by the number of numbers. For example:

13, 18, 13, 14, 13, 16, 14, 21, 13

The mean is the average, so:

(13 + 18 + 13 + 14 + 13 + 16 + 14 + 21 + 13) ? 9 = 15

3. Write a function named ?CalculateMedian? that: Takes a list of numbers. And

calculates the Median value.

Hint: The "median" is the "middle" value in the list of numbers. To find the median, your

numbers have to be listed in numerical order, so you may have to rewrite your list first. For

example:

The median is the middle value, so we should rewrite the list in order:

13, 13, 13, 13, 14, 14, 16, 18, 21 There are nine numbers in the list, so the middle one will be the (9 + 1) ? 2 = 10 ? 2 = 5th

number:

13, 13, 13, 13, 14, 14, 16, 18, 21

So the median is 14. After computing the mean value: If the list contains an even number of values, then the median is the mean of the middle two values.

For example, if the list contains the following numbers:

10, 15, 20, 36

The middle two numbers are (15) and (20) so the median is (15 + 20) / 2 = 17.5 Problem 2:

1. Create a basic page in html. In this page we have:

a. Two buttons ?Compute?, ?Reset?.

i. Compute: The button is a compute button.

ii. Reset: The button is a reset button (resets the form-data to its initial

values)

b. And a box for entering an input (a string)

2. Write a function ?CountWords? that takes any string of characters and finds the number

of times each word occurs. You should ignore the distinction between capital and

lowercase letters. After Computing: Problem 3:

Create a basic page in html. In this page we have:

a. Four checkboxes corresponding to the following four programming languages:

b. Two buttons ?Submit?, ?Reset?.

i. Submit: The button is a submit button.

ii. Reset: The button is a reset button (resets the checkboxes) After clicking the submit button it should show just a one-columned table with just enough

rows to correspond to the number of checked programming languages. For example if C++

and Python are the only one checked (As shown above), then the column will show only two

rows (not more not less).

**Solution details:**

Answered

QUALITY

Approved

ANSWER RATING

This question was answered on: * Sep 18, 2020 *

* * Solution~0001005018.zip (25.37 KB)

This attachment is locked

We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free copy from our tutoring website www.aceyourhomework.com (Deadline assured. Flexible pricing. TurnItIn Report provided)

##### Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .

#### About this Question

STATUSAnswered

QUALITYApproved

DATE ANSWEREDSep 18, 2020

EXPERTTutor

ANSWER RATING

#### GET INSTANT HELP/h4>

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

- As a reference for in-depth understanding of the subject.
- As a source of ideas / reasoning for your own research (if properly referenced)
- For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).

#### NEW ASSIGNMENT HELP?

### Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions.
New orders are original solutions *and precise to your writing instruction requirements. Place a New Order using the button below.*

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN YOUR SET DEADLINE.