ECAT Computer Input Output Test Online

ECAT Computer Science Input/OutputTest

ECAT Computer Science Chapter 20 Input Output Online Test

Total Questions: 50
Time Allowed: 25 Minutes
Total Marks: 50
How to Attempt Test: Please choose the right Option in MCQ-type question.
Test Helpful For: ECAT Entry Test
Computer Online Test
Interview Questions about Computer
All Universities Entrance Test
Recruitments Tests

ECAT Input/Output Test Online MCQs

 0%

Page 1 of 2

Uncategorized

1. Which function reads a single character and echoes it to the screen?

2. What is the format specifier for reading a string?

3. Which I/O function is used for file input/output?

4. Which function is used to read a string from the user?

5. Which function is used to get the current position of the file pointer?

6. What does scanf("%d", &x); do?

7. Which function can be used to flush the output buffer?

8. Which function pauses the program until a key is pressed?

9. Which function is used to read a character from a file?

10. Which function is used to read formatted input from the keyboard?

11. Which function is used to close an open file?

12. Which mode opens a file for both reading and writing, starting at the beginning?

13. What is the correct format specifier for printing an integer in C?

14. Which of the following functions detects end-of-file?

15. What is the correct format specifier to print a double?

16. How do you read a character array (string) using scanf()?

17. What does ferror() check?

18. Which of the following can be used to print hexadecimal values?

19. Which of the following functions allows formatted input from a file?

20. Which of the following format specifiers is used for reading a float?

21. Which function is safer to use instead of gets()?

22. Which function would you use to input values into multiple variables?

23. What is the output of printf("%c", 'A' + 1);?

24. Which of the following is used for binary file input/output?

25. What is the return value of scanf() when it successfully reads one input?


 

You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.

Mustansar Khan

Hey Exam Warriors! I'm Mustansar Khan, your ally in conquering tests. Uncover strategies, real-time experiences, and expert advice to turn your study sessions into victories. Let's gear up for success!

Your Related

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
error: