Search Header Logo
Unit 19 - KLO1

Unit 19 - KLO1

Assessment

Presentation

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Teacher :)

Used 2+ times

FREE Resource

59 Slides • 49 Questions

1

media

2

media

3

Multiple Choice

Which of the following is a type of modeling requirement used in a Software Requirements Document (SRD)?

1

Activity diagram

2

Risk analysis

3

Technical manuals

4

Budgeting

4

media

5

Open Ended

Why do we model system behavior?

6

media

7

media

8

media

9

Fill in the Blanks

Type answer...

10

media

11

Multiple Select

Which of the following are benefits of using UML?

1

Understand system requirements

2

Write programming code

3

Visualize complex systems

4

Document systems for future maintenance

12

media

13

media

14

Open Ended

Explain the difference between structural and behavioral UML diagrams.

15

Multiple Choice

Which of the following is a structural UML diagram?

1

Class Diagram

2

Activity Diagram

3

Use-Case Diagram

4

Sequence Diagram

16

media

17

media

18

media

19

media

20

Multiple Choice

What is the main purpose of an activity diagram?

1

To show workflow and process logic

2

To show object structure

3

To show long-term data relationships

4

To describe algorithms

21

media

22

Fill in the Blanks

Type answer...

23

media

24

Hotspot

Identify the final state.

25

Hotspot

Identify the initial state.

26

Hotspot

Identify guard.

27

Hotspot

Identify merge.

28

media

29

media

30

Multiple Choice

What is the main purpose of a class diagram?

1

To show user steps

2

To model the static structure of a system

3

To display workflows

4

To describe business processes

31

media

32

Multiple Choice

Which of the following is NOT a reason to use a class diagram?

1

To identify classes, attributes, and methods

2

To represent relationships

3

To show business processes

4

To help communicate software structure

33

media

34

Multiple Choice

Which section of a class diagram typically contains the class name?

1

Top

2

Middle

3

Bottom

4

Left

35

media

36

Fill in the Blanks

Type answer...

37

Multiple Choice

Which of the following are commonly included in the middle section of a class diagram?

1

Attributes

2

Class name

3

Methods

4

Relationships

38

media

39

media

40

Multiple Choice

Which relationship should be used when two classes work together but can exist independently?

1

Association

2

Composition

3

Aggregation

4

Inheritance

41

media

42

Multiple Choice

Given a scenario where a Teacher and Student both share common attributes and behaviors, but also have their own specific methods, which relationship is most appropriate to use in a class diagram?

1

Association

2

Aggregation

3

Composition

4

Inheritance

43

Fill in the Blanks

Type answer...

44

media

45

media

46

Multiple Select

Select all the relationships that indicate some form of ownership between classes in class diagrams.

1

Association

2

Aggregation

3

Composition

4

Inheritance

47

Multiple Choice

Which of the following relationships in class diagrams represents strong ownership, where the part cannot exist without the whole?

1

Association

2

Aggregation

3

Composition

4

Inheritance

48

media

49

media

50

media

51

Match

Match the relationships with the correct symbol/arrow.

Inheritance (Generalization)

Aggregation

Composition

Association

52

Multiple Choice

What kind of relationship is this?

Teacher – Student

A teacher teaches many students, and a student can be taught by many teachers.

1

Association

2

Aggregation

53

Multiple Choice

What kind of relationship is this?

Car – Vehicle

A car is a type of vehicle.

1

Association

2

Inheritance

54

Multiple Choice

What kind of relationship is this?

SavingsAccount – BankAccount

A savings account is a specific kind of bank account.

1

Composition

2

Inheritance

55

Multiple Choice

What kind of relationship is this?

Classroom – Student

A classroom has students, but students exist even if the classroom is removed.

1

Inheritance

2

Aggregation

56

Multiple Choice

What kind of relationship is this?

House – Room
A room cannot exist without a house.

1

Composition

2

Association

57

Multiple Choice

What kind of relationship is this?

Order – OrderItem

Order items exist only as part of an order.

1

Composition

2

Association

58

Multiple Choice

What kind of relationship is this?

Car – Engine

An engine belongs to exactly one car and does not exist on its own.

1

Composition

2

Aggregation

59

Multiple Choice

What kind of relationship is this?

Customer – Product

Customers buy products, and products can be bought by many customers.

1

Composition

2

Association

60

Multiple Choice

What kind of relationship is this?

Manager – Employee

A manager is an employee with extra responsibilities.

1

Inheritance

2

Aggregation

61

Multiple Choice

What kind of relationship is this?

Human – Heart

A heart cannot exist independently of a human.

1

Composition

2

Aggregation

62

Multiple Choice

What kind of relationship is this?

Department – Professor

A department has professors, but professors can move to another department.

1

Composition

2

Aggregation

63

Match

Match the following questions with the type of class diagram relationship

“Is-a?”

“Can it live alone?”

“Will it die with the whole?”

“Just related?”

Inheritance

Aggregation

Composition

Association

64

media

65

media

66

media

67

media

68

media

69

media

70

Multiple Choice

Login is required before placing an order

1

Include

2

Extend

71

Multiple Choice

Apply discount only if user has a coupon

1

Include

2

Extend

72

Multiple Choice

Validate PIN when withdrawing money

1

Include

2

Extend

73

media

74

Multiple Choice

What does a use-case diagram mainly show?

1

How classes are connected

2

How the system is implemented

3

How users interact with the system

4

How data is stored

75

Multiple Choice

In a use-case diagram, who or what initiates a use case?

1

The system

2

The database

3

The actor

4

Another use case

76

Multiple Choice

Which symbol is used to represent an actor?

1

Stick figure

2

Circle

3

Rectangle

4

Diamond

77

Multiple Choice

What does a use case represent?

1

A class in the system

2

A user goal or action

3

A database table

4

A hardware device

78

Multiple Choice

Which relationship is used when a use case ALWAYS requires another use case?

1

Association

2

«extend»

3

«include»

4

Inheritance

79

media

80

media

81

media

82

media

83

Multiple Choice

What does a sequence diagram mainly show?

1

The structure of classes

2

The order of interactions between objects

3

The database design

4

The system architecture

84

Multiple Choice

In a sequence diagram, time flows in which direction?

1

Left to right

2

Right to left

3

Top to bottom

4

Bottom to top

85

Multiple Choice

What does a lifeline represent in a sequence diagram?

1

A method

2

An object or participant

3

A loop

4

A class attribute

86

Multiple Choice

Which element represents a message sent from one object to another?

1

Rectangle

2

Vertical dashed line

3

Arrow with a label

4

Diamond

87

Multiple Choice

What does an activation bar (focus of control) show?

1

When an object is destroyed

2

When an object is waiting

3

When an object is executing an action

4

When an object is created

88

media

89

media

90

media

91

media

92

media

93

media

94

media

95

media

96

media

97

media

98

media

99

media

100

media

101

media

102

media

103

media

104

media

105

media

106

media

107

media

108

Multiple Choice

What are some of the different types of modeling requirements you will learn about in this unit?

1

UML diagrams, flowcharts, pseudocode

2

Programming languages, databases, APIs

3

Testing tools, deployment scripts, user manuals

4

Web design, mobile apps, cloud computing

media

Show answer

Auto Play

Slide 1 / 108

SLIDE