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

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

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

  • Total Questions10

  • Available Sets9

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

Question # 1

Find the error in the following code.
#include (conio,);
#include (stdio.h);
Void main ()
{
printf("OK");
}

  • Ans 1: Errors: Error is brackets do not used in library.
Submit

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

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

Question # 1

Find the error in the following code.
#include (conio,);
#include (stdio.h);
Void main ()
{
printf("OK");
}

  • Ans 1: Errors: Error is brackets do not used in library.
Submit

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

Question # 1

Trace the errors.
#include<stdio.h>
Void main()
{
printf ("High Level Language")
}


  • Ans 1: Errors:
    • Errors is terminator sign has not been used in printf statement.
    Main()
    {
    printf("555\n");
    printf ("55");
    }
Submit

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

Question # 1

Find the error in the following code.
#include (conio,);
#include (stdio.h);
Void main ()
{
printf("OK");
}

  • Ans 1: Errors: Error is brackets do not used in library.
Submit

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

Question # 1

Predict the output of the following code.
Printf ("*\n**\n***\n****\n");

  • Ans 1: Output:
    **
    ***
    ****
Submit

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

Question # 1

Trace the error in the following code.
#include <stdio.h>
Void main (void)
{ int x= 4
Y =x+10
printf("%d",x+y);
}

  • Ans 1: Errors:
    • 1st errors is terminator is not present in two statements.
    • 2nd error is variable y is not declared properly.
Submit

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

Question # 1

Trace the errors in the following programs.
Include<stdio.h>
Mian()
{
int a = 10;
printf("%d",a);
}

  • Ans 1: Errors:
    • 1st errors is # sign is not present with include.
    • 2nd error is capital S cannot be used is stdio.h library.
Submit

ICS Part 2 Computer Science Chapter 10 Short Questions Preparation - Set 7

Question # 1

List some important functions for output.

  • Ans 1: Output Function in C-language:
    • Putchar()
    • Putch()
    • Puts()
    • printf()
Submit

ICS Part 2 Computer Science Chapter 10 Short Questions Preparation - Set 8

Question # 1

Trace the error in th following code.
#include (std10.h)
Void main (void);
{
x = 5;
y = 6;
z = x+y;
printf ("%d",z);
}

  • Ans 1: Errors: Errors is wrong library has been used in program.
Submit

ICS Part 2 Computer Science Chapter 10 Short Questions Preparation - Set 9

Question # 1

Trace the output of the following.
X = 5;
Y =x++;
Printf ("d%d",x,y);

  • Ans 1: Output:
    x = 5
    y = 5
Submit

10th Chapter

12th Computer Science Chapter 10 Preparation

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

Is this page helpful?