MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The IN operator tests set membership. x IN (set) means that x is equal to any member of set. |
| A. | Yes |
| B. | No |
| C. | Can be yes or no |
| D. | Can not say |
| E. | |
| Answer» B. No | |
| 2. |
Which operator has highest precedence? |
| A. | identity |
| B. | negation |
| C. | addition |
| D. | exponentiation |
| Answer» E. | |
| 3. |
Variable A holds true and variable B holds false, then not (A and B) is? |
| A. | TRUE |
| B. | FALSE |
| C. | Null |
| D. | Error |
| Answer» B. FALSE | |
| 4. |
Variable A holds 10 and variable B holds 5, then (A = B) is? |
| A. | TRUE |
| B. | Not true |
| C. | Null |
| D. | Error |
| Answer» C. Null | |
| 5. |
The LIKE operator compares a character, string, or CLOB value to a pattern and returns TRUE if the value matches the pattern and FALSE if it does not. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| Answer» B. FALSE | |
| 6. |
The ______ operator tests whether a value lies in a specified range |
| A. | LIKE |
| B. | BETWEEN |
| C. | IN |
| D. | NULL |
| Answer» C. IN | |
| 7. |
How many results comparison operators can give? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» D. 4 | |
| 8. |
Which operator checks if the values of two operands are equal or not, if yes then condition becomes true? |
| A. | not equal |
| B. | greater than |
| C. | less than |
| D. | equal |
| Answer» E. | |
| 9. |
___________ compare two expressions or values and return a Boolean result. |
| A. | Arithmetic operators |
| B. | Comparison operators |
| C. | Relational operators |
| D. | Logical operators |
| Answer» D. Logical operators | |
| 10. |
Which of the following operator adds two operands? |
| A. | Subtracts |
| B. | Addition |
| C. | Multiplies |
| D. | Exponentiation |
| Answer» C. Multiplies | |