1 |
Which of the following operations has lowest precedence? |
|
2 |
Variable are created in: |
- A. RAM
- B. ROM
- C. Hard Disk
- D. USB
|
3 |
The exponential notation consists of: |
- A. Mantissa
- B. Exponent
- C. Range
- D. A and B
|
4 |
Which of the following data types is most appropriate for storing a name? |
- A. float
- B. int
- C. char
- D. long
|
5 |
The number of bytes used by float data type in C is: |
|
6 |
Which of the following statement is correct? |
- A. float num1;num2;
- B. int day,night;
- C. int continue=5.0;
- D. string black='white';
|
7 |
Which is true about a variable? |
- A. The name and data value can both change
- B. The name can change, but the data value cannot
- C. The name cannot change, but the data value can
- D. The name and the data value both cannot changed
|
8 |
the integer, long and short data types are known as: |
- A. Integer data types
- B. Non-integral data types
- C. float data types
- D. Non-numeric data types
|
9 |
Which of the following are valid variable names? |
- A. Long
- B. Integer
- C. Notlongenough
- D. Both B and C
|
10 |
Which is a numeric data type ? |
- A. float
- B. int
- C. Both a and b
- D. char
|