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. The remainder operator (%) requires that both operands be.

 
 
 
 

2. The symbol << is called.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

5. Relational operators are used to ___________ two operands:

 
 
 
 

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

 
 
 
 

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

 
 
 
 

8. is ______________ file.

 
 
 
 

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

 
 
 
 

10. Equality operator is denoted by.

 
 
 
 

11. This is a statement terminator in C++.

 
 
 
 

12. If an increment or decrement operator is placed after a variable, it is called as.

 
 
 
 

13. All C++ statements must end with:

 
 
 
 

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

 
 
 
 

15. Logical NOT operator takes operand:

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 


Scroll to Top