Student Learning
Home
(current)
Aptitude
Class
FYBCA
SYBCA
TYBCA
Reading
About
FeedBack
Search
A1. Write a JavaScript function to validate email-id using regular expression.
A2. Write a JavaScript program for accepting name and mobile number from user and perform following validation:
i. Check all fields should not contain a nullvalue
ii. Check name field contains onlyalphabets
iii. Mobile No. field should be of 10 digitslong.
A3. Write a JavaScript program to compare the values of password and confirmed password field and display message accordingly. Also perform the validation to check any of the field should not beempty.
B1. Write a JavaScript program to read employee detail sandgener at payslip which will calculate net salary of an employee.
B2. Write a Java Script program to design Customer Account Details Form and perform validation on pan number field. (pan number is of only 10 characters long, out of which first 5 characters are alphabets, next 4 characters are digits and last character is alphabet)
B3. Design a form to accept product name, quantity, rate and discount for the product purchased by the user. Write a JavaScript code to calculate total bill. If quantity is less than 5 then there is any discount, Ifquantity is greater than 5 and less than 25 then discount is 5%, If quantity is greater than 25 and less than 50 then discount is 15%, If quantity is greater than 50 discount is20%.
C1. Write a JavaScript code to change the background color of the webpage.