Develop a sequence diagram showing the interactions involved when a student registers for a course in a university. Courses may have limited enrolment, so the registration process must include checks that places are available. Assume that the student accesses an electronic course catalog to find out about available courses.
What will be an ideal response?
A relatively simple diagram is all that is needed here. It is best not to be too fussy
about things like UML arrow styles as hardly anyone can remember the differences
between them.
You might also like to view...
Consider the following Java statements:
``` int x = 9; double y = 5.3; result = calculateValue(x, y); ``` Which of the following statements is false? a. A method is called with its name and parentheses. b. x and y are parameters. c. Copies of x and y are passed to the method calculateValue. d. x and y are arguments.
Which of the following statements is false?
a. In the UML, each class is modeled in a class diagram as a rectangle with three compartments. The top one contains the class’s name centered horizontally in boldface. The middle one contains the class’s attributes, which correspond to instance variables in Java. The bottom one contains the class’s operations, which correspond to methods and constructors in Java. b. UML represents instance variables as an attribute name, followed by a colon and the type. c. Private attributes are preceded by the keyword private in the UML. d. The UML models operations by listing the operation name followed by a set of parentheses. A plus sign (+) in front of the operation name indicates that the operation is a public.
Which of the following is true when breaking compound fields into smaller parts?
A) Break names into first name and last name fields. B) Leave city, state, and zip code together in one field. C) For faster sorting, include the street address in the same field as the city, state, and zip code field. D) Always separate the area code from the phone number field.
Which Database Interface Language is a replacement for ODBC, extending its functionality to nonrelational databases?
A. XML:DB B. OLE DB C. ODBC D. JDBC