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

CSS Assign 1 (2024-25)

Uploaded by

arpita181205
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)
4 views

CSS Assign 1 (2024-25)

Uploaded by

arpita181205
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/ 4

Sanjivani Rural Education Society’s Assignment No 1 Year: 2024-25

SKBP Polytechnic, Kopargaon Dept.: ComputerTech.


ACAD/F/23 Subject: Client Side Scripting(22519) Pages: 1
Rev=00 Date:11/12/2017 Date of Submission:
Name of Staff: Mr. V.G.Lachake Unit No: 1 Total no of Ques: 15

Q1. List any eight features of Java script.

Q2. Explain data types in Javascript. State the ways to display the output in JavaScript.

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

Q.4. Write a Java script to create person object with properties firstname,

lastname, age, eyecolor, delete eyecolor property and display remaining

properties of person object.

Q.5 Explain prompt() and confirm() method of Java script with syntax and

example.

Q.6. Write a Java script program which computes, the average marks of the

following students then, this average is used to determine the corresponding

grade.

Student Name Marks


Sumit 80

Kalpesh 77
Amit 88
Tejas 93
Abhishek 65

Subject Teacher HOD


[Mr. V. G. Lachake ] [ Mr. G.N.Jorvekar ]
Sanjivani Rural Education Society’s Assignment No 1 Year: 2024-25
SKBP Polytechnic, Kopargaon Dept.: ComputerTech.
ACAD/F/23 Subject: Client Side Scripting(22519) Pages: 1
Rev=00 Date:11/12/2017 Date of Submission:
Name of Staff: Mr. V.G.Lachake Unit No: 1 Total no of Ques: 15

The grades are computed as follows :

Range Grade
<60 E

<70 D

<80 C

<90 B

<100 A

Q.7. Write a JavaScript that displays all properties of window object.


Q.8. Differentiate between prompt() and alert() methods.
Q.9. Write use of following statements :
i. document.bgColor
ii. document.write()

Q.10. 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”

Subject Teacher HOD


[Mr. V. G. Lachake ] [ Mr. G.N.Jorvekar ]
Sanjivani Rural Education Society’s Assignment No 1 Year: 2024-25
SKBP Polytechnic, Kopargaon Dept.: ComputerTech.
ACAD/F/23 Subject: Client Side Scripting(22519) Pages: 1
Rev=00 Date:11/12/2017 Date of Submission:
Name of Staff: Mr. V.G.Lachake Unit No: 1 Total no of Ques: 15

“2 is even”
…………
………....

Q.11. Write a javascript program to implement addition, subtraction, multiplication,division and


modulus operation.
Q.12 List operators in javascript. Explain logical, comparison and assignment operators.
Q.13 Differentiate between For-loop and For-in loop.
Q.14 Write a javascript function to generate Fibonacci series till user defined limit.
Q.15 Write a JavaScript that accepts a number and displays addition of digits of that number in
a message box.

Subject Teacher HOD


[Mr. V. G. Lachake ] [ Mr. G.N.Jorvekar ]
Sanjivani Rural Education Society’s Assignment No 1 Year: 2024-25
SKBP Polytechnic, Kopargaon Dept.: ComputerTech.
ACAD/F/23 Subject: Client Side Scripting(22519) Pages: 1
Rev=00 Date:11/12/2017 Date of Submission:
Name of Staff: Mr. V.G.Lachake Unit No: 1 Total no of Ques: 15

Subject Teacher HOD


[Mr. V. G. Lachake ] [ Mr. G.N.Jorvekar ]

You might also like