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. |
Semicolons are optional in TypeScript. |
| A. | Yes |
| B. | No |
| C. | Can be yes or no |
| D. | Can not say |
| E. | |
| Answer» B. No | |
| 2. |
A ________ in terms of OOP is a blueprint for creating objects. |
| A. | constructor |
| B. | method |
| C. | function |
| D. | class |
| Answer» E. | |
| 3. |
According to Grady Brooch, every object must have _________ features. |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» D. 4 | |
| 4. |
TypeScript supports how many types of comments? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» C. 3 | |
| 5. |
TypeScript is ? |
| A. | case-sensitive |
| B. | Case-insensitive |
| C. | depends on typescript version |
| D. | Can not say |
| Answer» B. Case-insensitive | |
| 6. |
How many components typescript has? |
| A. | 2 |
| B. | 3 |
| C. | 4 |
| D. | 5 |
| Answer» C. 4 | |
| 7. |
TypeScript supports Object Oriented Programming concepts like classes, interfaces, inheritance. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| Answer» B. FALSE | |
| 8. |
Extension of typescript is? |
| A. | .d.ty |
| B. | .d.tp |
| C. | .d.ts |
| D. | .d.td |
| Answer» D. .d.td | |
| 9. |
Which of the following are features of typeScript? |
| A. | TypeScript is just JavaScript |
| B. | TypeScript supports other JS libraries |
| C. | TypeScript is portable |
| D. | All of the above |
| Answer» E. | |
| 10. |
TypeScript is a ? |
| A. | strongly typed |
| B. | object oriented |
| C. | compiled language |
| D. | All of the above |
| Answer» E. | |