0% found this document useful (0 votes)
44 views6 pages

Assignment

The document outlines the topics and questions covered in 6 units for a JavaScript programming course. The units cover basics of JavaScript, arrays/functions/strings, forms/event handling, cookies/browser data, regular expressions/rollovers/frames, and menus/navigation/web page protection. Example questions include how to display a welcome message, count vowels in a string, create a slideshow, and explain regular expression methods.
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)
44 views6 pages

Assignment

The document outlines the topics and questions covered in 6 units for a JavaScript programming course. The units cover basics of JavaScript, arrays/functions/strings, forms/event handling, cookies/browser data, regular expressions/rollovers/frames, and menus/navigation/web page protection. Example questions include how to display a welcome message, count vowels in a string, create a slideshow, and explain regular expression methods.
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/ 6

UNIT I [12 Marks]

Basics of JavaScript Programming


Explain any two/ four features of JavaScript?
2. Write a JavaScript to display Welcome message in JavaScript.
3. Explain the term – Object Name, Property, Method, Dot syntax,
main
event.
4. Explain six type of values in JavaScript.
5. What is conditional operator in JavaScript?
6. List the different types of operator in JavaScript. Describe any
one in
details.
7. List the different types of popup box. Explain any of it with example.
8. Write a JavaScript to display squares of 1 to 10 numbers using
while
loop.
Explain any two/ four features of JavaScript?
2. Write a JavaScript to display Welcome message in JavaScript.
3. Explain the term – Object Name, Property, Method, Dot syntax,
main
event.
4. Explain six type of values in JavaScript.
5. What is conditional operator in JavaScript?
6. List the different types of operator in JavaScript. Describe any
one in
details.
7. List the different types of popup box. Explain any of it with example.
8. Write a JavaScript to display squares of 1 to 10 numbers using
while
loop.
Explain any two/ four features of JavaScript?
2. Write a JavaScript to display Welcome message in JavaScript.
3. Explain the term – Object Name, Property, Method, Dot syntax,
main
event.
4. Explain six type of values in JavaScript.
5. What is conditional operator in JavaScript?
6. List the different types of operator in JavaScript. Describe any
one in
details.
7. List the different types of popup box. Explain any of it with example.
8. Write a JavaScript to display squares of 1 to 10 numbers using
while
loop.
Explain any two/ four features of JavaScript?
2. Write a JavaScript to display Welcome message in JavaScript.
3. Explain the term – Object Name, Property, Method, Dot syntax,
main
event.
4. Explain six type of values in JavaScript.
5. What is conditional operator in JavaScript?
6. List the different types of operator in JavaScript. Describe any
one in
details.
7. List the different types of popup box. Explain any of it with example.
8. Write a JavaScript to display squares of 1 to 10 numbers using
while
loop.
1) Explain any two/ four features of JavaScript?
2) Write a JavaScript to display Welcome message in JavaScript.
3) List the different type of operator in JavaScript. Describe any one in
details?
4) Write a JavaScript program that accept two integer and display the
larger?
5) Write a JavaScript program to construct the following pattern, using
a nested for loop?

6) *
7) * *
8) * * *
9) * * * *
10) * * * * *
*
**
***
****
*****
6) Explain the term – Object Name, Property, Method, Dot syntax,
main event.
UNIT II [14 Marks]
Array, Function and String
1) Define array.
2) How to declare array in JavaScript.
3) Write a JavaScript for sorting the array elements
4) Explain the use of join () function with examples.
5) Explain the use of push and pop functions
6) Write a short note on – associative array in JavaScript.
7) Explain the method of calling a function from HTML.
8) Write a JavaScript to convert string to number.
9) Write a JavaScript function to count the number of vowels in a given
string.
10) Write a JavaScript code to remove element from array using
splice method?

UNIT III [10 Marks]


Form and Event Handling

1) What is form? Explain two uses of forms?


2) Explain the use of button element with the help of example.
3) Design a simple HTML form for filling the information for
registration of a student.
4) What is event handler? Give an example of event handler in
JavaScript.
5) Explain various commonly used mouse Events and keyboard
Events in JavaScript.

UNIT IV [08 Marks]


Cookies and Browser Data

1) What is cookies? Explain how to create cookies in JavaScript?


2) Explain the functions getMonth (setMonth0, toGMTString ())?
3) Explain the use offocus () method for window object.
4) Write a JavaScript to change the contents of the newly created
window?
5) What is the use of setInterval0 function? Write a JavaScript to
Illustrate it.

11) Explain the term –


Object Name,
Property, Method, Dot
syntax, main
12) event.
13) Explain the term –
Object Name,
Property, Method, Dot
syntax, main
14) event.
15) Explain the term –
Object Name,
Property, Method, Dot
syntax, main
16) event.

UNIT V [14 Marks]


Regular Expression, Rollover and Frames

1) Define the term - Regular expression.


2) Explain any four commonly used methods in regular expression.
3) How to match digits and non-digits characters? Explain with
example.
4) What is rollover? How to create rollover? Explain with example?
5) How to perform multiple actions by using rollover? Explain with
Example.
6) What is Frame? How to create Frame? Explain with example?

UNIT VI [12 Marks]


Menus, Navigation And Web Page Protection

1. What is the use of status bar in a web application?


2. What is banner ? Write a JavaScript to create and display banner
3. What is slide show? Write a JavaScript to show the creation of
slide show.
4. Explain with suitable example how to create a pull down menu.
5. What is dynamic menu? How to create dynamically changing
menu in JavaScript.

6. What is slide show?


7. 11. Write a JavaScript
to show the creation of
slide shWhat is slide
show?

You might also like