Software Requirements Engineering and UML Flashcards

1
Q

Name two types of requirements in Software Requirements Engineering

A

Functional Requirements: Specify the functionalities the system should provide.
Non-Functional Requirements: Describe the characteristics and qualities the system should possess.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which type of requirements can be modeled with Use Case Diagram?

A

Use Case Diagram can model Functional Requirements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain the following two Use Case relationships using examples:

Include
Extends

A

. Include: Describes the relationship where one use case includes the behavior of another. Example: “Withdraw Money” includes “Authenticate User.”
ii. Extends: Describes the relationship where one use case can optionally extend the behavior of another. Example: “Change PIN” extends “Authenticate User.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Use UML notation to represent the class Professor.

A

+——————+
| Professor |
+——————+
| -age: int |
| #Title: string |
| Surname: string |
| Firstname: string |
+——————+
| +Create(): string|
| +Save(): string |
| +Delete(): string|
| +Change(): string |
+——————+

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

State any four (4) common stereotypes used with Class diagrams.

A

«Entity»
«Boundary»
«Control»
«Utility»

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Show notation of the following modes of associations.

A

i. Many
ii. Zero to Many
iii. One to 100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly