NAT I Computer Science Computer With Answers

image
image
image

NAT I Computer Science Computer

Sr. # Questions Answers Choice
1 Which of the following operators are used to express the conditions? Arithmetic operator Relational operator Assignment operator Logical operator
2 What keyword does the C language to implement the decision control instruction use? If Else If-else Both a and c
3 The statements following else in an if-else construction are executed when The conditional expression following if is false The conditional expression following if is true The conditional expression following else is false The conditional expression following else is true
4 A,,,,,,,,,,,,,,,,is a series of declarations and statements surrounded by braces. Compound statement If statement If-else statement Switch statement
5 When we declare the integer as unsigned int num-students then what will be the range of integers? -32768 to +32767 -65535 to 0 0 to 5535 0 to 4294967295
6 Which of the following is correct? Sort unsigned int 1 Unsigned int I Unsigned I
7 23 is an integer and would occupy two bytes whereas 23L is a integer and would occupy Two bytes Three bytes Four bytes Six bytes
8 Which of the following function is used for scanf() function preceding the variable name used as an argument? % $ & @
9 If scanf function (&) represented as Relational operator Logical operator Address operator Precedence operator
10 Which of the following function allows us to enter the data from the keyboard Printf() Scanf() Getch() Getche()
Download This Set