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. Relational operators are used to ___________ two operands:

 
 
 
 

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

 
 
 
 

3. is ______________ file.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

9. All C++ statements must end with:

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

14. Equality operator is denoted by.

 
 
 
 

15. Each escape sequence must start with.

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 


Scroll to Top