1 |
To be in 2NF every non key attribute must depend on |
- A. Key
- B. All parts of the key
- C. Composite key
- D. Both a and b
|
2 |
From the followings which is different |
- A. If
- B. Else-if
- C. Function
- D. Switch
|
3 |
Conditional operator takes _____________ operands. |
|
4 |
When a relational expression is false, it has the value __________ |
|
5 |
From the following statement which is the control statement |
- A. If
- B. Else if
- C. Switch
- D. All of the above
|
6 |
Which programming structure executes program statements in order? |
- A. Relation
- B. Decision
- C. Sequence
- D. Repition
|
7 |
Which of the following is used for making two way decision: |
- A. if-else
- B. If
- C. Nested if
- D. Switch
|
8 |
The conditional portion of the If statement can contain: |
- A. Any valid constant
- B. Any expression that can be evaluated to a Boolean value
- C. Any valid variable
- D. Any valid constant or vairable
|
9 |
Which of the following are valid case statements in a switch? |
- A. Case 1:
- B. Case x<4:
- C. Case 'ab':
- D. Case 1.5:
|
10 |
Which is not possible |
- A. Nesting if statement
- B. Loop in the body of statement
- C. If statement in the body of loop
- D. None of above
|