MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your software design modeling (SDM) knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which GOF design pattern is applied in the code snippet below? |
| A. | printspooler design pattern |
| B. | singleton design pattern |
| C. | factory design pattern |
| D. | abstract singleton design pattern |
| Answer» C. factory design pattern | |
| 2. |
How is Multiple Client/Multiple Service |
| A. | a service can receive requests frommultiple clients. |
| B. | a client can send requests to multipleservices. |
| C. | a client can send requests to other clients. |
| D. | a service can respond to requestsfrom multiple clients. |
| Answer» E. | |
| 3. |
When designing an entity class as a relational |
| A. | the relational table has multipleprimary keys. |
| B. | the relational table has multipleforeign keys. |
| C. | the relational table has a primarykey. |
| D. | the relational table has a concatenatedprimary key. |
| Answer» B. the relational table has multipleforeign keys. | |
| 4. |
A producer sends a message to a consumer. |
| A. | the producer waits for a responsefrom the consumer. |
| B. | the producer does not wait for aresponse from the consumer. |
| C. | the producer goes to sleep. |
| D. | the producer waits for a timeout. |
| Answer» C. the producer goes to sleep. | |