1 |
Which of the following statements is the simplest form of a decision structure? |
- A. Select..case
- B. If statement
- C. Try..Catch..Finally
- D. Nested if
|
2 |
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
|
3 |
_______ is created when the same name is used for two different attributes |
- A. Synonyms
- B. Homonyms
- C. Redundant information
- D. Mutually exclusive data
|
4 |
Which programming structure makes a comparison? |
- A. Relation
- B. Decision
- C. Sequence
- D. Repitition
|
5 |
Another term for a conditional operator is: |
- A. Ternary
- B. Binary
- C. Byte
- D. Iteration
|
6 |
An expression that uses a relational operator is known as: |
- A. Operational
- B. Sequential
- C. Serial
- D. Relational
|
7 |
You can use a decision statement to: |
- A. Run a series of statements if a test fails
- B. Test series of conditions
- C. Test whether a condition is true or false
- D. All of these
|
8 |
The first line in switch block contains: |
- A. The value of the first criterion
- B. The expression to be evaluated
- C. The statement to be executed if none of the criteria are true
- D. The statement to be executed if the criterion are true
|
9 |
Another term for a computer making a decision is: |
- A. Sequential
- B. Selection
- C. Repetition
- D. Iteration
|
10 |
Which of the following is used for making two way decision: |
- A. if-else
- B. If
- C. Nested if
- D. Switch
|