Question

In: Computer Science

What is a use case, and what is its purpose? Define the term entity and give...

What is a use case, and what is its purpose?

Define the term entity and give an original example.

Define the term attribute and give three examples for the entity in question (2).

Define the term relationship and give an original example for the entity in question (2).

Solutions

Expert Solution

1)

A use case describes how a person actually uses a process or system will accomplish a goal.

It is associated with software systems. Use case can be described through a series of written steps. Three main parts that a use case must contain:

1. Actor, which is the user of the system, it can be a single person or a group of people, interacting with a process

2. System, It is the process that is needed to accomplish the final outcome

3. Goal, which is the purpose user outcome

Use case begins with a user's goal and ending when that goal is successful.

Use case diagram helps capture the dynamic aspect of a system

The purpose of the use case diagrams is to provide the high level view of the system and it     specify the requirements.

2)

An entity can be defined as an object that exists. An entity can be a thing, an individual, place, or object. An entity can be considered as the key element in all relational databases.

For example,

Consider student as an entity. This student entity has certain characteristics called attributes. Student_name is an attribute of that entity.

Department is an entity.

Course is an entity

3)

Attributes are the describing characteristics or properties of entities. An entity consist of any number of attributes. One of the attributes is termed as the primary key.

· Consider student entity, the attributes of this entity are student_name, student_id, roll_no, course_id, department_id

· Consider department as an entity, attributes are department_name, department_id

· Consider course as an entity, attributes are course_name, department, course_id

4)

A relationship can be defined as the association that exists among one or more entities. Relationship is represented by using a collection of inter-related tables. Entity Relationship Model depicts data as Entity set, Relationship set and Attribute.

Consider 3 entities Student, course and department

It is possible to define a relationship among these entities.

The entity student is related to course and department. Student entity contain course_id and department_id. i.e.,one table contains the primary key of other tables.


Related Solutions

Define the economic term ‘price discrimination’ and give two examples of its use.
Define the economic term ‘price discrimination’ and give two examples of its use.
1- Give a definition of the term entity and give an original example. 2- Give a...
1- Give a definition of the term entity and give an original example. 2- Give a definition of term attribute and give three examples for the entity in question ( 1 ). 3- Give a definition of term relationship and give an original example for the entity in question ( 1 ).
Define, explain and give a case study example of the following terms: Open Payment Term   ...
Define, explain and give a case study example of the following terms: Open Payment Term    Parol Evidence Risk of Loss
Define Capital Budget and what is its purpose and objective?
Define Capital Budget and what is its purpose and objective?
definition and purpose of the term 'soluble reaction phosphorus "?what is its purpose? How to get...
definition and purpose of the term 'soluble reaction phosphorus "?what is its purpose? How to get it?
What is a brief explanation of the system use case diagram? What is the purpose of...
What is a brief explanation of the system use case diagram? What is the purpose of the use case diagram, and why might a system analysts draw many different use case diagrams when reviewing the use cases with end-users?
What kinds of companies use standard costing and what is the purpose for its use. -...
What kinds of companies use standard costing and what is the purpose for its use. - Who are some companies that use standard costing? - When and why would this be useful?
. Define health promotion/prevention and give an example of its use in the community. Then, identify...
. Define health promotion/prevention and give an example of its use in the community. Then, identify how the traditional health care system (hospitals, physicians, individual-based care, etc) could utilize health promotion/prevention to improve quality, cost, and the health of the population.
QUESTION 1 [30] (1.1) Define the term “forecasting" and give two examples of its applications. (4)...
QUESTION 1 [30] (1.1) Define the term “forecasting" and give two examples of its applications. (4) (1.2) Give the difference between cross-sectional data and time series data, then give an example of each case. (6)
Q What is a quality use case in UML? Give an example of it?
Q What is a quality use case in UML? Give an example of it?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT