11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil இயற்கை வேளாண்மை,சுற்றுச்சூழல் -செய்யுள் - மனோன்மணீயம் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil என்னுயிர் என்பேன் -துணைப்பாடம் - இசைத்தமிழர் இருவர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மொழி கலை -செய்யுள் - ஒவ்வொரு புல்லையும் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - இலக்கணம் - பகுபத உறுப்புகள் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - துணைப்பாடம் - வாடிவாசல் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - குறுந்தொகை Important Questions And Answers Study Material - QB365 Set A

Published on: 27/09/2019
Control Structure in JavaScript
Download Tamil Nadu 11th Standard Computer Applications question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Applications Test

1.
What is the output of the following html code?
2.
What is branching statement?
3.
What message will be displayed, if the input for N is 5 for the following snippet?
4.
Write the syntax of while loop
5.
How the switch statement evaluates the case structure?
6.
Write the syntax of if statement?
7.
Differentiate the break and continue statement.
8.
Write the general syntax for switch statement
9.
List out the various branching statements in JavaScript?
10.
What is meant by conditional statements in JavaScript?
1.
< html >
< head >
< title > Type casting < /title >
< /head >
< body bgcolor=orange >
< Font size = 7 >
< script language = "javascript" type = ''text! javascript ">
var x = 6 + parsent('3');
document.write (x);
< /script >
< /Font >
< /body >
< /html >
2.
Branching Statements:
1. JavaScript supports branching statements which are used to perform different actions based on different conditions.
2. Branching is a transfer of control from the current statement to another statement or construct in the program unit.
3. A branch alters the execution sequence.
3.
if (N< 0)
{
alert ("The value of N is Negative")
}
else
{
alert ("The value of N is Positive");
}
output: The Value of N is positive
4.
The syntax is:
while (condition)
{
body of the loop
}
5.
1. The switch statement begins by evaluating an expression placed between parenthesis, much likethe if statement.
2. The result compared to labels associated with case structure that follow the switch statement.
3. If the result is equal to a label, the statements in the corresponding case structure are executed.
6.
if (condition)
{
True block;
}
7.
| Break Statement | Continue Statement |
| The break statement will terminate the loop irrespective of the condition. | The continue statement will skip back to the loop condition check. |
| The break statement is executed and the loop is terminated. | When the continue statement is executed, the current iteration of the enclosing loop is terminated, and the next iteration begins. |
8.
switch (expression)
{
case label 1:
statements 1;
break;
case label 2;
statements2;
break;
case labeln;
statements - N;
break;
default:
statements;
}
9.
There are different branching statements. They are :
1. if statement
2. if... else statement
3. else if statement
4. switch statement
10.
Conditional statements execute or skip one or set of statements depending on the value of a specified conditional expression.
11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - காவடிச்சிந்து Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - உரைநடை - மலை இடப்பெயர்கள் : ஓர் ஆய்வு Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - துணைப்பாடம் - யானை டாக்டர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - செய்யுள் - ஐங்குறுநூறு Important Questions And Answers Study Material - QB365 Set A
Tamilnadu Stateboard 11th Standard Subjects

Maths

Commerce

Economics

Biology

Business Maths and Statistics

Accountancy

Computer Science

Physics

Chemistry

Maths

Biology

Economics

Physics

Chemistry

History

Business Maths and Statistics

Computer Science

Accountancy

Computer Applications

History

Computer Technology

Commerce

Computer Applications

Computer Technology

Tamil

English

French
Tamilnadu Stateboard Standards