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. If an increment or decrement operator is placed after a variable, it is called as.

 
 
 
 

2. is ______________ file.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

7. The # symbol is called ___________ directives

 
 
 
 

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

 
 
 
 

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

 
 
 
 

10. The symbol << is called.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

14. Logical NOT operator takes operand:

 
 
 
 

15. Equality operator is denoted by.

 
 
 
 

16. All C++ statements must end with:

 
 
 
 

17. Relational operators are used to ___________ two operands:

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 


Scroll to Top