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)

10th Class Computer Science Chapter 2 Online Test

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

1 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. :
2 Which escape sequence is used to print the output on multiple lines ?
• A. \c
• B. \t
• C. \n
• D. \r
3 Which of the following is a type of operator ?
• A. assignment operator
• B. arithmeticoperators
• C. logicaloperators
• D. all of these
4 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. :
5 Which of the following is a valid line of code ?
• A. int = 20;
• C. line = this is a line,
• D. none of these
6 Escape sequences consists of ________ characters:
• A. two
• B. three
• C. four
• D. five
7 Which operators require two operands to perform the operations ?
• A. unary
• B. binary
• C. ternary
• D. all of these
8 Which operator has the highest precedence among the following ?
• A. /
• B. !
• C. &gt;
• D. &lt;
9 Escape sequences are used in printf function inside the:
• A. "and"
• B. 'and'
• C. :and:
• D. ,and;
10 Which operator performs division of left operand by the right operand and returns the remainder value after division ?
• A. +
• B. %
• C. *
• D. .

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

W

#### Waleed Hussain

Lahore04 - Aug - 2024

8/11
01 Mins 40 Sec

Sort By:
X

to continue to ilmkidunya.com

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

X

to continue to ilmkidunya.com

X

to continue to ilmkidunya.com

X