0% found this document useful (0 votes)
22 views1 page

Important Questions Document

Norhing

Uploaded by

Bhaskar Jadhav
Copyright
© © All Rights Reserved
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
0% found this document useful (0 votes)
22 views1 page

Important Questions Document

Norhing

Uploaded by

Bhaskar Jadhav
Copyright
© © All Rights Reserved
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/ 1

Important Questions from 22519 Previous Year Papers

Unit I: Basics of JavaScript Programming


 1. Explain the features of JavaScript.
 2. Write a JavaScript program to check if a number is prime.
 3. Explain the use of if-else and switch-case statements with examples.
 4. Write a program to calculate the factorial of a given number using a loop.
 5. Discuss primary expressions in JavaScript.

Unit II: Array, Function, and String


 1. Define an array and explain how to declare and initialize it in JavaScript.
 2. Write a program to find the largest number in an array.
 3. Explain the concept of scope in JavaScript functions.
 4. Write a JavaScript program to convert a string to uppercase.
 5. How is recursion implemented in JavaScript? Explain with an example.

Unit III: Form and Event Handling


 1. What are form events? Give examples of common form events in JavaScript.
 2. Write a program to validate a user registration form with a name and email field.
 3. How do you dynamically change the attributes of form elements using JavaScript?
 4. Explain the difference between mouse and keyboard events.

Unit IV: Cookies and Browser Data


 1. What are cookies in JavaScript? Explain how to create, read, and delete cookies.
 2. Write a JavaScript program to store user preferences using cookies.
 3. Discuss the security concerns associated with cookies.
 4. Explain how to open and close browser windows using JavaScript.

Unit V: Regular Expression, Rollover, and Frames


 1. Write a JavaScript program to validate an email address using a regular expression.
 2. What is a rollover effect? Write a program to demonstrate it.
 3. Explain the concept of frames in JavaScript with an example.

Unit VI: Menus, Navigation, and Web Page Protection


 1. How do you create a dynamic dropdown menu in JavaScript?
 2. Write a program to create a simple image slideshow using JavaScript.
 3. How can JavaScript be used to disable the right-click functionality on a webpage?
 4. Discuss different types of JavaScript menus with examples.

You might also like