2.2. Unitwise Question Bank-2
2.2. Unitwise Question Bank-2
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
write a script that reads an integer and displays whether it is a prime AN315.1 4
7 number or not W19,S22
State use of
15 AN315.1 4 W19
W19
AN315.1
Write syntax of
ss
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: 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
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: 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
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.