Explore topic-wise MCQs in Computer Science Engineering (CSE).

This section includes 458 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.

301.

A constraint specifies a condition or restriction that must be true.

A. true
B. false
Answer» B. false
302.

A unary association, also referred to as a self-association.

A. true
B. false
Answer» B. false
303.

The relationship among objects is based on ___.

A. assumptions each makes about other objects.
B. operations can be performed.
C. what behavior results.
D. all of above.
Answer» E.
304.

In Noun Phrase Approach- Nouns in the textual description are considered to be classes and verbs to be methods of classes.

A. true
B. false
Answer» B. false
305.

What is a business logic object?

A. an object used in business applications.
B. an object that defines business specific application logic
C. the internal logic of an object
D. a business object that determines whether a client request is logical
Answer» C. the internal logic of an object
306.

What is a boundary object?

A. an external object
B. an object that stores data
C. an object that communicates with an external object
D. an object that controls other objects
Answer» D. an object that controls other objects
307.

What can an inclusion use case be used for?

A. to describe an inclusive use case
B. to describe a lengthy interaction with an actor
C. to describe functionality that is common to more than one use case
D. to describe a use case that includes other use cases
Answer» E.
308.

What is a primary actor?

A. the actor who goes on stage first
B. the actor that starts the use case
C. an actor that participates in the use case
D. an object inside the system
Answer» C. an actor that participates in the use case
309.

Architecture of software is based on?

A. design
B. neither design nor requirements
C. design and requirements
D. requirements
Answer» E.
310.

What is a use case?

A. a case study involving users
B. a sequence of interactions between the user and the system
C. a sequence of user inputs to the system
D. a sequence of interactions between the user and the objects in the system
Answer» C. a sequence of user inputs to the system
311.

Which one of the following are correct statements?

A. an architecture may or may not defines components
B. an architecture is not dependable on requirements
C. an architecture is foremost an abstraction of a system that suppresses details of the components that do not affect how they are used
D. an architecture is only dependent on design
Answer» D. an architecture is only dependent on design
312.

 Which of the statements truly concludes client and server relation with architectural styles?

A. they are component types and their coordination is described in terms of protocols that server uses to communicate with each of its clients
B. multiple client cannot exist at an instance
C. architecture are countless for client and server but their architectural styles are different
D. architectures are same
Answer» B. multiple client cannot exist at an instance
313.

————– pattern describes a collection of distributed components that provide and/or consume the services.

A. client server
B. broker
C. p2p
D. soa
Answer» E.
314.

————— pattern defines a runtime component that mediates the communication between a number of clients and servers.

A. proxy
B. middleware
C. broker
D. load balancer
Answer» D. load balancer
315.

————- pattern splits system into a number of computationally independent execution structures to achieve optimized usage of resources.

A. layers
B. multi tier
C. agent
D. broker
Answer» C. agent
316.

Adding an intermediate component between two interacting modules in an application will improve:

A. security of the system
B. reliability of the system
C. availability of the system
D. modifiability of the system
Answer» E.
317.

—————- pattern facilitates accessing shared resources and services for large numbers of distributed distributed clients.

A. web server
B. client server
C. data server
D. proxy server
Answer» D. proxy server
318.

—————– pattern suggests a solution in which components interact with via announced messages or events.

A. newspaper
B. librarian
C. bookkeeper
D. publish subscribe
Answer» E.
319.

Layered architecture style is best suited to develop the software applications which require

A. the components to be easily replaceable
B. the high security of its data contents
C. the performance quality as a dominant factor
D. information separating as a dominant factor
Answer» B. the high security of its data contents
320.

System’s ability to continuously provide correct service without any failure, is called

A. performance
B. reliability
C. security
D. availability
Answer» C. security
321.

“An administrator wants to run different parts of the application in different systems, and also the system needs to exchange, add and remove the components at run-time.” Which one of the following architecture patterns will be most suitable in the context given above?

A. mvc
B. broker
C. blackboard
D. pipe and filter
Answer» C. blackboard
322.

There are two basic types of service-oriented solution logic:

A. service,service registries
B. service candidates,service registries
C. service ,service compositions
D. top-down service models,bottom-up service models
Answer» D. top-down service models,bottom-up service models
323.

One of the fundamental characteristics of service-oriented architecture is

A. business-driven
B. integration-centric
C. inventory-neutral
D. silo-driven
Answer» B. integration-centric
324.

In two-tier client/server architecture,the running of application programs and the user interface programs is in control of

A. modulation side
B. client side
C. server side
D. host side
Answer» C. server side
325.

Which diagram shows the configuration of run-time processing elements of the system? Select one:

A. deployment diagram
B. class diagram
C. component diagram
D. er diagram
Answer» D. er diagram
326.

Which of the following is not real-time architectural patterns that are commonly used?

A. asynchronous communication
B. observe and react
C. environmental control
D. process pipeline
Answer» B. observe and react
327.

Systems that involve interaction with a shared database can be considered as.

A. software-based
B. transaction-based
C. server-based
D. client-based
Answer» C. server-based
328.

