We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Client Side Scripting
Ultra V.IMP Questions
2 Marks
1. State the features of Javascript.
2. Explain the following types of operators in JavaScript, providing examples where applicable: i. Comparison Operators ii. Logical Operators iii. Assignment Operators (Explain any two in detail.) 3. Write JavaScript to create an object with properties and delete one of the properties. Example: Person or Student. 4. Write a JavaScript program to initialize an array with elements (e.g., flowers or colors) and display them. 5. Define a function in JavaScript with syntax, examples, and how to call a function with arguments from HTML. 6. Write a JavaScript to design a form to accept values for user ID & password. 7. State any two properties and methods of the location object. 8. Differentiate between session cookies and persistent cookies. 9. Write a Javascript program to check whether the entered number is prime or not. 10. Explain the following form events: (i) onmouseup (ii) onblur (Enlist any four mouse events with their use.) 11. Write a Javascript program to change the contents of a window. 12. Explain the frameworks of Javascript and its application. 13. Write a Javascript syntax for accessing elements of another child window. Page 1 of 2 14. State the use of method in javascript with the help of a suitable example. 15. List & Explain datatypes in JavaScript. 16. Write a simple calculator program using switch case in JavaScript. 17. Write a program using the sort method of the array object. 18. Describe property Getters & Setters. 19. Enlist & explain the use of any two Intrinsic JavaScript Functions. (List and describe any four methods of Math object) 20. State the ways to display the output in JavaScript. 21. State the meaning of each token of the following statement and describe it: (ii) document.bgcolor; 22. Write and explain the syntax of the prompt() method in JavaScript. 23. Differentiate between shift() and push() methods of an Array object. 24. State the meaning of "Defining a function". Explain with the help of an example. 25. Give the syntax of and explain the use of the small 'with' clause. 26. With the help of a suitable example, explain the Date object and any two methods of the Date object. 27. Write a JavaScript program that will print even numbers from 1 to 20 28. Write a JavaScript program to display the elements of array in ascending and descending order. 29. Explain the term JavaScript URL 30. State any four properties of Navigator object.