Home / C languaege / C Language MCQS FOR ICS Part 2

C Language MCQS FOR ICS Part 2

C Language MCQSBest C language MCQS for Practice

1.Which of the following statement can be used in C language

(a)While                                         (b) Do While                              (c) For                                  (d) All

(d) All

2.The loop structure that execute a statement at once

(a) Do while                                     (b) For                                      (c) While                             (d) none

(a) Do while  

3.The loop structure in which condition comes after the body of the loop

(a)Do while                                       (b) while                                  (c) for                                   (d) all

(a)Do while  

if you want to read some theory the also check C language basic

4.Repetition structure is used to execute a statement or set of statement

(a) Once                                            (b) More than one time           (c) Skip statement                 (d) All

   (b) More than one time  

5.Which of the following cannot be used as in conditional operator

(a) ?                                                    (b) >                                        (c)   :                                     (d)#

        (d)#

6.The key word to come out of the body of switch statement body

(a) Out                                                 (b) break                                 (c) Continue                         (d) End

    (b) break

7.The loop statement in C language are

(a) 1                                                      (b) 2                                         (c) 3                                   (d) 4

  (c) 3

8.The set of statement that executes repeatedly due to loop statement is called

(a) Code of loop                                   (b) body of loop                         (c) loop structure              (d) All

  (b) body of loop    

9.Go to statement cannot work properly without

(a) Condition                                      (b) Operator                                 (c) Label                           (d) None

(c) Label  

10.An if statement used with another if is called

(a) Inner if                                        (b) nested if                                  (c) internal if                       (d) none

  (b) nested if

Best C language MCQS for Practice Part 2

1.Which of the following is ternary operator

(a) ++                                                 (b) —                                           (c) ?                                      (d)%

        (c) ?    

2.Which of the following correct if statement

(a) If(x=y)                                               (b) if(x<=7)                              (c) if (++)                (d) if(x%y)

if(x<=7)    

3.Conditional statement are used for

(a)Design making                                  (b) test a condition                    (c) Test series of condition    (d) All

(d) All

4.The simplest form of decision making is

(a) If                                                        (b) if-else                                 (c) select if                             (d)nested if

(a) If    

5.Which of the following is logical operator

(a) &&                                                     (b) ||                                           (c)!                                        (d)All

(d)All

6.Specify unary operator from following     

(a)!                                                        (b)–                                             (c) ++                                       (d) All

(a)!    

7.Which of the following is a relational operator

(A)!                                                      (b)*                                               (c)>                                            (d) =

(c)>   

8.The programming structure that execute program statement in order is

(a) Selection                                       (b) sequence                                 (c)repetition                   (d)iterative

  (b) sequence

9.which of the following is a decision making statement

(a) break                                            (b) getch                                          (c)if                                (d) all

 (c)if    

10.The operator that is used in decision making

(a)increment                                       (b)decrement                                  (c)conditional             (d)none

 (c)conditional   

11.We can make decision with the help of

(a)if                                                    (b)nested if                                     (c)if-else                       (d)none

12.The programming structure used for decision making

(a)Selection                                        (b)Sequence                              (c)repetitive                         ( d)iterative

(a)Selection  

13.The type of expression x>y is

(a) Athematic                                        (b) Relational                              (c)logical                        (d)none

 (b) Relational  

14.The conditional part of if statement consist of

(a)Arithmetic expression                 (b)Relational expression             (c)logical expression       (d)none

  (b)Relational expression  

15.The conditional operator needs ….operands

(a)1                                                (b)2                                               (c) 3                               (d)4

   (b)2

16.In switch every block statement ends with

(a)break                                          (b) end case                                   (c)select                          (d)none

(a)break  

17.An if statement used with another if is called

(a) Inner if                                        (b) nested if                                  (c) internal if                 (d)none

 (b) nested if  

18.Which of the following is ternary operator

(a) ++                                                  (b)  —                                             (c)?                                (d)%

(c)? 

 

Best C language MCQS for Practice part 3

1.The simplest form of decision making is

(a) if                            (b)if-else                          (c)select if                      (d)nested if

(a) if 

2.Which of the following is  logical operator

(a) &&                           (b)||                                (c)!                                (d)All

  (d)All

3.Which of following is a unary operator

(a)!                                 (b)–                               (c)++                              (d)All

a)!   

4.Which of the following is a relational operator

(a) !                              (b)*                                (c)>                               (d)=

     (c)>  

5.With the help of relational operator we can

(a)Make calculation       (b)Make comparison      (c) Make decision         (d)All

   (b)Make comparison 

6.From multiple choices we select one with the help of

(a) If                               (b)nested if                       (c)switch                        (d)All

      (c)switch 

7.Which key can be used in switch statement

(a)case                              (b) break                      (c) default                      (d)All

(d)All

8.Which of the following cannot be used as in conditional operator

(a) ?                               (b)>                                (c):                                (d)    #

       (d)    #

9.Which of the following is optional in switch statement

(a)case                             (b) break                       (c)default                         (d)switch

     (c)default   

we will also share solution for c  language MCQS for and also share more mcq’s about C language.

The following two tabs change content below.
Hi I am Ch Shahbaz from Pakistan.I love to writing different type of informative Articles. By profession i am a Pro Blogger, Web Developer, Graphic Designer and Creative writer.

Latest posts by Ch Shahbaz (see all)

Check Also

GW BASIC MCQS in Urdu and English

 GW BASIC MCQ,s in Urdu and English for class 10

 Often people feeling difficulty while making paper of GW BASIC MCQS in Urdu and English …

Leave a Reply

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