What is a kernel system in a software product line(SPL)?

A. a member of the spl only composed of kernel classes
B. a member of the spl composed of kernel classes and possibly some default classes
C. a member of the spl composed of kernel classes and possibly some optional classes
D. a member of the spl composed of kernel classes and possibly some entity classes
Answer» C. a member of the spl composed of kernel classes and possibly some optional classes
329.

How are feature conditions used in a software product line(SPL) C32 state machine?

A. a guard condition
B. a condition that is true or false
C. to identify if a feature is selected or not in the state machine
D. to allow state machine inheritance
Answer» B. a condition that is true or false
330.

What does the C30software architecture describe?

A. the software inside a family of buildings
B. the structure of a client/server product family
C. the overall structure of the software product line
D. the software product line classes and their relationships
Answer» D. the software product line classes and their relationships
331.

What is the difference between an active object and a passive object?

A. an active object controls a passive object.
B. an active object does not have a thread of control; a passive object has a thread of control.
C. an active object executes in a distributed system; a passive object executes in a centralized system.
D. an active object has a thread of control; a passive object does not have a thread of control
Answer» E.
332.

Yellow pages brokering is useful when a service requester:

A. needs to discover the location of the service
B. knows the type of service required but not the specific service
C. knows the specific service required but not the type of service
D. needs to discover the broker
Answer» C. knows the specific service required but not the type of service
333.

With a Negotiation pattern, which of the following is NOT true?

A. the client agent can propose a service.
B. the service agent can offer a service in response to a client agent proposal.
C. the client agent can request a service.
D. the service agent can offer a service in response to a client agent request.
Answer» E.
334.

When designing an entity class as a relational table, which of the following is NOT 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.
335.

What happens in a Call/Return pattern?

A. a calling operation in the calling object sends a message to an operation (a.k.a. method) in the called object.
B. a calling operation in the calling object invokes an operation (a.k.a. method) in the called object.
C. the calling object waits for a response from the called object.
D. the calling object does not wait for a response from the called object.
Answer» C. the calling object waits for a response from the called object.
336.

What is a software product line(SPL) C12?

A. a family of systems with some common components and some variable components
B. an assembly line
C. a family of identical systems
D. the software products marketed by a company
Answer» B. an assembly line
337.

Which of the following is true for a Hierarchical Control architectural pattern?

A. control is divided among various control components.
B. it provides overall control over several client subsystems.
C. it provides overall control by coordinating several control components.
D. it provides overall control over various i/o objects.
Answer» D. it provides overall control over various i/o objects.
338.

What is broadcast message communication?

A. a message sent to several recipients
B. a message sent to a specific recipient
C. a message sent to all recipients
D. a message sent to recipients who are members of a group
Answer» D. a message sent to recipients who are members of a group
339.

What does a component interface consist of?

A. the externally visible operations of a component
B. the operations provided by a component
C. the operations required by a component
D. the operations that a component supports
Answer» B. the operations provided by a component
340.

In a SOA, which of the following is NOT true?

A. a client communicates with a specific service provided on a fixed server configuration.
B. a client discovers and links to a service.
C. multiple clients communicate with a service.
D. standard protocols are provided to allow clients to communicate with services.
Answer» B. a client discovers and links to a service.
341.

How is Multiple Client/Multiple Service architectural pattern different from a Multiple Client/Single Service architectural pattern?

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.
342.

What happens in a Layers of Abstraction pattern?

A. each layer uses services in the layer immediately below it.
B. each layer uses services in the layer immediately above it.
C. each layer uses services in the layers immediately above it and below it.
D. each layer is independent of the other layers.
Answer» B. each layer uses services in the layer immediately above it.
343.

Which of the following is not included in Architectural design decisions?

A. type of application
B. distribution of the system
C. architectural styles
D. testing the system
Answer» E.
344.

A producer sends a message to a consumer. Which one of the following is asynchronous 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.
345.

What two categories of stereotypes are used in modeling SPL classes?

A. kernel and optional stereotypes
B. optional and variant stereotypes
C. common and variant stereotypes
D. reuse and application role stereotypes
Answer» E.
346.

Which of the following type describes application architectures?

A. transaction processing applications
B. language processing systems
C. client management systems
D. transaction processing applications and language processing systems
Answer» E.
347.

Which of the following is NOT a case of event synchronization?

A. external event
B. internal event
C. timer event
D. user event
Answer» E.
348.

What is an event-driven input task?

A. a task that executes every few seconds
B. a task that controls other tasks
C. a task that receives inputs from an external device when it generates interrupts
D. a task that checks whether there is new input from an external device
Answer» D. a task that checks whether there is new input from an external device
349.

What does a connector join?

A. the provided port of one component to the required port of another component
B. the provided port of one component to the provided port of another component
C. the required port of one component to the provided port of another component
D. the required port of one component to the required port of another component
Answer» D. the required port of one component to the required port of another component
350.

What is an object broker?

A. an object that breaks into a system
B. an object that sends requests to other objects
C. an object that handles requests sent by other objects
D. an object that mediates interactions between clients and services
Answer» E.