1 |
If x=10 and y=5,, what will the output of the following expression?<div>x>y? x*y: x+y</div> |
|
2 |
A key in a relation |
- A. May not functionally determine any attribute in the row
- B. Functionally determine only one attribute in the row
- C. Functionally determine at least one attribute in the row
- D. Functionally determine all the attribute in the row
|
3 |
From the followings which is different |
- A. If
- B. Else-if
- C. Function
- D. Switch
|
4 |
In 3NF a non-key attribute must not depend on a |
- A. Non-key attribute
- B. Key attribute
- C. Composite key
- D. Sort key
|
5 |
Another term for a conditional operator is: |
- A. Ternary
- B. Binary
- C. Byte
- D. Iteration
|
6 |
From the following which is called control statement |
- A. If
- B. If-else
- C. Else-if
- D. All of the above
|
7 |
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:
|
8 |
Which is an example of multiple branches form single expression? |
- A. If statement
- B. Switch statement
- C. While loop
- D. All
|
9 |
Insert command is used to insert: |
- A. A new table
- B. A new record
- C. A view
- D. Dependencies
|
10 |
The operators to compare operands and decide if the relation is true or false are: |
- A. Arithmetic operators
- B. Logical operators
- C. Syntax operators
- D. Relational operators
|