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

Predict the output of the following code.
If (4 %2 ==0)
Printf ("programming makes the life interesting \n"); else
Printf ("Programming is difficult to learn");

  • Ans 1: Output:
    Programming makes the life interesting.
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

Predict the output of the following code.
If (4 %2 ==0)
Printf ("programming makes the life interesting \n"); else
Printf ("Programming is difficult to learn");

  • Ans 1: Output:
    Programming makes the life interesting.
Submit

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

Question # 1

Write down output of the following code.Void main ( ){int x= 10;If (x! = 10)Printf ("Hello");ElsePrintf ("World");}

  • Ans 1: Output : World
Submit

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

Question # 1

Trace error from the following code.
If (7! =10
Printf ("hello");
Else-do
Printf ("welcom");

  • Ans 1: Errors:
    • 1st errors is if statement has not been written correctly.
    • 2nd error is there is no else-do statement in C language.
Submit

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

Question # 1

Determine the output of the following code.
Inta a, b;
B= 20; a=10;
If (b< =a)
Printf ("No")
Else
Printf ("yes")

  • Ans 1: Output :
    yes

Submit

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

Question # 1

Track the errors .
Int p= 20;
If( price == 20 )
Price = 0;
Else
Price =2,

  • Ans 1: Errors:
    • Errors is ; semicolon has not been used after condition of else statement.
Submit

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

Question # 1

What will be output of the following ?
Int x=5, y=10;
If (x>y )
Y =2;

  • Ans 1: Output:
    Y = 2
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.

Is this page helpful?