CSS QuestionBank (24-25)
CSS QuestionBank (24-25)
CSS QuestionBank (24-25)
9 1 2
1 to 100
Write syntax of and explain prompt method in JavaScript with the help
df5f
of suitable example.
10 2 2 Write a JavaScript function that checks whether a passed string is 5
palindrome or not.
11 2 2 Differentiate between prompt() and alert() methods. 4
12 2 2 State use of getters and setters
13 2 2 Write a program to print sum of even numbers between 1 to 100 using 5
14 2 2
for loop
write a javascript to convert a string to number
5
15 2 2 Explain the use of push and pop functions 2
16 2 4 Write a JavaScript function to insert a string within a string at a 5
particular position
17 2 4 Write a JavaScript function to count the number of vowels in a given 5
string
18 2 4 Write a JavaScript that find and delete duplicate values in an array. 5
19 2 2 Develop JavaScript to convert the given character to Unicode 5
20 3 4 Write a HTML script which displays 2 radio buttons to the users for fruits 5
and vegetables and 1 option list. When user select fruits radio button
option list should present only fruits names to the user & when user
select vegetable
radio button option list should present only vegetable names to the
user.
21 3 4 Write a javascript to create a pull-down menu with three options 5
[Google, MSBTE, Yahoo] once the user will select one of the options then
user will be redirected to that site.
5
22 3 4 Give syntax of and explain the use of “with” statement/clause in
JavaScript using suitable example.
23 3 2 Explain the scope of variable with the help of programming example 3