Question

In: Computer Science

Q2) In order for a student to register for courses at UHV, a student need to...

Q2) In order for a student to register for courses at UHV, a student need to login in to the system, search for classes, select certain classes and submit his/her request. Create a sequence diagram for that.

Q3) Create a UML class diagram for the following description, your UML should show associations with cardinality; generalizations if any. Each class should at least have two attributes. (hint: the easiest way to identify classes is to look for nouns)

E-gaming Store: An e gaming store is a store that does not have a physical presence for its products. The products are in three categories, Games, Consoles, and Accessories. A customer adds products to a basket. Once a customer checks out the basket it becomes an order.

Solutions

Expert Solution

Q2) Sequence Diagram:

Please find below the steps to create Sequence diagram:

Step 1: Identify Actor:

The system has actor STUDENT

Step 2: List objects:

Below are the objects to be available in the system:

1. UHVSystem: The interface with which the actor interacts

2. Classes SubSystem: That holds the available classes

3. registrationSystem: That holds the registration details

Step 3: Final Diagram:

-----------------------------------------------------

Q3) Class Diagram:

Please follow the below steps to create UML Class Diagram for the give system:

Step 1: List the classes along with attributes:

1. Product(productName, price, description)

2. Customer(customerName, address, phoneNumber)

3. Basket(basketID, isCheckedOut, orderDate, amount); when isCheckedOut is true, basket becomes an order and new basket is assigned to customer for new shopping.

Step 2: List relationship between the classes:

1. Customer has one or more Baskets but a basket belongs to one Customer only. This is association with 1:M cardinality.

2. Basket contains none or many Products and a product is added to none or many Baskets. It is an association with M:N cardinality.

3. Product has two sub types as below which will be shown as generalization relationship:

a) Game

b) Console

c) Accessories

Step 3: Create diagram:


Related Solutions

You need to complete n courses in order to complete your degree. Some of these courses...
You need to complete n courses in order to complete your degree. Some of these courses have prerequisites, for example: “course 1 has to be completed before course 3”. Your goal is to find an order to take all n courses and complete your degree. Observe the following input file. The first line in the file has 2 numbers n and p where n is number of courses and p is the number of prerequisites. Input: 5 3 1 2...
At a small liberal arts college, students can register for one to six courses. In a...
At a small liberal arts college, students can register for one to six courses. In a typical fall semester, 5% of students take one class, 26% take four classes, and 15% take six classes. a) If 77% of students take four or more classes, find the probability that a randomly selected student takes five courses. What is the probability that a randomly selected student takes three classes, if 10% take at most two classes? b) Calculate the expected value and...
A data set includes data from student evaluations of courses.
A data set includes data from student evaluations of courses. The summary statistics are n = 89, x̅= 3.34, s=0.51. Use a 0.10 significance level to test the claim that the population of student course evaluations has a mean equal to 3.50. Assume that a simple random sample has been selected. Identify the null and alternative hypotheses, test statistic, P-value, and state the final conclusion that addresses the original claimWhat are the null and alternative hypotheses?Determine the test statistic (Round...
Write a memo that addresses a new norm or protocol, such as the need to register...
Write a memo that addresses a new norm or protocol, such as the need to register with a new company that will be handling all the organization’s business-related travel, with specific expectations including what information is needed, when, and to whom.
Let x be the number of courses for which a randomly selected student at a certain...
Let x be the number of courses for which a randomly selected student at a certain university is registered. The probability distribution of x appears in the table shown below: x 1 2 3 4 5 6 7 p(x) .05 .03 .09 .26 .37 .16 .04 (a) What is P(x = 4)? P(x = 4) = (b) What is P(x 4)? P(x 4) = (c) What is the probability that the selected student is taking at most five courses? P(at...
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent."...
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent." The ratings were obtained at one university in a state. Construct a confidence interval using a 99% confidence level. What does the confidence interval tell about the population of all college students in the​ state? 4.0, 3.2, 4.2, 4.9, 3.0, 4.4, 3.8, 4.9, 4.5, 4.1, 4.1, 4.0, 3.4, 4.2, 3.9 What is the confidence interval for the population mean μ​? ___< μ​<___. (Round to...
A student survey was completed by 446 students in introductory statistics courses at a large university...
A student survey was completed by 446 students in introductory statistics courses at a large university in the fall of 2003. Students were asked to pick their favorite color from black, blue, green, orange, pink, purple, red, yellow. (a) If colors were equally popular, what proportion of students would choose each color? (Round your answer to three decimal places.) (b) We might well suspect that the color yellow will be less popular than others. Using software to access the survey...
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent."...
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent." The ratings were obtained at one university in a state. Construct a confidence interval using a 99​% confidence level. What does the confidence interval tell about the population of all college students in the​ state? 3.5​, 2.8​, 3.9​, 4.6​, 3.1​, 4.4​, 3.5​, 4.6​, 4.8​, 4.3​, 4.3​, 3.9​, 3.1​, 3.8​, 3.9 What is the confidence interval for the population mean mu​? ​(Round to two decimal...
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent."...
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent." The ratings were obtained at one university in a state. Construct a confidence interval using a 99% confidence level. What does the confidence interval tell about the population of all college students in the​ state? 3.8, 3.0, 4.0, 4.7, 2.9, 4.1, 3.4, 5.0, 4.8, 3.9, 4.2, 4.0, 3.4, 4.2, 3.6 What is the confidence interval for the population mean muμ​?
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent."...
Listed below are student evaluation ratings of​ courses, where a rating of 5 is for​ "excellent." The ratings were obtained at one university in a state. Construct a confidence interval using a 99​% confidence level. What does the confidence interval tell about the population of all college students in the​ state? 4.0​, 3.0​,4.1​,4.8​, 3.0​ ,4.3​ ,3.7​ ,4.9​, 4.2​, 4.2​ ,4.1​ ,3.9 ​,3.4 ​,4.0​, 4.0 What is the confidence interval for the population mean μ​? _____<μ<____? ​(Round to two decimal places...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT