NAT I Computer Science With Answers

NAT I Computer Science

Sr. # Questions Answers Choice
1 %10.5d, where 15 is a Integer Precision Field where Format symbol
2 The floating point argument in exponential notation is representation as %c %g %e %f
3 The format specifier % is used for Integer Unsigned short Unsigned float Unsigned long int
4 The escape sequence for backslash is \ \b \\ \ t
5 The function getche () is defines in: Stdio.h String.h Math.h Conio.h
6 The character "{" is a Keyword Constant Punctuators
7 The six kinds of words keywords variables constants string constants operators and punctuators are also called Group Token Identifiers All the above
8 Which of the following special symbol is used within a variable? + @ - %
9 Some compilers allow variable names whose length could be up to 1 to 20 Characters 1 to 40 characters 1 to 60 characters 1 to 80 characters
10 The words that are made up of a sequence of characters letters and digits are called Constant Operators Variables Punctiators
11 Which of the following is not a keyword? Case Close Char Const
12 If you write a comment in C program then which of the following character is used? //and// /*and /* /* and */ ** and **
13 a+=b is equivalent to b+=a a = + b a= a +b b= b +a
14 The logical not operator denoted by ! is a Ternary operator Uniary Operator Binary Operator Bitwise operator
15 Which of the following operators has lowest precedence? ! + = ==
16 The symbol '=' represents Comparison operator Assignment operator Equal to operator None of these
17 Which of the following data type offers the highest precision? Float Long int Long double Unsigned long int
18 Which of the following is a valid character constant? a "b" '6' =
19 Variables are created in RAM ROM Hard disk Cache
20 In b = 6.6/a+(2*a+(3*c)/a*d)/(2/n): which operation will be performed first 6.6/a 2*a 3 * c 2 /n
Download This Set

Is this page helpful?