0% found this document useful (0 votes)
14 views10 pages

2.2. Unitwise Question Bank-2

Uploaded by

sutarashu45
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)
14 views10 pages

2.2. Unitwise Question Bank-2

Uploaded by

sutarashu45
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/ 10

LOKNETE MA.

HANMANTRAO PATIL CHARITABLE TRUST’S


ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

Unit No.1 Question Bank

Institute Code: 0991 Academic Year: 2024-25 Program: AN


Class: TY Semester: V Scheme: I
Course Code: CSS Course Coordinator:
Course: CSS
(22519) Mrs.P.P.Yadav

Unit No: 01
Que. CO Mar Previously
Question
No. Mapped ks Asked
1 Explain any four features of JavaScript. AN315.1 4 W19
List various assignment operators supported by JavaScript; explain AN315.1 2
2 any two with the help of suitable example. W23

List and explain Comparison operators in JavaScript. AN315.1 2


3 W19
Explain the use of continue statement with the help of example AN315.1 4
4 W15
Write a JavaScript program to display squares of 1 to 10 numbers AN315.1 4
5 using while loop. W19

Write a JavaScript program to generate Armstrong number AN315.1 4


6 between 1 to 100. W18

write a script that reads an integer and displays whether it is a prime AN315.1 4
7 number or not W19,S22

Write JavaScript to create employee object with property AN315.1 4


8 f_name ,last_name, eyecolor, age and delete eyecolor property and W19
display remaining property.
Explain six types of values in JavaScript. State use of getters and AN315.1
9 4 S22
setters
State use of getters and setters AN315.1
10 2 W22
Write a JavaScript that displays first 20 even numbers on the AN315.1
11 4 W15
document window.
Explain For loop and for in loop. AN315.1
12 4 S22
State the use of dot syntax in JavaScript with the help of suitable AN315.1
13 4 W23
example.
Write a simple calculator program using switch case in JavaScript. AN315.1
14 4 W22
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

State use of
15 AN315.1 4 W19

getters and setters


1
2
Write a JavaScript
that displays first
20 even numbers
on the document
window.
1
4
Write a program to
print sum of even
numbers between
1 to 100 using for
loop.
dd
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

W19
AN315.1

Write syntax of
ss

16 and explain prompt 2 W23

method in
JavaScript with the
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

help of suitable
example
Write and explain syntax of prompt() method in JavaScript

Unit No.2 Question Bank

Institute Code: 0991 Academic Year: 2024-25 Program: AN


Class: TY Semester: V Scheme: I
Course Code: CSS Course Coordinator:
Course: CSS
(22519) Mrs.P.P.Yadav

Unit No: 02
Que. CO Mar Previously
Question
No. Mapped ks Asked
1 Write syntax for defining the function. AN315.2 2
2 Write a JavaScript to reverse the elements of array. AN315.2 2
Explain the use of push and pop functions. AN315.2 2
3
Define string? How to declare it? AN315.2 2
4
List methods used for finding a Unicode of a character? AN315.2 2
5
Explain the method of calling a function from HTML. AN315.2 4
6 W19
Write a JavaScript to convert a string to number. AN315.2 4
7 S22

8 Explain the scope of variable with the help of programming AN315.2 4 S22
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

example.
How to initialize an array? Explain with example. AN315.2 4
9 W19
How to add and sort elements in array? Explain with example. AN315.2 4
10 W19
Differentiate between concat() and join() methods of array object. AN315.2 4
11 S22
Write a javascript program to demonstrate java intrinsic function. AN315.2 4
12 S22
Write a javascript function that accepts a string as a parameter and AN315.2 4
13 find the length of the string. S22

Write a javascript to checks whether a passed string is palindrome AN315.2 4


14 S22
or not.
Develop javascript to convert the given character to unicode and AN315.2 4
15 S22
vice-versa.
Write a javascript function to generate Fibonacci series till user AN315.2 4
16 S22
defined limit
AN315.2 4
17 Write javascript that initializses an array called flowers with name W19
of 3 flowers.then display array elements.
Write a JavaScript program that will remove the duplicate element AN315.2 4
18 W22
from an array
Write and explain a string functions for converting string to number AN315.2 4
19 W22
and number to string.
Write a JavaScript function to merge two arrays & removes all AN315.2 4
20 S22
duplicate values.
Write use of charAt() and indexof () method AN315.2 4
21 W19
Write a JavaScript function to count the number of vowels in a AN315.2 4
22 W22
given string
Write a JavaScript function to check first character of a string is AN315.2 4
23 W22
uppercase or not.
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

Unit No.3 Question Bank

Institute Code: 0991 Academic Year: 2024-25 Program: AN


Class: TY Semester: V Scheme: I
Course Code: CSS Course Coordinator:
Course: CSS
(22519) Mrs.P.P.Yadav

Unit No: 03
Que. CO Mar Previously
Question
No. Mapped ks Asked
Explain following form events : AN315.3
1 (i) onmouseup 4 W23
(ii) onblur
2 AN315.3 4 W22
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

AN315.3

3 4 W22

AN315.3

4 4 W23

AN315.3

5 4 W19

AN315.3
6 4 W19

AN315.3 4

7 W19
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

AN315.3 4

8 W19

AN315.3

9
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

Unit No.4 Question Bank

Institute Code: 0991 Academic Year: 2024-25 Program: AN


Class: TY Semester: V Scheme: I
Course Code: CSS Course Coordinator:
Course: CSS
(22519) Mrs.P.P.Yadav

Unit No: 04
Que. CO Mar Previously
Question
No. Mapped ks Asked
1 State and explain what a session cookie Is? AN315.4 4
Write a webpage that display a form that contains as input for AN315.4 4
username and password .user is prompted to enter the input &
2 password and password becomes value of the cookie .write the
javascript function for storing the cookie .It gets executed when the
password changes.
Write a javascript that creates a persistent cookies of itermnames . AN315.4 4
3 Write appriate HTML script for the some.
Describe how to read cookie value & write a cookie value .Explain AN315.4 4
4 with example.
Difference between session cookie and persistent cookie AN315.4 4
5
Design a webpage that displays a form that contains an input for AN315.4 4
6 username and password user is prompted to enter the input user
name cookies write the javascript function for storing the cookies.
Write a javascript program to create read, update and delete AN315.4 4
7 cookie.
State what is a cookie? Explain its need state characteristics of AN315.4 4
8 persistent cookies.
Write a javascript that displays all properties of window AN315.4 4
9 object .Explain the code.
Write the syntax of and explain use of following method of AN315.4 4
10 javacsript timing event 1. SetTimeout() 2. setInterval()
LOKNETE MA. HANMANTRAO PATIL CHARITABLE TRUST’S
ADARSH INSTITUTE OF TECHNOLOGY
AND RESEARCH CENTRE, VITA
Polytechnic 2024-25
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Wing Odd Sem

Develop a javascript program to create rotating banner ADS with AN315.4 4


11 URL links
Write a javascript that displays First 20 even number on the AN315.4 4
12 document window.
Write a javascript program that creates a scrolling text on the status AN315.4 4
13 line of a window.
Explain open () method of window object with syntax & example. AN315.4 4
14
Write a javascript program to changing the contents of a window. AN315.4 4
15
Give syntax of and explain the use of SetTime Out( ) function with AN315.4 4
16 the help of suitable example. W23

Write a javascript to create option list contain list of images and AN315.4 4
17 then displays image in new window as per selection.

You might also like