Warning: include_once(../../../../../headder.php): Failed to open stream: No such file or directory in /home/cbseguess/public_html/papers/cbse_important_questions/xi/2013/compur-science/flow-of-control.php on line 18

Warning: include_once(): Failed opening '../../../../../headder.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/cbseguess/public_html/papers/cbse_important_questions/xi/2013/compur-science/flow-of-control.php on line 18

CBSE Important Questions

CBSE Guess > Papers > Important Questions > Class XI > 2013 > Computer Science > Computer Science By Mr. Prabhuji Gupta

CBSE CLASS XI


Warning: include(../../../../../ads_330x250_middle.php): Failed to open stream: No such file or directory in /home/cbseguess/public_html/papers/cbse_important_questions/xi/2013/compur-science/flow-of-control.php on line 29

Warning: include(): Failed opening '../../../../../ads_330x250_middle.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/cbseguess/public_html/papers/cbse_important_questions/xi/2013/compur-science/flow-of-control.php on line 29

Flow Of Control

Index Next

Q 1 What kind of actions can statements perform  ?
Q 2 When is a null or empty statement required ?
Q 3 How is a block statement written ?
Q 4 What does iteration mean?
Q 5 What is the syntax of the if statement ?
Q 6 What is the following segment checking ?
 if (ch=’ ‘)
Spaces ++;
Q 7 Give an example of a test condition comparing it with a literal using If construct?
Q 8 Explain the if –else statement?
Q 9 What is the result of if condition ending with ; semicolon.
Q 10 What is nested if ?
Q 11 Mention two differences between if and conditional operator?
Q 12 What is the Nested if structure?
Q 13 Explain the update expression in the for loop?
Q 14 Give the output of the following code:

int i=10;
for(i=10;i>=7;i- -)
cout<< i << endl;

Q 15 Give the output of the following code.

int i=1;
for(;;)
{
cout << i++ << ” “ ;
if(i>5)
break;
}

Q 16 List the variations of the While loop?
Q 17 In the following segment, can the  loop mentioned,  be used as time delay loop ?

Lwait=0;
while(++Lwait<500000) ;

Q 18 Display the output of the following program.

int i=10;
while(i>=6)
{
cout << i < < endl ;
i - -;
i - -;
}

Q 19 How can the statements of a program be executed ?
Q 20 Elaborate the structure of a Switch statement?
Q 21 State any three  difference between switch statement and if-else statement ?
Q 22 Give examples of  3 test conditions which work with If.

a)  comparing a literal
b)  comparing  2 variables
c)  testing truth value of a variable

Q 23 Explain S1, R and R2 in the following for loop statement? for(S1;R;R2)
Q 24 List any 3 variations in the for loop?
Q 25 What is the difference between if-else and switch ?
Q 26 Write a program to evaluate the factorial of a number ?

 

Index Next

Submitted By Mr. Prabhuji Gupta
Email: prabhujigupta@gmail.com


Warning: include(../../../../../120_60_others.php): Failed to open stream: No such file or directory in /home/cbseguess/public_html/papers/cbse_important_questions/xi/2013/compur-science/flow-of-control.php on line 99

Warning: include(): Failed opening '../../../../../120_60_others.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/cbseguess/public_html/papers/cbse_important_questions/xi/2013/compur-science/flow-of-control.php on line 99