×
2nd Unit

10th class Computer Chapter 2 (English Medium)

Here you can prepare 10th Computer Science chapter 2 online MCQ test with answers (Unit 2 Programming In C). Click the button for 100% free full practice test.

Matric Part 2/10th Class Computer Science Chapter 2 MCQ Test With Answer for Unit 2 (Programming In C)

Matric Part 2/10th Class Computer Science Chapter 2 MCQ Test With Answer for Unit 2 (Programming In C)

Sr. # Questions Answers Choice
1 Which of the following is a valid line of code ?
  • A. int = 20;
  • B. grade = 'A';
  • C. line = this is a line,
  • D. none of these
2 Which operator negates or reverses the value of Boolean expression ?
  • A.
  • B.
  • C.
  • D.
3 All of arithmetic operators, relational operators and logical operators && and || are:
  • A. unary operators
  • B. binaryoperators
  • C. ternaryoperators
  • D. all of these
4 Which operator requires three operands respectively to perform the operation ?
  • A. unary
  • B. binary
  • C. ternary
  • D. all of these
5 Which of the following is used as an assignmentoperator in C language ?
  • A. =
  • B. ==
  • C. +
  • D. ?
6 Which of the following is a valid character ?
  • A. 'here'
  • B. "a"
  • C. '9'
  • D. none of them
7 scanf is a __________ in C programming language:
  • A. keyboard
  • B. library
  • C. function
  • D. none of them
8 In C language _______ is used as statement terminator:
  • A. ;
  • B. :
  • C. ,
  • D. "
9 Which format specifier is used for character data type ?
  • A. %d
  • B. %i
  • C. %c
  • D. %f
10 Which operator is used to subtract the value on right side from the value on left side ?
  • A. +
  • B. -
  • C. *
  • D. %

Top Scorers of 10th Class Computer Science Unit 2 Programming In C English Medium KPK Boards Online Mcqs

M

M Qasim Saleem

Lahore24 - Apr - 2022

11/11
10 Mins 50 Sec
A

Adilkhan Khan

Lahore09 - Apr - 2022

8/11
01 Mins 50 Sec
V

Viki George

Lahore12 - May - 2022

7/11
01 Mins 58 Sec

Share your comments questions here
Sort By:
X

Sign in

to continue to ilmkidunya.com

inquiry-image

Free Admission Advice

Fill the form. Our admission consultants will call you with admission options.

Online Famous Crops Of The World Quiz

10 Questions
Start Quiz
X

Sign in

to continue to ilmkidunya.com

X

Sign in

to continue to ilmkidunya.com

X

Forgot Password

to continue to ilmkidunya.com

X

Register Type

Please Provide following information to Register

  • Student
  • Tutor
  • Consultant
  • Employer