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

In escape sequence first character is always __________ and the second character varies according to the functionality that we want to achieve:

Question # 2

Which format specifier is used for integer data type ?

Question # 3

Which symbol is used to represent the OR operator ?

Question # 4

After escape character, which specifies the movement of the cursor to start of next time ?

Question # 5

In C language _______ is used as statement terminator:

Question # 6

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

Question # 7

Format specifier is always preceded by:

Question # 8

Which is used to display data in specific format ?

Question # 9

Which operators are applied over one operand only ?

Question # 10

Which escape sequence is used to print the output on multiple lines ?

Question # 11

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 # 12

Which format specifier is used for character data type ?

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
  • 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
  • B
    Bilal Imtiaz 28 - Nov - 2025 01 Min 21 Sec 11/12
Sr.# Question Answer
1 Which operator negates or reverses the value of Boolean expression ?
2 Which of the following is called escape character which is associated with each escape sequence to notify about escape ?
A. back slash (\)
B. /
C. ?
D. :
3 In C language which operator is used to check for equality of two expression ?
A. ==
B. =
C. ?
D. +-
4 Which operator checks whether right and left operands are equal or not ?
A. ==
B. =
C. ?
D. +-
5 Which library file include in header section of program, when using getch() function ?
A. conio.h
B. stdio.h
C. math.h
D. string.h
6 Which operator is used to subtract the value on right side from the value on left side ?
A. +
B. -
C. *
D. %
7 Which of the following is escape sequence ?
A. \n
B. \t
C. \a
D. all of these
8 Which format specifier is used for integer data type ?
A. %d
B. %i
C. both a and b
D. none of these
9 Which operator is used to divide the value on left side by the value on right side ?
A. \
B. /
C. +
D. -
10 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;
A. 8.8
B. 8
C. 8.2
D. 8.0
11 In which function character entered by user does not get displayed on screen ?
A. getch()
B.

count
C. string
D. printf
12 Which format specifier is used for character data type ?
A. %d
B. %i
C. %c
D. %f

Test Questions

Is this page helpful?