You are on page 1of 2

LAB MANUAL

SCRIPTING LANGUAGE

JANA BHAWANA CAMPUS

DEPARTMENT OF
BACHELOR IN COMPUTER (BCA)

Year & Semester: II Year / IV Semester


Faculty: Er. Santosh Bhandari
Unit 1: JavaScript
1. Write a JavaScript program to create a dictionary with 30 words
2. program to find the factorial of a number
3. Write a JS program to Convert temperatures to and from Celsius, Fahrenheit
Formula: Fahrenheit to Celsius: (°F − 32) ÷ 1.8 = °C
Celsius to Fahrenheit: (°C × 1.8) + 32 = °F
4. Write a JavaScript program to print the list of array values in the reverse order
5. Write a JS program to print maximum and minimum numbers from the array
6. write a JS program to calculate simple interest.
7. Write a JS program to create a signup form with proper validation.
8. Write a JavaScript Program to store a cookie in the browser.
9. Create and validate the form with following input (Name, Email, Phone, Password, Date of birth)
using regular expressions based on user input. The validation criteria are as follows:

10. Write an html program to create form to input name and email using get and or post method
and write a php program to retrieve the input using $_get and or $_post and or $_Request
method.
11. write a php program to upload image to the server.
12. write php program to set session value in to the server using session.
13. write PHP program to set cookie value in the server
14. Write a php program to create table in the database, insert values to the table, and retrieve the
values from the table. (Consider the table columns as (ID, Name, District, email, phone).
15. write php program to create a class and objects and perform addition and subtraction operation
using method.
16. write a program to create a class and inherit its property from another child class.
17. Write a php program to create your own exception and handled it.
18. Write program to hide and unhide image using jQuery

You might also like