[SOLVED] CS213 Assignment 3-JavaScript Functions, Objects and Arrays

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment-3-yu2w9k.zip (82.1 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

1. calculator.html
Develop a calculator with basic functions like addition, subtraction, mul- tiplication, division. One should be able to clear the values also, so that it is reusable.

For this we are expecting six (activity buttons) : addition, subtraction, summation of numbers up to n, multiplication of numbers up to n, = (to see the result of any calculation), and clear button(to clear the data, this may have different name).

Other buttons are for ten digits : 0-9; in total 4 + 10 + 2 = 16 buttons, if you want more you can use it.

Check if the calculations are correct for at least 4 digit numbers. What we are looking for is, we should be able to do a sequence of computations like this 123+456−456−32−2+12.
Associativity of operators should be correct.

1

  1. Create a webpage that takes a string as input, on button click, computes the most frequently occuring character and displays the output in the following format:
    Input: a,b,a,c,a,g,a,d,a,r,a,f,a,u

    Output:
    Most Frequent character: a Number of occurences: 7

  2. Develop a web-page to perform the following:
    1. (a)  Accept the details of the User : Name, Address, Phone Number, Email ID, Educational Qualifications, Age, using suitable input ele- ments.
    2. (b)  On clicking submit button, call function display().
    3. (c)  Design the function display() such that , it will show the submitted information in a table, in the following format:

    Create class User with properties as mentioned above, and function dis- play().

User.Name:

Kumar

User.Address:

FirstStreet

User.Phone Number:

9999999999

User.EmailID:

User.Educational Qualifications:

B.Tech

User.Age:

19

2

  • Assignment-3-yu2w9k.zip