Computer Science 10th Class English Medium Online Test With Answers

image
image
image

Computer Science 10th Class English Medium Online Test

Sr. # Questions Answers Choice
1 Which is used to display data in specific format ? read data specifiers format specifiers
2 Which is a built-in function in C programming language to show output on screen? printf() scanf() input print
3 What is true about C language ? C is not a case sensitive language keywords can be used as variable names All logical operators are binary none of them
4 Which of the following is a valid character ? 'here' "a" '9' none of them
5 The operator % is used to calculate __________: percentage remainder factorial square
6 Which of the following is not a type of operator ? arithmetic operator checkoperator relationaloperator logicaloperator
7 Which operator has the highest precedence among the following ? / ! > <
8 Which of the following is a valid line of code ? int = 20; grade = 'A'; line = this is a line, none of these
9 Let the following part of code, what will be the value of variable an after execution:
int a = 4;
float b= 2.2;
a = a * b;
8.8 8 8.2 8.0
10 getch() is used to take ________ as input form user: int char float all of them
11 scanf is a __________ in C programming language: keyboard library function none of them
12 printf is to used print _________ type of data: int float char all of them
Download This Set