1 |
Which programming structure executes program statements in order? |
Relation
Decision
Sequence
Repition
|
2 |
The three programming structures are: |
Sequence, decision, and repition
Process, decision, and alternation
Sequence, definition, and process
Relation, comparison, and process
|
3 |
Insert command is used to insert: |
A new table
A new record
A view
Dependencies
|
4 |
break keyword is used in |
If statement
If-use
Else-if
None of the above
|
5 |
Which is not possible |
Nesting if statement
Loop in the body of statement
If statement in the body of loop
None of above
|
6 |
From the followings which is different |
If
Else-if
Function
Switch
|
7 |
Key is used in |
If statement
Else if statement
Switch statement
All of the above
|
8 |
From the following statement which is the control statement |
If
Else if
Switch
All of the above
|
9 |
Switch statement must use the keyword |
Case
Default
Break
All of the above
|
10 |
From the following which is called control statement |
If
If-else
Else-if
All of the above
|
11 |
A key in a relation |
May not functionally determine any attribute in the row
Functionally determine only one attribute in the row
Functionally determine at least one attribute in the row
Functionally determine all the attribute in the row
|
12 |
Database integrity refers to the |
Correctness of data
Consistency of data
Both a and b
None of these
|
13 |
_______ is created when the same name is used for two different attributes |
Synonyms
Homonyms
Redundant information
Mutually exclusive data
|
14 |
When we make any modification in a relation it is called |
Insertion anomaly
Deletion anomaly
Modification anomaly
Both a and b
|
15 |
In 3NF a non-key attribute must not depend on a |
Non-key attribute
Key attribute
Composite key
Sort key
|