Class 2nd Year Program ICS

OBJECTIVE

Paper Computer Time 20 min

Note: Cutting and overwriting is not allowed
14 Marks 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 a 10 a 11 a 12 a 13 a 14 a Pre-processor directives are commands for: Compiler b Linker c Preprocessor Loop inside another loop is called: while loop b do-while loop c for loop Which of the following are NOT relational operators? > b < c == ------ is used to specify two different choices with ‘if’ if-else statement b else statement b if statement

d d

All of these none

d <= statement: d All

Which is not a logical operator 11 b ! C != d && Which of the following operator has lowest precedent: ! b + c = d == Which loop statement execute the body of loop at last once? do-while b While c for d None The shortcut key ____ is used to compile a C program F5 b F2 c F9 d None Which of the following is a correct comment? */Comment*/ b **Comment** c {Comment} d /*Comment*/ Local variable are also called: Normal b Global c Automatic d None Semicolon is placed at the end of condition in: Do-while loop b While loop c For loop d All Switch statement is an alternative of: If b If-else c nested-if d None Logical operators are: NOT b AND c OR d All In my opinion this paper (subjective + Objective) is : Easy b Normal c Difficult d Very Difficult

www.ravianseducation.webs.com

Sign up to vote on this title
UsefulNot useful