MABS Institution
11th Computer Applications Monthly Test -2 ( Control Structure in Javascript )-Aug 2020
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Why default and break statement used in switch statement?
-
What is the output of the following html code?
-
How the switch statement evaluates the case structure?
-
What message will be displayed, if the input for age is given as 20, for the following snippet.
if (age > = 18 ){
alert ("you are eligible to get Driving licence"}
}
else
alert ("you are not eligible to get driving licence");
}
-
What are the functions of the for loop parts?
-
Write script for the following criteria.
-
-
What if if statement and write its types.
-
Write the syntax for else-if statement.
-
-
Differentiate between while and do while statements
-
What is called a loop and what are its types?
-
Write a Java Script program using while statement to display 10 numbers.
-
Explain while loop with suitable example.
-
Explain switch case statement with example
-
Write a Javascript to find whether the given number is even or odd?
-
Write a Javascript to display the given number is words using switch-case (Number between only 1 and 5)
-
Explain with an example the use of break and continue statement in loops?
-
Explain the working of do while loop in Javascript with an example?