assignment1
assignment1
assignment1
-1
3. Explain the term – Object Name, Property, Method, Dot syntax, main event.
6. List the different types of operator in JavaScript. Describe any one in details.
7. List the different types of popup box. Explain any of it with example.
9. Write a JavaScript program that accept two integers and display the larger.
10. Write a JavaScript conditional statement to sort three numbers. Display an alert box to show the result.
11. Write a JavaScript for loop that will iterate from 0 to 15. For each iteration, it will check if the current number is
odd or even, and display a message to the screen.
12. Write a JavaScript conditional statement to find the largest of five numbers.
13. Write a JavaScript program to check from two given integers, if one is positive and one is negative.
14. Write a JavaScript program check if a given positive number is a multiple of 3 or a multiple of 7.
18. Write a JavaScript program to find the area of a triangle where lengths of the three of its sides are 5, 6, 7.
19. Write a JavaScript program to construct the following pattern, using a nested for loop.
**
***
****
*****