ICS Part 2 Computer Science Chapter 11 Short Questions Test With Answer

Online Short Questions For Chapter 11 "ICS Part 2 Computer Science Chapter 11 Short Questions Preparation "

Try The Short Questions For ICS Part 2 Computer Science Chapter 11 Short Questions Preparation

  • Total Questions10

  • Available Sets6

Computer Science - ICS Part 2 Computer Science Chapter 11 Short Questions Preparation

Question # 1

Define Selection Structure.

  • Ans 1: Selection Structure : ASelection Structure chooses which statement or a block of statements is to execute.
    Types : In C, there are two basic selection statements:
    • If-else
    • Switch
Submit

Prepare Complete Set Wise Questions For Chapter 11 "ICS Part 2 Computer Science Chapter 11 Short Questions Preparation "

ICS Part 2 Computer Science Chapter 11 Short Questions Preparation - Set 1

Question # 1

Define Selection Structure.

  • Ans 1: Selection Structure : ASelection Structure chooses which statement or a block of statements is to execute.
    Types : In C, there are two basic selection statements:
    • If-else
    • Switch
Submit

ICS Part 2 Computer Science Chapter 11 Short Questions Preparation - Set 2

Question # 1

Find Error.
Int price= 10
If (price! =10)
price=0

  • Ans 1:
    • Error is terminator is necessary for terminate the statement but has not been used in this program.
Submit

ICS Part 2 Computer Science Chapter 11 Short Questions Preparation - Set 3

Question # 1

Trace Error :
Void main ( )
{
Int a =2 ;
If (a ==1)
Printf ("ok);
Else
Printf ( "cancel");
Getch( );

  • Ans 1: Error:
    • Error is there must be brackets for If statements body.
Submit

ICS Part 2 Computer Science Chapter 11 Short Questions Preparation - Set 4

Question # 1

What is the output of the following code?Int m, n;M = 0;N= m;If;(m = =n)Printf ("BWP");Elseprintf("LHR");

  • Ans 1: Output: BWP
Submit

ICS Part 2 Computer Science Chapter 11 Short Questions Preparation - Set 5

Question # 1

Find output.
Int p= 3, q = 5;
If ((p>q)|| (q! =s))
P = p+1;
Else
P = p*2;
Printf ("p =%d",p);

  • Ans 1: Output:
    P =6
Submit

ICS Part 2 Computer Science Chapter 11 Short Questions Preparation - Set 6

Question # 1

What is the output of the following statement , if grade='B'?If (grade = ='A' || grade == 'B' && grade =='C')Printf ("Fail");ElsePrintf ("Pass");

  • Ans 1: Output : Pass
Submit

11th Chapter

12th Computer Science Chapter 11 Preparation

Here you can prepare 12th Computer Science Chapter 11 Problem Solving Preparation. Click the button for 100% free full practice test.