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

Find out errors:
#include <stdio>
Void main( )
[
If (50>20) then
Printf ("Islamic Country ");
Getch( )
}

  • Ans 1: Errors:
    • 1st error is wrong library has been used in this program.
    • 2nd error is wrong brackets have been used in Main body.
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

Find out errors:
#include <stdio>
Void main( )
[
If (50>20) then
Printf ("Islamic Country ");
Getch( )
}

  • Ans 1: Errors:
    • 1st error is wrong library has been used in this program.
    • 2nd error is wrong brackets have been used in Main body.
Submit

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

Question # 1

Find output from the following .
Int pirce = 19;
If (price! =10)
Printf ("price");

  • Ans 1: Output: Price = 19
Submit

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

Question # 1

Trace out the errors in the following code.
Void main ( )
{
Int R ;
R= 17;
If (R>0)
{
R= R*3.14*3.14;
};
PRINTF ("THE VALUE OF ARE IS =%F",R);
Getch ( );
}

  • Ans 1: Error:
    • 1st error is variable r has not been defined.
    • 2nd error is : semicolon has been used after closing brackets of If statement which is not allowed.
Submit

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

Question # 1

Show output :if(1 = =2)Printf ("Programming")Else if (2 = =1)Printf ("Language");ElsePrintf("Correct ir");

  • Ans 1: Output: Correct it
Submit

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

Question # 1

Write down the output of following code:
Char ch = 'a':
Switch (ch)
{
Case 'a':
Printf("A");
Case 'b';
printf("B")

  • Ans 1: Output:
    A
Submit

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

Question # 1

List types of control structure.

  • Ans 1: Types of Control Structures: There are the following types of control structure:
    • Sequence
    • Selection
    • Repetition.
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.

Share your comments & questions here

Guest
  • No comments yet. Be the first to comment!