0% found this document useful (0 votes)
2 views

Questinos Css

Imp css qns to solve

Uploaded by

janhavi1292006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Questinos Css

Imp css qns to solve

Uploaded by

janhavi1292006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

2Marks Questions:

List any four features of Java script.

Write and explain syntax of prompt() method in JavaScript.

Write a Java script that initializes an array called flowers with the names of 3 flowers. The script then displays
array elements.

Write Java script to call function from HTML.

Write Java script to create person object with properties firstname, lastname, age, eye color, delete eye color
property and display remaining properties of person object.

Enlist any four mouse events with their use.

State the ways to display the output in JavaScript.

List the comparison operators in Java script

Differentiate between shift() and push() methods of an Array object.

State the meaning of “Defining a function”. Explain with the help of an example.
Write JavaScript to create a object “student” with properties roll number, name, branch, year. Delete branch
property and display remaining properties of student object.

Explain following form events : (i) onmouseup (ii) onblur

4Marks Questions:

Explain getter and setter properties in Java script with suitable example.

Write a javascript function that accepts a string as a parameter and find the length of the string..

Write JavaScript code to perform following operations on string. (Use split() method) Input String : “Sudha
Narayana Murthy” Display output as First Name : Sudha Middle Name : Narayana Last Name : Murthy

Explain splice() method with Examples of Both Adding and removing Elements in Array.

List any six form events and explain any two.


Write a JavaScript for loop that will iterate from 1 to 15. For each iteration, it will check if the current number
is odd or even and display a message to the screen. Sample Output : “1 is odd” “2 is even” …………
Explain getter and setter properties in Java script with suitable example.

Explain Function calling another Function in Javascript

Write a Java script code to display 5 elements of array in sorted order.

Explain any two form events.

You might also like