1 |
Which variable should be used to store the value "I want an A in this exam". |
- A. char
- B. int
- C. float
- D. character
|
2 |
Which of the following statements is NOT legal? |
- A. char ch='b';;
- B. char ch='0'
- C. char ch=65;
- D. char ch="cc"
|
3 |
How many primary keys can a table have |
- A. One
- B. At least one but not more than two
- C. Between 1-5
- D. No limit
|
4 |
Variable are created in: |
- A. RAM
- B. ROM
- C. Hard Disk
- D. USB
|
5 |
A process of assigning initial value to a variable at the time of declaration is called: |
- A. Assigning
- B. Initializing
- C. Naming
- D. setting
|
6 |
Another way to write the value 3452211903 is: |
- A. 3.452211903e09
- B. 3.45221193e-09
- C. 3.452211903<span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 16px;">×09</span>
- D. 3452211903e09
|
7 |
The number of bytes used by float data type in C is: |
|
8 |
Which is a valid statement for initializing of a variable? |
- A. int n=100;
- B. int x=50, y=75;
- C. char grade='a'
- D. All of these
|
9 |
An attribute that uniquely identify each row in a relation is called |
- A. Column
- B. Foreign
- C. Primary key
- D. Duplicate key
|
10 |
What happens when the result of a calculation exceeds the capacity of data type? |
- A. System error
- B. Logic error
- C. Syntax error
- D. Over flow
|