Tuesday, 24 May 2016

JavaScript Frequently asked Example Programs

Hi My Dear Blog Readers,
Here i would like to listed JavaScript Frequently asked Example Programs which is commonly faced in regular real time implementations as well as most frequently faced in Interviews too...



1.Implement a Javascript Program that to displays an integer value as weight.If needed only 1 decimal point is allowed

2.Implement a Javascript Program that to accept an integer value as a input and check whether the given number is Even/Odd number


3.Implement a Javascript Program that to take four text boxes side by side and provider provision to the user to only 4 digits in a text box once 4 digits is completed automatically 5th digit is entered in the next box.


4.Implement a Javascript Program with OnReset event handler


5.Design the form as below and calculate the total amount using JavaScript Program

ITEM NO.
PRODUCT CASE/PACK CASE PRICE QTY TOTAL
63732 10116 JavaScript Basics 12/16 OZ. 69.95
63732 10216 Watch 12/16 OZ. 74.95
63732 10316 Tea Shirt 12/16 OZ. 69.95
63732 10416 Wallet 12/16 OZ. 69.95
63732 10516 Note Pad 12/16 OZ. 69.95
MIXED CASE Pen 12/16 OZ. 74.95
SAMPLE PACK Dictionary 12/16 OZ. 74.95
 Total



6.Implement a Javascript Program caluclate the sum of digits from 1 to n where 'n' is the input from the user


7.Implement a Javascript Program automatically make a field upper case. Enter a field then tab out of it. It will become upper case.


8.Implement a following Javascript Program

Enter 10 in field 1 then 20 in field 2 press answer. This should give result 30

Change the operation from + to each of the others ( -, /, * ) in turn and press answer.
=
9.Implement a Javascript Program that to use of slice() method

10.Implement a Javascript Program to display a 5 table
E.G: 5 * 1 = 5
5 * 2 = 10
5 * 3 = 15

11.Fibonacci Series JavaScript Program 

12.Get the value From one field to another Field using JS

13.Form Validation JS

14.Implement a JS Program related to Pop up

15.Implement a Js Program to print current Day by using Switch Case

16.Implement a Js Program to print 1 to n Prime Numbers

17.Check whether the given number is Even/Odd

18.Implement a Palindrome JS Program


No comments :

Post a Comment