This document lists 15 JavaScript programming questions covering various topics:
1) Displaying the name of the day corresponding to a number
2) Using a for loop to check if numbers from 0 to 15 are odd or even
3) Using a for loop to print "Fizz" or "Buzz" or "FizzBuzz" for multiples of 3, 5, or both from 1 to 100
4) Finding Armstrong numbers of 3 digits
5) Constructing a pattern using nested for loops
6) Finding the position of first occurrence of text in a string
7) Implementing various array functions like push, pop, sort, shift, reverse
8) Creating functions to calculate the area of a
Download as DOCX, PDF, TXT or read online on Scribd
100%(2)100% found this document useful (2 votes)
2K views
Web Application Practical Questions
This document lists 15 JavaScript programming questions covering various topics:
1) Displaying the name of the day corresponding to a number
2) Using a for loop to check if numbers from 0 to 15 are odd or even
3) Using a for loop to print "Fizz" or "Buzz" or "FizzBuzz" for multiples of 3, 5, or both from 1 to 100
4) Finding Armstrong numbers of 3 digits
5) Constructing a pattern using nested for loops
6) Finding the position of first occurrence of text in a string
7) Implementing various array functions like push, pop, sort, shift, reverse
8) Creating functions to calculate the area of a
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Web application practical questions
1) Write a java script to display name of day of equivalent number enter by
user. Ex: 1 for “Sunday” 2 for “Monday”…….. 2) Write a JavaScript for loop that iterates from 0 to 15. For each iteration, it checks if the current number is odd or even, and displays a message on the screen. 3) Write a JavaScript program that iterates integers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for multiples of five print "Buzz". For numbers multiples of both three and five print "FizzBuzz". 4) Write a JavaScript program to find the Armstrong numbers of 3 digits. Note : An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 3**3 + 7**3 + 1**3 = 371. 5) Write a JavaScript program to construct the following pattern, using a nested for loop. * ** *** **** 6) Write a programme in java script to find the position of the first occurrence of text in a given string. 7) Write a programme in java script to do following functions on array: When the choice is push- element should be entered When the choice is pop- an element should be removed When the choice is sort- elements should be arranged in ascending order When the choice is shift- first element should be removed When the choice is reverse- elements should be arranged in reverse order 8) Write a programme in javascript to create a function rarea() and carea() to calculate area of rectangle and circle Criteria: If the choice is r- area of rectangle If the choice is c- area of circle
9) Develop a two-minute video on any topic and make a collage out
of its projection.
10) Create a worksheet in open office calc to store the information
students like name, roll no., marks in six subjects, and calculate total marks percentage and maximum minimum marks in each subject.
11) Create a ppt on any top 5 entrepreneur.
12)Write a java script to embed your video with proper title and information. 13. Write a java script to embed audio file with proper title and information. 14. Write Html code to insert any three images showing information about Green Skill 15. Write a Html code to hyperlink two pages showing information about your school