Computer Science 10th Class English Medium Chapter 2 Online Test With Answers

image
image
image

Computer Science 10th Class English Medium Chapter 2 Online Test

Sr. # Questions Answers Choice
1 Which is a built-in function in C language that takes input from user into the variables ? printf() scanf() input print
2 Which format specifier is used for character data type ? %d %i %c %f
3 Which format specifier is used for float data type ? %d %i %f %c
4 Which format specifier is used for integer data type ? %d %i both a and b none of these
5 Which is used to display data in specific format ? read data specifiers format specifiers
6 Which is a built-in function in C programming language to show output on screen? printf() scanf() input print
7 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
8 Which of the following is a valid character ? 'here' "a" '9' none of them
9 The operator % is used to calculate __________: percentage remainder factorial square
10 Which of the following is not a type of operator ? arithmetic operator checkoperator relationaloperator logicaloperator
11 Which operator has the highest precedence among the following ? / ! > <
12 Which of the following is a valid line of code ? int = 20; grade = 'A'; line = this is a line, none of these
Download This Set