

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science Engineering (CSE) knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following statements is true,I) There are 5 views that are represented through the Unified Modelling Language UMLii) These 5 views in UML are represented through 9 UML diagrams. |
A. | only i is true |
B. | only ii is true |
C. | both i and ii are true |
D. | none of them is true |
Answer» D. none of them is true | |
2. |
When designing an entity class as a relationaltable, which of the following isNOT true? |
A. | the relational table has multiple primary keys. |
B. | the relational table has multiple foreign keys. |
C. | the relational table has a primary key. |
D. | the relational table has a concatenated primary key. |
Answer» B. the relational table has multiple foreign keys. | |
3. |
How is Multiple Client/Multiple Servicearchitectural pattern different from aMultiple Client/Single Service architecturalpattern? |
A. | a service can receive requests from multiple clients. |
B. | a client can send requests to multiple services. |
C. | a client can send requests to other clients. |
D. | a service can respond to requests from multiple clients. |
Answer» E. | |
4. |
Which GOF design pattern is applied in the code snippet below?public class PrintSpooler {private static final PrintSpooler INSTANCE = new PrintSpooler();private PrintSpooler() {}public static PrintSpooler getInstance() {return INSTANCE;}} |
A. | printspooler design pattern |
B. | singleton design pattern |
C. | factory design pattern |
D. | abstract singleton design pattern |
Answer» C. factory design pattern | |
5. |
How many views of the software can be represented through the Unified Modeling Language (UML)? |
A. | four |
B. | five |
C. | nine |
D. | none of the above |
Answer» C. nine | |
6. |
A producer sends a message to a consumer.Which one of the following isasynchronous message communication? |
A. | the producer waits for a response from the consumer. |
B. | the producer does not wait for a response from the consumer. |
C. | the producer goes to sleep. |
D. | the producer waits for a timeout. |
Answer» C. the producer goes to sleep. | |