MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
WHICH_OF_THE_OPERATOR_IS_USED_TO_TEST_IF_A_PARTICULAR_PROPERTY_EXISTS_OR_NOT??$ |
| A. | in |
| B. | exist |
| C. | within |
| D. | exists |
| Answer» D. exists | |
| 2. |
Among_the_following,_which_one_is_a_ternary_operator?$ |
| A. | + |
| B. | : |
| C. | – |
| D. | ?: |
| Answer» B. : | |
| 3. |
What kind of an expression is “new Point(2,3)”?# |
| A. | Primary Expression |
| B. | Object Creation Expression |
| C. | Invocation Expression |
| D. | Constructor Calling Expression |
| Answer» E. | |
| 4. |
The expression of calling ( or executing ) a function or method in JavaScript is called ________ |
| A. | Primary expression |
| B. | Functional expression |
| C. | Invocation expression |
| D. | Property Access Expression |
| Answer» B. Functional expression | |
| 5. |
The property of a primary expression is ____________ |
| A. | stand-alone expressions |
| B. | basic expressions containing all necessary functions |
| C. | contains variable references alone |
| D. | contains only keywords |
| Answer» E. | |
| 6. |
A function definition expression can be called as __________ |
| A. | Function prototype |
| B. | Function literal |
| C. | Function calling |
| D. | Function declaration |
| Answer» B. Function literal | |
| 7. |
123246 |
| A. | 246 |
| B. | 123123 |
| C. | Exception |
| Answer» C. Exception | |