Online MCQs Test – Input Output Handling in C++ – Computer 10th

Class 10th | Computer | Chapter 3 | Input Output Handling in C++ | Solved Online MCQs Test

Online MCQs Test of Chapter 3 (Input Output Handling in C++) Computer Class 10th Science Group – Sindh Board. According to New Examination Pattern / Syllabus of Sindh Board

1. Single line comment written in C++ with ____________ symbol.

 
 
 
 

2. Increment and decrement operators operate on only one operand and are called:

 
 
 
 

3. What value does the variable a have, after all of the code executes?
int a =1;
int b;
b = a++;

 
 
 
 

4. gets ( ) function is used to input data type:

 
 
 
 

5. Which of the following escape sequence represents carriage return?

 
 
 
 

6. Every C++ program must have this function.

 
 
 
 

7. Those operators that require two operands are known as:

 
 
 
 

8. The # symbol is called ___________ directives

 
 
 
 

9. Each escape sequence must start with.

 
 
 
 

10. cin( ) statement is used to data from standard input device:

 
 
 
 

11. The multi-line comment begins with the character set of.

 
 
 
 

12. The remainder operator (%) requires that both operands be.

 
 
 
 

13. \n escape sequence is used to move the cursor to.

 
 
 
 

14. Logical NOT operator takes operand:

 
 
 
 

15. The symbol << is called.

 
 
 
 

16. Which of the following operator works only with integer variables?

 
 
 
 

17. Relational operators are used to ___________ two operands:

 
 
 
 

18. Equality operator is denoted by.

 
 
 
 

19. All C++ statements must end with:

 
 
 
 

20. getche ( ) function gets a character and the character:

 
 
 
 


Scroll to Top