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

MCQs Test for 10th Class Chapter 2 Computer Science

The chapter 2 of 10th class Computer Science is related to User Interaction. This chapter has great importance with respect to the board paper. It is not very easy but rather conceptual and technical. For getting perfection in this chapter, students should make maximum practice of these online MCQs tests. Download 10th class Computer Science Chapter 2 MCQs which are available on ilmkidunya for all students. These online MCQs tests are free to attempt and download. The students must avail this chance and make the best practice of this important chapter. 10th class Computer Science Chapter 2 MCQs in PDF are given on ilmkidunya, from where the students can easily get these tests.

MCQ's Test For Chapter 2 "User Interaction"

Try The MCQ's Test For Chapter 2 "User Interaction"

  • Total Questions12

  • Time Allowed15

User Interaction

00:00
Question # 1

Which operator accepts Boolean expression and returns true if at least one of the operands is true ?

Question # 2

Which operator assigns the result of expression on right side to the variable on left side ?

Question # 3

Which format specifier is used for character data type ?

Question # 4

Which operators perform operation on Boolean expressions and produce a Boolean expressions as a result ?

Question # 5

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;

Question # 6

Which is a combination of backslash (\) and a code character to control printing of data on the screen ?

Question # 7

scanf is a __________ in C programming language:

Question # 8

printf is to used print _________ type of data:

Question # 9

Which operator is used to subtract the value on right side from the value on left side ?

Question # 10

Which symbol is used to represent the AND operator ?

Question # 11

Which of the following forces printf() to change its normal behavior ?

Question # 12

Which operator negates or reverses the value of Boolean expression ?

Prepare Complete Set Wise Chapter 2 "User Interaction" MCQs Online With Answers


Computer science is an important subject for the students of 10th class. Every student wants to score good marks in matric. For the convenience of the 10th class students, ilmkidunya is providing to students the online tests for the preparation of computer science. These online tests are comprised of many MCQs from every topic of chapter 2. These online MCQs tests are very conceptual and helpful. The students can make better practice through 10th class computer science unit 2 MCQs with answers. Get well prepared for the computer science board exam by practicing these online MCQs tests.

Top Scorers Of Chapter 2 "User Interaction" MCQ`s Test

  • M
    Mahnoor Saif 21 - Jan - 2025 00 Min 05 Sec 12/12
  • V
    Vato ato 12 - Jan - 2025 00 Min 06 Sec 12/12
  • U
    Umar Sohail 25 - Dec - 2024 00 Min 08 Sec 12/12
  • S
    Samiya Samiya 08 - Jan - 2025 00 Min 13 Sec 12/12
  • M
    Mouaz Ali 27 - Dec - 2024 00 Min 55 Sec 12/12
  • K
    k M 18 - Dec - 2024 01 Min 19 Sec 12/12
  • A
    Ammar Abbas 16 - Dec - 2024 01 Min 19 Sec 12/12
  • S
    Shahriyar 07 - Jan - 2025 01 Min 20 Sec 12/12
  • M
    Maria Liaqat Unknown 04 - Jan - 2025 01 Min 26 Sec 12/12
  • A
    Asif Bhatti 11 - Sep - 2025 01 Min 27 Sec 12/12
  • A
    Ali Raza 17 - Jan - 2025 01 Min 32 Sec 12/12
  • S
    Shahida Nadeem 10 - Jan - 2025 01 Min 33 Sec 12/12
  • S
    SYED MUHAMMAD TAHA 17 - Oct - 2025 01 Min 46 Sec 12/12
  • S
    Saim G 16 - Aug - 2025 01 Min 58 Sec 12/12
  • A
    Ayesha Tariq 20 - Jan - 2025 02 Min 51 Sec 12/12
Sr. # Question Answer
1 Which operator assigns the result of expression on right side to the variable on left side ?

A. ==

B. =

C.*

D. ( )

2 Which of the following forces printf() to change its normal behavior ?

A. escape sequence

B. escape

C.sequence

D. esc

3 Which format specifier is used for integer data type ?

A. %d

B. %i

C.both a and b

D. none of these

4 What is true about C language ?

A. C is not a case sensitive language

B. keywords can be used as variable names

C.All logical operators are binary

D. none of them

5 Which of the following is a type of operator ?

A. assignment operator

B. arithmeticoperators

C.logicaloperators

D. all of these

6 Escape sequences consists of ________ characters:

A. two

B. three

C.four

D. five

7 Which function used to read a character from user ?

A. printf

B. getch()

C.count

D. string

8 Which operator has the highest precedence among the following ?

A. /

B. !

C.>

D. <

9 Which operator takes two Boolean expression as operands and produces the result true if both of its operands are true ?
10 getch() is used to take ________ as input form user:

A. int

B. char

C.float

D. all of them

11 Which operators compare two values to determine the relationship between values ?

A. assignment

B. arithmetic

C.logical

D. relation

12 Which operator is used to assign a value to a variable ?

A. Assignmentoperator

B. arithmeticoperator

C.logicaloperator

D. all of these

Test Questions

Is this page helpful?