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. All C++ statements must end with:

 
 
 
 

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

 
 
 
 

3. The symbol << is called.

 
 
 
 

4. In this statement “int main(void)” the second void is.

 
 
 
 

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

 
 
 
 

6. Relational operators are used to ___________ two operands:

 
 
 
 

7. Logical NOT operator takes operand:

 
 
 
 

8. is ______________ file.

 
 
 
 

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

 
 
 
 

10. In which logical operator, the result of operation will be true, if both operands are true, otherwise false:

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

15. Equality operator is denoted by.

 
 
 
 

16. The # symbol is called ___________ directives

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 


Scroll to Top