Input and Output Handling CH# 03
Multiple Choice
Q. 1 Insert the correct option i.e. A/B/C/D in the empty box.
i. Which function is used for output purpose in C language?
A. printf( ) B. scanf( )
C. input( ) D. getch( )
ii. Which function reads a single character the instant it is typed without Enter key?
A. scanf( ) B.gets( )
C. getch( ) D. getche( )
C. getch( ) D. getche( )
A. Colon B. Semicolon
C. Period D. Comma
iv. Which format specifier is used to print or read a floating-point value in decimal notation?
A. %d B. %g
C. %f D. %e
A. \a B. \r
C. \n D. \b
C. \n D. \b
A. % B.<=
C. && D. +=
A. % B.<=
C. && D. +=
A. k+=a; B. k=+a;
C. k++a; D. k=a++;
ix. Which of the following is an increment operator?
A. + B. +=
C. ++ D. =+
x. Which will be the output of the expression, 5+3*3-1 ?
A. 16 B. 13
C. 23 D. 12
☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀
☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀
Fbise Notes-Computer | Input and Output Handling | MCQs chapter no.3 class 10th
Reviewed by fbisenotes
on
August 22, 2019
Rating:
No comments: