0% found this document useful (0 votes)
44 views2 pages

Identify FOUR (4) Suitable Attributes For Each of The Following Entities. A) Doctor

The document describes equivalence partitioning for a program that validates numeric values, identifying 3 classes of input values: values less than 5, values between 5 and 70, and values greater than or equal to 70. It also provides 4 suitable attributes for the "Doctor" and "Student" entities: for Doctor the attributes are first name, last name, ID, and multi-valued specialization; for Student the attributes are first name, last name, date of birth, and address. Finally, it describes a library management system and provides a use case diagram showing the interactions between members, librarian, and the system.

Uploaded by

Nabin Gautam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Identify FOUR (4) Suitable Attributes For Each of The Following Entities. A) Doctor

The document describes equivalence partitioning for a program that validates numeric values, identifying 3 classes of input values: values less than 5, values between 5 and 70, and values greater than or equal to 70. It also provides 4 suitable attributes for the "Doctor" and "Student" entities: for Doctor the attributes are first name, last name, ID, and multi-valued specialization; for Student the attributes are first name, last name, date of birth, and address. Finally, it describes a library management system and provides a use case diagram showing the interactions between members, librarian, and the system.

Uploaded by

Nabin Gautam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

A program validates a numeric field as follows, Values less than 5 are


rejected, values between 5 and 70 are accepted, value greater than or equal to
70 are rejected. Produce equivalence partitioning for the program.

Equivalence Partitioning is a tool for evaluating test cases. In this method,


equivalence classes (for input values) are identified in such a way that each class
member causes the same type of processing and output to occur.The values at the
poles (start / end values or lower / upper-end values) of this class are known as
boundary values. Analyzing the behavior of the device using these values is called
Boundary Value Analysis (BVA).The program accepts numeric values in the range
18 to 25 (18 and 25 are part of the class as well). This class is going to become our
true class.
The classes will be as follows:
Class I: values < 5 => invalid class
Class II: 5 to 70 => valid class
Class III: values > 70 => invalid class

2. Identify FOUR (4) suitable attributes for each of the following entities.
a) Doctor
The Doctor entity has 4 attributes:
● First Name,
● Last Name,
● ID (which is also a key attribute),
● Multi-valued Specialization(s) attribute.

b) Student
Four attributes for Student are:
● First name,
● Last name,
● Date of birth,
● Address.
3. University management team decided to introduce library management
system for all members of the faculty. This system aims to ease the process of
monitoring books borrowed and returned by members. Members are able to
search for the books using the system. The system keeps each member’s
borrowed book details. Members can borrow and return books. Librarian will
verify member details before approve borrowing book process. When
returning book, Librarian will use the system to check on fine if the book
returned late. Members can also check availability of the book. The librarian
will add new book details and also maintains existing book details. Librarian
also adds new member details in the system. Based on the given scenario,
draw a use case diagram.

You might also like