MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
WHICH_GRAMMAR_VIOLATE_RULES_OF_AN_OPERATOR_GRAMMAR??$ |
| A. | P-> QR |
| B. | P -> Q s R |
| C. | P -> ε |
| D. | P ->Q t |
| Answer» C. P -> ‚âà√≠¬¨¬µ | |
| 2. |
WHICH_OF_THE_FOLLOWING_IS_NOT_AN_ADVANTAGE_OF_USING_SHARED,_DYNAMICALLY_LINKED_LIBRARIES_AS_COMPARED_TO_STATICALLY_LINKED_LIBRARIES??$ |
| A. | Smaller sizes of executable |
| B. | Lesser overall page fault rate in the system |
| C. | Faster program start-up |
| D. | Existing programs need not be re-linked to take advantage of newer versions of libraries |
| Answer» C. Faster program start-up | |
| 3. |
If dynamic scoping is used and call by name mechanism is used, the values printed will be |
| A. | 115, 220 |
| B. | 25, 220 |
| C. | 25, 15 |
| D. | 115, 105 |
| Answer» C. 25, 15 | |
| 4. |
If the programming language uses static scoping and call by need parameter passing mechanism, the values printed by the above program are |
| A. | 115, 220 |
| B. | 25, 220 |
| C. | 25, 15 |
| D. | 115, 105 |
| Answer» E. | |
| 5. |
Dynamic linking can cause security concerns because |
| A. | Security is dynamic |
| B. | None of the mentioned |
| C. | Both of the mentioned |
| D. | Cryptographic procedures are not available for dynamic linking |
| Answer» E. | |