Fbise Notes-Computer | Input and Output Handling | MCQs chapter no.3 class 10th


input and output handling


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( )



 iii.    Which character terminates a C statement?

                  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


  v.     Which escape sequence is used to move cursor to the beginning of current line ?

                  A.     \a                                  B.     \r      
                 C.     \n                                   D.   \b


 vi.      Which of the following is an arithmetic operator?
              
                  A.     %                                 B.<=
                 C.     &&                                D.  +=


 vii.    Which of the following is a logical operator?
              
                  A.     %                                 B.<=
                 C.     &&                                D.  +=


 viii.    Which statement is equivalent to "k = k+a;" ?

                    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 




☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀

       Note:Must Subscribe to get the latest copies of fbise notes,          computer science mcqs, computer science 9th class notes, computer            science notes for class 10, board papers and much more.     

              ☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀☀
                                                              
Fbise Notes-Computer | Input and Output Handling | MCQs chapter no.3 class 10th Fbise Notes-Computer | Input and Output Handling | MCQs chapter no.3 class 10th Reviewed by fbisenotes on August 22, 2019 Rating: 5

No comments:

Powered by Blogger.