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

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

Which operator negates or reverses the value of Boolean expression ?

Question # 3

Which of the following is used as an assignmentoperator in C language ?

Question # 4

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

Question # 5

Which is a built-in function in C language that takes input from user into the variables ?

Question # 6

Which operator checks whether right and left operands are equal or not ?

Question # 7

How many types of logical operators ?

Question # 8

Which escape sequence specifies the I/O function of moving to the next tab stop horizontally ?

Question # 9

Which is unary operator ?

Question # 10

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

Question # 11

Which of the following are logical operators ?

Question # 12

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

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


Topic Test

00:00

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
  • A
    Aansa Naveed 13 - Feb - 2026 01 Min 04 Sec 12/12
  • M
    Maheen sidhu 13 - Feb - 2026 01 Min 07 Sec 12/12
  • M
    Muhammad Khalid 13 - Feb - 2026 01 Min 13 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
  • M
    Minu Khan 01 - Feb - 2026 02 Min 13 Sec 12/12
  • A
    Ahmad Nazir 07 - Dec - 2025 02 Min 18 Sec 12/12
  • A
    Ayesha Tariq 20 - Jan - 2025 02 Min 51 Sec 12/12
  • D
    dania yousaf 14 - Feb - 2026 01 Min 07 Sec 11/12
  • A
    Aashir Rukhsar 05 - Dec - 2025 01 Min 08 Sec 11/12

10th Class (English Medium) Computer Science Chapter 2 Important MCQ's

Sr.# Question Answer
1 getch() is used to take ________ as input form user:
A. int
B. char
C. float
D. all of them
2 Which operator accepts Boolean expression and returns true if at least one of the operands is true ?
3 scanf is a __________ in C programming language:
A. keyboard
B. library
C. function
D. none of them
4 Which operator has the highest precedence among the following ?
A. /
B. !
C. >
D. <
5 Escape sequences consists of ________ characters:
A. two
B. three
C. four
D. five
6 Which operators are applied over one operand only ?
A. unary
B. binary
C. ternary
D. all of these
7 Which format specifier is used for integer data type ?
A. %d
B. %i
C. both a and b
D. none of these
8 In escape sequence first character is always __________ and the second character varies according to the functionality that we want to achieve:
A. back slash (\)
B. /
C. ?
D. :
9 Which operator is used to divide the value on left side by the value on right side ?
A. \
B. /
C. +
D. -
10 In which function character entered by user does not get displayed on screen ?
A. getch()
B.

count
C. string
D. printf

Test Questions

Is this page helpful?

Share your comments & questions here

Guest
  • ahmed tahir

    ahmed tahir

    13 May 2018

    hi

    Like
    Reply