Q: 1 In context of software engineering, UML stands for:
Utility Modern Laboratory
Unit Markup List
Unified Modeling Language
Unified Markup Link
[ Option C ]
UML stands for Unified Modeling Language, a standardized visual language used to model, design, and document software systems.
| UML DIAGRAM | TYPE | DESCRIPTION |
|---|---|---|
| Use Case Diagram | Behavioral | Represents the functional requirements of a system. It shows how users or external actors interact with the system to achieve specific goals. |
| Timing Diagram | Represents the behavior of objects over time, showing changes in state or conditions with respect to time. It is mainly used in real-time and embedded systems. | |
| Sequence Diagram | Illustrates how objects interact with each other in a time sequence. It shows the order of messages exchanged during a particular process. | |
| Activity Diagram | Models the flow of control or data from one activity to another. It is used to represent workflows and business processes. | |
| State Machine Diagram | Represents the different states of an object and the transitions between those states based on events. It is useful for modeling reactive systems. | |
| Component Diagram | Structural | Displays the organization and dependencies among various software components. It helps in understanding the implementation structure of the system. |
| Deployment Diagram | Describes the physical architecture of the system, showing hardware nodes and the software components deployed on them. | |
| Class Diagram | Describes the static structure of a system by showing classes, their attributes, operations, and the relationships among them. | |
| Object Diagram | Provides a snapshot of instances of classes (objects) and their relationships at a particular moment in time. It helps in understanding the system’s runtime behavior. | |
| Package Diagram | Groups related classes or elements into packages and shows dependencies among these packages. It helps in managing large-scale systems. | |
| Composite Structure Diagram | Shows the internal structure of a class and the collaborations among its parts. It helps in analyzing complex system components. |
Q: 2 Which of the following UML diagram is a part of the behavioural view of a system?
I. Collaboration Diagram
II. Component Diagram
III. Use Case Diagram
Only I
Only II
Only III
All I, II and III
[ Option A ]
In UML, diagrams are broadly divided into structural and behavioural views.
Collaboration Diagrams (Communication Diagrams) are explicitly behavioural diagrams that show object interactions and message passing.
Q: 3 UML stands for:
Unified Modeling Language.
Universal Markup Language.
Unified Management Logic.
User Modeling Language.
[ Option A ]
UML is a standardized modeling language used for visualizing, specifying, constructing, and documenting software systems.
Q: 4 In a DFD, a circle represents:
Data store
Process
External Entity
Data Flow
[ Option B ]
In DFD (Data Flow Diagram), the circle represents processes that transform input data into output data.
Q: 5 CASE tools are mainly used to:
Replace programmers.
Automate software development tasks.
Test hardware systems.
Write project proposals.
[ Option B ]
CASE (Computer-Aided Software Engineering) tools automate various stages like analysis, design, coding, and testing.
Q: 6 Which of the following are represented by the box icons divided into horizontal parts in UML class diagrams?
classes only
interfaces only
neither a class nor an interface
classes, abstract classes and interfaces
[ Option D ]
In Unified Modeling Language (UML), classes, abstract classes, and interfaces are depicted using Rectangular Boxes divided into three horizontally into compartments.
This standardized box notation applies to classes, abstract classes (often italicized names), and interfaces (sometimes labeled with «interface»).
| Student |
| name : String rollno : int |
| setDetails() : void getDetails() : void updateRecord() : void |
| Employee |
| empID: int salary: float |
| calculateBonus() : void |
| «interface» Drawable |
| Interfaces typically do not have attributes. |
| draw() : void resize() : void |
Q: 7 Which symbol in Data Flow Diagrams represents Data Store?
.webp)



[ Option B ]
In a Data Flow Diagram (DFD), different symbols are used to show how data moves within a system. A Data Store is a place where data is kept for later use. It could be a file, a database table, a ledger, or any storage location. To represent this storage in a DFD, we use Two Parallel Horizontal Lines (Open-Ended Rectangle).
| DFD SYMBOL | USE |
|---|---|
| Process (Circle or Rounded Rectangle) | Shows an activity that transforms input data into output data. It represents work being done. |
| Data Flow (Arrow) | Represents the movement of data between entities, processes, and data stores. |
| External Entity (Rectangle / Square) | Represents a person, department, organization, or system outside the boundary of the current system that provides or receives data. |
| Data Store (Two parallel horizontal lines) | Represents a place where data is stored for later use, such as files, databases, or records. |
Q: 8 Which UML diagram supports description of parallel activities and synchronization aspects involved in different activities?
Sequence Diagram
Activity Diagram
Collaboration Diagram
State Chart Diagram
[ Option B ]
In UML, an Activity Diagram is used to model workflows or processes and is the standard diagram for showing parallel activities and synchronization. It supports:
| Diagram Name | Description |
|---|---|
| Sequence Diagram | Shows time ordered message interactions between objects. |
| Activity Diagram | Models workflows and supports parallel activities (Forks) and synchronization (Joins), making it suitable for describing parallel activities and synchronization aspects. |
| Collaboration Diagram | Emphasizes object level collaboration and messages. |
| State Chart Diagram | Models state transitions of an object in response to events. |
Q: 9 Which of the following is not a part of UML?
Usecase Diagram
Class Diagram
Entity Relationship Diagram
Sequence Diagram
[ Option C ]
UML (Unified Modeling Language) is used to design and visualize software systems. It includes different types of diagrams to represent structure and behavior.
The Entity Relationship Diagram (ERD) is not part of UML. It is mainly used in database design to represent entities, attributes, and relationships.
Q: 10 In the Model View Controller (MVC) architecture, which layer is defined by the Model?
Presentation Layer
Interface Layer
Business Logic Layer
Data Access Layer
[ Option C ]
In the Model View Controller (MVC) architecture, the application is divided into three parts:
The Model represents the business logic layer, where the core functionality, rules, and data processing of the application are defined.
Q: 11 ____________ is a program development tool used for specifying program logic.
DFD
Structure Chart
Program Flow Chart
Fourth Generation Language Tools (4GL Tools)
[ Option C ]
A program flow chart is a development tool used to visually represent the step-by-step logic of a program. It uses standard symbols to show the flow of control, decisions, loops, inputs, outputs, and processing steps. This helps programmers design, understand, and debug program logic before writing actual code.
Q: 12 A _____________ describes how a user interacts with the system by defining the steps required to accomplish a specific goal.
DFD
Program Flow Chart
Use Case Diagram
System Chart
[ Option C ]
A Use Case Diagram describes how a user interacts with a system by defining the steps or scenarios required to accomplish a specific goal. It visually represents the actors and the use cases they perform with the system. This helps stakeholders understand system behavior from the user's perspective, facilitating requirement gathering and system design.
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.