1 |
Which of the following operators has lowest precedence |
|
2 |
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
|
3 |
A memory location with some data that cannot be changed is called: |
- A. Constant
- B. Variable
- C. Keyword
- D. Address
|
4 |
Variable are created in: |
- A. RAM
- B. ROM
- C. Hard Disk
- D. USB
|
5 |
Which of the following are valid variable names? |
- A. Long
- B. Integer
- C. Notlongenough
- D. Both B and C
|
6 |
Which of the following statements is NOT legal? |
- A. char ch='b';;
- B. char ch='0'
- C. char ch=65;
- D. char ch="cc"
|
7 |
Which term describes the kind of values that a variable can store? |
- A. Varaible name
- B. Datatype
- C. Varaibletype
- D. Varaiblesize
|
8 |
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
|
9 |
Variable and constant names can not contain a(n): |
- A. Number
- B. Underscore
- C. Upper case letter
- D. Lower case letter
|
10 |
Which is NOT a rule for naming variables? |
- A. Use a descriptive name for the value
- B. Start the name of variable with a letter
- C. Use nothing but letters, digits, or the underscore character
- D. All the above
|