?? pq4.html
字號:
<span class="dialogueheader">Take Assessment: Practical Quiz 4</span><br><br>
<form name="Assm" id="Assm" method="post" action="https://seqcc.icarnegie.com:443/submitassmcmd.php" enctype="multipart/form-data">
<a name="top_of_page"></a><input name="object_id" id="object_id" value="657582" type="hidden"><table><tbody><tr>
</tr></tbody></table>
<table><tbody><tr>
<td width="5"><br></td> <td class="td0_instructions" align="left" valign="top">
<label class="instructions">Please answer the following question(s).<br>
If the assessment includes multiple-choice questions, click the "Submit Answers" button when you have completed those questions.</label></td>
</tr></tbody></table>
<input name="MAX_FILE_SIZE" id="MAX_FILE_SIZE" value="512000" type="hidden"><table><tbody><tr>
<td width="5"><br></td><script language="JavaScript">document.write('<td class=instructions>' + 'You have 120 minutes to take this assessment.' + '<br>' + 'Please complete this assessment by ' + ComputeLocalDate('2008-11-29 10:42:03 UTC') + '.' + '</td>');</script><td class="instructions">You have 120 minutes to take this assessment.<br>Please complete this assessment by Sat Nov 29 2008 18:42:03 GMT+0800.</td> <td width="5"><br></td></tr></tbody></table>
<a name="top_13852"></a><table><tbody><tr>
<td width="5"><br></td> <td class="td0_highlight-label" align="right" nowrap="nowrap" valign="top" width="12">
<label class="highlight-label">1.</label></td>
<td width="5"><br></td> <td class="td0_x" align="left" valign="top"> <a href="#13852">Go to bottom of question.</a> </td>
</tr></tbody></table>
<table><tbody><tr>
<td width="5"><br></td> <td class="td0_x" align="left" valign="top"> <h2 align="center"><cite>Customer Information System</cite></h2>
<h3>Prerequisites, Goals, and Outcomes</h3>
<blockquote> <b><i>Prerequisites:</i></b> Before you begin this assessment, you
need mastery of the following:
<ul>
<li> <em>UML</em>
<ul>
<li>Knowledge of class diagram notation</li>
</ul>
</li><li><i>Object-Oriented Design</i>
<ul>
<li>Knowledge of modeling concepts:
<ul>
<li>Identifying classes</li>
<li>Identifying relationships between classes</li>
<li>Identifying class attributes</li>
<li>Identifying class methods</li>
</ul>
</li>
</ul>
</li></ul>
<p> <b><i>Goals:</i></b> Reinforce your object-oriented design skills
</p><p> <b><i>Outcomes:</i></b> You will master the following skills:
</p><ul>
<li>Produce a UML class diagram, from a specification, that shows:
<ul>
<li> classes</li>
<li>attributes</li>
<li>methods</li>
<li>relationships</li>
</ul>
</li>
</ul>
</blockquote>
<h3>Background </h3>
<p>In this assessment, you will create a UML model of a customer information system.</p>
<h3>Description</h3>
<p> The customer information system maintains information about two different kinds of customers: </p>
<ul>
<li>Individual customers: For these customers, the system stores an ID and the information about a person (name, home telephone number, and email).</li>
<li>Institutional customers: For these customers, the system stores an ID and provides the capability of defining one or more contact people for the institution. The system stores the following information for each contact person: name, home telephone number, email, work telephone number, and the job position of the contact in the institution.</li>
</ul>
<p>Assume that each customer has a unique ID and that IDs cannot be modified. Assume each contact for an institution has a unique name.</p>
<p> The system provides the following functions:</p>
<ul>
<li>Add a customer into the system</li>
<li>Look up a customer given an ID</li>
<li>Remove a customer from the system given an ID</li>
<li>Add a new contact for an institutional customer</li>
<li>Look up a contact given the ID of the institution and the name of the contact</li>
<li>Remove a contact given the ID of the institution and the name of the contact</li>
</ul>
<h3>Tasks </h3>
<p>The following steps will guide you for completing this assignment:</p>
<ol>
<li>Follow the technique described in page <a href="javascript:ContentByName('pg-mdlng-class');">1.2.5 Modeling
Classes</a> to model the customer information system<em></em>. Use Eclipse, <a href="http://horstmann.com/violet/" target="externalWindow">Violet</a>,
PowerPoint, or another tool of your choosing to draw a UML class diagram.
</li>
</ol>
<ul>
<li>Your UML class diagram should include:
<ul>
<li>The classes to model the customer information system and the different kinds of customers</li>
<li>
The association relationships (including the direction, multiplicity, and
association attribute)
</li>
<li> The specialization/generalization relationships
</li>
<li> The attributes and methods, including accessors and mutators (only for the attributes that can be modified)</li>
</ul>
</li>
</ul>
<ul>
<li> The class that models institutional customers should include the following methods that handle the collection of contacts (in addition to these, you may need more methods):
<ul>
<li>Method to add a new contact</li>
</ul>
</li>
<ul>
<li>Method to look up a contact given the name</li>
<li>Method to remove a contact given the name</li>
</ul>
</ul>
<ul>
<li>The class that models the customers information system should include the following methods that handle the collection of customers (in addition to these, you may need more methods):
<ul>
<li>Method to add a new customer</li>
</ul>
</li>
<ul>
<li>Method to look up a customer given an ID</li>
<li>Method to remove a customer given an ID</li>
</ul>
</ul>
<ul>
<li>Use Sun's
coding conventions when naming classes, methods, and attributes. </li>
</ul>
<ol start="2">
<li>Save the UML class diagram in a SVG, GIF, or JPG format in a file named <em>uml-customer-system</em>. The extension of this file will depend on the format of the image.</li>
</ol>
<h3>Submission</h3>
<p>Upon completion, submit <strong>only</strong> the SVG, GIF, or JPG file <em>uml-customer-system</em>.
The extension of this file will depend on the format of the image. </p>
</td>
<td width="5"><br></td></tr></tbody></table>
<a name="13852"></a><table><tbody><tr>
<td width="5"><br></td> <td class="td0_x" align="left" valign="top"> <a href="#top_13852">Go to top of question.</a> </td>
<td width="5"><br></td></tr></tbody></table>
<hr><table><tbody><tr>
<td width="5"><br></td> <td class="td0_x" align="left" valign="top"><label class="lbl0-x" for="file_to_add_13852">File to submit:</label><br> <input class="x" name="file_to_add_13852" value="" size="20" maxlength="500" type="file"> </td>
<td width="5"><br></td><td valign="bottom"> <input class="x" value="Upload File" name="add_file" id="add_file" style="width: 12em;" onclick='return SetUploadTime("https://seqcc.icarnegie.com:443/takeassmcmd.php?question_id=13852", 13852, false)' type="submit"></td><td width="5"><br></td></tr></tbody></table>
<hr><input name="pr_state_13852" id="pr_state_13852" value="a:2:{i:0;s:10:"incomplete";i:1;a:0:{}}" type="hidden"><table><tbody><tr>
</tr></tbody></table>
<input name="max_mins_per_try" id="max_mins_per_try" value="120" type="hidden"> <input value="2008-11-29 10:42:03 UTC" id="end_date" name="end_date" type="hidden"> <input value="421063" id="course_section_id" name="course_section_id" type="hidden"> <input value="13849" id="assm_id" name="assm_id" type="hidden"> <input value="657582" id="template_id" name="template_id" type="hidden"> <input value="657583" id="record_id" name="record_id" type="hidden"> <input value="" id="client_time" name="client_time" type="hidden"><table><tbody><tr>
<td width="5"><br></td> <td class="td0_x" align="left" valign="top"> <a href="#top_of_page">Go to top of assessment.</a> </td>
</tr></tbody></table>
<table><tbody><tr>
<td width="5"><br></td> <td class="td0_copyright" align="left" valign="top"> ? Copyright 2006 iCarnegie, Inc. All rights reserved. </td>
</tr></tbody></table>
</form>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -