1 |
Which of the following is not a good primary key |
- A. Social security number
- B. Order number
- C. Zip code
- D. STD ID number
|
2 |
The number of bytes used by long int data type in C is: |
|
3 |
A primary key that consists of more than one attribute is called a |
- A. Foreign key
- B. Composite key
- C. Multi-valued key
- D. Global key
|
4 |
The symbol '=' represents |
- A. Comparison operator
- B. Assignment operator
- C. Equal to operator
- D. None of these
|
5 |
Which of the following are valid variable names? |
- A. Long
- B. Integer
- C. Notlongenough
- D. Both B and C
|
6 |
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
|
7 |
Which statement is true about data types? |
- A. Data type has no memory requirements
- B. Each data type has different memory requirements
- C. Each data type has same memory requirements
- D. None of the above
|
8 |
An integer variable can store the value: |
- A. -1.1
- B. "123"
- C. 32898
- D. 5.5
|
9 |
The number of bytes used by int data type in C is: |
|
10 |
Which of the following statement is correct? |
- A. float num1;num2;
- B. int day,night;
- C. int continue=5.0;
- D. string black='white';
|