7 Pages

umlClassDiagrams

Course: COMP 5338, Fall 2009
School: Allan Hancock College
Rating:
 
 
 
 
 

Word Count: 1951

Document Preview

Tutorial: UML Part 1 -- Class Diagrams. Robert C. Martin My next several columns will be a running tutorial of UML. The 1.0 version of UML was released on the 13th of January, 1997. The 1.1 release should be out before the end of the year. This column will track the progress of UML and present the issues that the three amigos (Grady Booch, Jim Rumbaugh, and Ivar Jacobson) are dealing with. Introduction UML stands...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Allan Hancock College >> COMP 5338

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Tutorial: UML Part 1 -- Class Diagrams. Robert C. Martin My next several columns will be a running tutorial of UML. The 1.0 version of UML was released on the 13th of January, 1997. The 1.1 release should be out before the end of the year. This column will track the progress of UML and present the issues that the three amigos (Grady Booch, Jim Rumbaugh, and Ivar Jacobson) are dealing with. Introduction UML stands for Unied Modeling Language. It represents a unication of the concepts and notations presented by the three amigos in their respective books1. The goal is for UML to become a common language for creating models of object oriented computer software. In its current form UML is comprised of two major components: a Meta-model and a notation. In the future, some form of method or process may also be added to; or associated with, UML. The Meta-model UML is unique in that it has a standard data representation. This representation is called the metamodel. The meta-model is a description of UML in UML. It describes the objects, attributes, and relationships necessary to represent the concepts of UML within a software application. This provides CASE manufacturers with a standard and unambiguous way to represent UML models. Hopefully it will allow for easy transport of UML models between tools. It may also make it easier to write ancillary tools for browsing, summarizing, and modifying UML models. A deeper discussion of the metamodel is beyond the scope of this column. Interested readers can learn more about it by downloading the UML documents from the rational web site2. The Notation The UML notation is rich and full bodied. It is comprised of two major subdivisions. There is a notation for modeling the static elements of a design such as classes, attributes, and relationships. There is also a notation for modeling the dynamic elements of a design such as objects, messages, and nite state machines. In this article we will present some of the aspects of the static modeling notation. Static models are presented in diagrams called: Class Diagrams. Class Diagrams. The purpose of a class diagram is to depict the classes within a model. In an object oriented application, classes have attributes (member variables), operations (member functions) and relation1. Object Oriented Analysis and Design, Grady Booch, Benjamin Cummings, 1994. Object Oriented Modeling and Design, James Rumbaugh, et. al., Prentice Hall, 1991 Object Oriented Software Engineering, Ivar Jacobson, et. al., Addison Wesley, 1992 2. http://www.rational.com ships with other classes. The UML class diagram can depict all these things quite easily. The fundamental element of the class diagram is an icon the represents a class. This icon is shown in Figure 1. Figure 1: The Class Icon Class Attribute operation() A class icon is simply a rectangle divided into three compartments. The topmost compartment contains the name of the class. The middle compartment contains a list of attributes (member variables), and the bottom compartment contains a list of operations (member functions). In many diagrams, the bottom two compartments are omitted. Even when they are present, they typically do not show every attribute and operations. The goal is to show only those attributes and operations that are useful for the particular diagram. This ability to abbreviate an icon is one of the hallmarks of UML. Each diagram has a particular purpose. That purpose may be to highlight on particular part of the system, or it may be to illuminate the system in general. The class icons in such diagrams are abbreviated as necessary. There is typically never a need to show every attribute and operation of a class on any diagram. Figure 2 shows a typical UML description of a class that represents a circle. Figure 2: Circle class Circle itsRadius:double itsCenter:Point Area():double Circumference():double SetCenter(Point) SetRadius(double) Notice that each member variable is followed by a colon and by the type of the variable. If the type is redundant, or otherwise unnecessary, it can be omitted. Notice also that the return values follow the member functions in a similar fashion. Again, these can be omitted. Finally, notice that the member function arguments are just types. I could have named them too, and used colons to separate them from their types; or I could have omitted the arguments altogether. Composition Relationships Each instance of type Circle seems to contain an instance of type Point. This is a relationship known as composition. It can be depicted in UML using a class relationship. Figure 3 shows the composition relationship. Figure 3: Circle contains Point Circle Point The black diamond represents composition. It is placed on the Circle class because it is the Circle that is composed of a Point. The arrowhead on the other end of the relationship denotes that the relationship is navigable in only one direction. That is, Point does not know about Circle. In UML relationships are presumed to be bidirectional unless the arrowhead is present to restrict them. Had I omitted the arrowhead, it would have meant that Point knew about Circle. At the code level, this would imply a #include circle.h within point.h. For this reason, I tend to use a lot of arrowheads. Composition relationships are a strong form of containment or aggregation. Aggregation is a whole/part relationship. In this case, Circle is the whole, and Point is part of Circle. However, composition is more than just aggregation. Composition also indicates that the lifetime of Point is dependent upon Circle. This means that if Circle is destroyed, Point will be destroyed with it. For those of you who are familiar with the Booch-94 notation, this is the Hasby-value relationship. In C++ we would represent this as shown in Listing 1. Listing 1: Circle class class Circle { public: void SetCenter(const Point&); void SetRadius(double); double Area() const; double Circumference() const; private: double itsRadius; Point itsCenter; }; In this case we have represented the composition relationship as a member We variable. could also have used a pointer so long as the destructor of Circle deleted the pointer. Inheritance The inheritance relationship in UML is depicted by a peculiar triangular arrowhead. This arrowhead, that looks rather like a slice of pizza, points to the base class. One or more lines proceed from the base of the arrowhead connecting it to the derived classes. Figure 4 shows the form of the inheritance relationship. In this diagram we see that Circle and Square both derive from Shape. Note that the name of class Shape is shown in italics. This indicates that Shape is an abstract class. Note also that the operations, Draw() and Erase() are also shown in italics. This indicates that they are pure virtual. Figure 4: Inheritance Shape {abstract} Draw() Erase() Circle Square Italics are not always very easy to see. Therefore, as shown in Figure 4, an abstract class can also be marked with the {abstract} property. Whats more, though it is not a standard part of UML, I will often write Draw()=0 in the operations compartment to denote a pure virtual function. Aggregation / Association The weak form of aggregation is denoted with an open diamond. This relationship denotes that the aggregate class (the class with the white diamond touching it) is in some way the whole, and the other class in the relationship is somehow part of that whole. Figure 5: Aggregation Window * itsShapes Shape {abstrac Figure 5 shows an aggregation relationship. In this case, the Window class contains many Shape instances. In UML the ends of a relationship are referred to as its roles. Notice that the role at the Shape end of the aggregation is marked with a *. This indicates that the Window contains many Shape instances. Notice also that the role has been named. This is the name that Window knows its Shape instances by. i.e. it is the name of the instance variable within Window that holds all the Shapes. Listing 2 shows how Figure 5 might be implemented in C++ Listing 2: Window contains Shapes class Window { public: //... private: vector<Shape*> itsShapes; }; There are other forms of containment that do not have whole / part implications. For example, Each Window refers back to its parent Frame. This is not aggregation since it is not reasonable to consider a parent Frame to be part of a child Window. We use the association relationship to depict this. Figure 6: Associations itsParent Frame Window Figure 6 shows how we draw an association. An association is nothing but a line drawn between the participating classes. In Figure 6 the association has an arrowhead to denote that Frame does not know anything about Window. Once again note the name on the role. This relationship will almost certainly be implemented with a pointer of some kind. What is the difference between an aggregation and an association? The difference is one of implication. Aggregation denotes whole/part relationships whereas associations do not. However, there is not likely to be much difference in the way that the two relationships are implemented. That is, it would be very difcult to look at the code and determine whether a particular relationship ought to be aggregation or association. For this reason, it is pretty safe to ignore the aggregation relationship altogether. As the amigos said in the UML 0.8 document: ...if you dont understand [aggregation] dont use it. Aggregation and Association both correspond to the Has-by-reference relationship from the Booch-94 notation. Dependency Sometimes the relationship between a two classes is very weak. They are not implemented with member variables at all. Rather they might be implemented a...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260O3Test #3 OverviewChapters covered Chapter 4, Sections 9 13 (Homework #5) Chapter 6 (Homework #6)Chapter 4 Topics (65 70%)Real voltage sources and real current sources Models Characteristics Source transformations N
Arizona - MIC - 205
Lab 11: microbial metabolism part IIObjective 1 Lipid hydrolysis test Lipids can be used as source of carbon Lipid hydrolysis lipid = glycerol + fatty acid Is performed by the enzyme lipase Trybutyrin agar is a fat containing agar If lipids are hydrolyz
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260O2Test #2 OverviewMaterial covered Chapter 4, Sections 1 - 8 (node and mesh equations) 70% Chapter 5 (operational amplifiers) 30%Node EquationsNode voltages - relative voltages that depend on the reference (ground)
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260H8Due date: _Homework Assignment #8Reading Assignment:Ch. 8 in Electric Circuits, 8th Edition by NilssonProblem Assignment:1) 2) Chapter 8 problems: 3, 4, 6, 30, 35, 38, 40, 44, 51 Graph the following responses usi
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260H7Due date: _ (See Due Dates Table)Homework Assignment #7Reading Assignment:Chapter 7 in Electric Circuits, 8th Edition by NilssonProblem Assignment:1. 2. (82 pts) Ch. 7 problems: 2, 4, 8, 14, 21, 22, 24, 26, 33, 5
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260H5Due date: _ (See Due Dates Table)Homework Assignment #5Reading Assignment:Chapter 4, Sections 9 - 13, in Electric Circuits, 8th Edition by NilssonProblem Assignment:Note: Be sure to follow the required PROBLEM FO
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260H3Due date: _ (See Due Dates Table)Homework Assignment #3Reading Assignment:Chapter 4, Sections 1 - 8, from Electric Circuits, 8th Ed., by NilssonProblem Assignment:1) 2) 3) 4) Nodal analysis problems: 9, 11a, 15,
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260H1SSolution to Homework Assignment #1Problem Assignment:1) Chapter 1 # 8, 9, 11, 12, 15, 16, 17, 18, 19, 22, 26, 29 2) Using the power rating values from Table 1 (or from the Lecture #2 notes), calculate the following
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260H2Homework #2 due date: _ Test #1 (Ch. 1-3): _Homework Assignment #2Reading Assignment:Chapters 2 and 3 in Electric Circuits, 8th Ed. by Nilsson (omit section 3.5)Problem Assignment:Note: Be sure to follow the requ
Rappahannock Community College - EGR - 260
EGR 260 Circuit Analysis File: N260H1Due date: _Homework Assignment #1Reading Assignment:Chapter 1 in Electric Circuits, 8th Edition, by NilssonProblem Assignment:1) Chapter 1 # 8, 9, 11, 12, 15, 16, 17, 18, 19, 22, 26, 29 2) Using the power rating
Rappahannock Community College - EGR - 140
Rappahannock Community College - EGR - 140
Rappahannock Community College - EGR - 140
EGR 140 Statics File: CrossdotCross and Dot ProductsThe cross and dot products of vectors P = (1, 2, 3) and Q = (5, 0, 1) will be illustrated in four ways: 1. by hand 2. using the TI-85/86 calculator 3. using the HP-48G/GX calculator 4. using the TI-89
Rappahannock Community College - EGR - 140
EGR 140 StaticsTest #3 OverviewChapters covered: Chapter 6 in Engineering Mechanics Statics, 8th Edition, by Beer &amp; Johnston Format: No books, no notes, no tables provided Similar to class examples, homework problems, and textbook problems Most likely p
Rappahannock Community College - EGR - 140
EGR 140 Statics File: N140C2BDue date: See Due Dates TableComputer Programming Assignment #2This purpose of this assignment is to give the Engineering student practice in using computers and computer software in the solution of Engineering problems. So
Rappahannock Community College - EGR - 140
EGR 140 Statics File: N140C1BDue date: See Due Dates TableComputer Assignment #1The purpose of this assignment is to give the Engineering student practice in using computers and computer software in the solution of Engineering problems. Solving problem
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270O2Test #2 OverviewRelated Homework Assignments: Homework # 3 - 4 Related textbook sections: Chapters 3-4 and Chapter 6, Section 8 on PLAs and PALs in Logic and Computer Design Fundamentals, 4th Ed.,
Cal Poly - MA - 1154
MA 1252Polytechnic University MIDTERMPrint Name: Signature: ID #: Instructor/Section:January 9, 2007Directions: You have 90 minutes to answer the following questions. You must show all your work as neatly and clearly as possible and indicate the nal a
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270O1Test #1 OverviewRelated Homework Assignments: Homework #1 - 2 Textbook material: Ch 1 &amp; 2 in Logic and Computer Design Fundamentals, 4th Edition, by Mano (omit section 2.10) Note: No calculators o
Rappahannock Community College - EGR - 270
EGR 277 Digital Logic File: Wookie .docExample: Mini IDE Assembler and Wookie Simulator MiniIDEMiniIDE is a freeware assembler for the 68HC11 and 68HC12 that can be used to create an executable machine language program (.S19 file) and a listing (.LST fi
Rappahannock Community College - EGR - 270
Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.M68HC11Reference ManualM68HC11MicrocontrollersM68HC11RM/D Rev. 6, 4/2002WWW.MOTOROLA.COM/SEMICONDUCTORSFor More Information On This Product, Go to: www.freescale.comFreescale Semiconductor
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: EGR270LabInfo.docEGR 270 Lab InformationLab Policies The lab grade makes up 25% of the course grade for EGR 270. Each lab session will begin with a lecture by the instructor on the following lab. Atten
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270L8Lab # 8 Introduction to the MicroStamp11 and 68HC11 Assembly Language Programming A. ObjectivesThe objectives of this laboratory are introduce the student to: assembly language programming MGTEK M
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270L6Lab # 6Synchronous CountersA. ObjectiveThe objective of this laboratory is to introduce the student to synchronous sequential counter circuits designed with JK flip-flops using the excitation ta
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270L2Lab # 2Logic Gate CharacteristicsA. ObjectivesThe objectives of this laboratory are: To become familiar with data sheets for logic gates To investigate various logic gate characteristics, incl
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270L4Lab # 4Decoders, Multiplexers, and 7-Segment DisplaysA. ObjectiveThe objective of this laboratory is to investigate the design and use of decoders and multiplexers. Boolean functions will be imp
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270H7Due date: See Due Dates TableHomework Assignment #7Reading Assignment:Chapter 7, Sections 1-6, in Logic and Computer Design Fundamentals, 4th Edition, by Mano.Problem Assignment:1. Use a timin
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270H5Due date: See Due Dates TableHomework Assignment #5Reading Assignment:Chapter 5 in the textbook Logic and Computer Design Fundamentals, 4th Edition by Mano Online supplement &quot;Design and Analysis
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270H3Due date: See Due Dates TableHomework Assignment #3Reading Assignment:Chapter 3 in the textbook Logic and Computer Design Fundamentals, 4th Edition by ManoProblem Assignment:1) Chapter 3 probl
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer Engineering File: N270H1Due date: See Due Dates TableHomework Assignment #1Reading Assignment:Chapter 1 in the textbook Logic and Computer Design Fundamentals, 4th Edition by ManoProblem Assignment:Note: You must sho
Rappahannock Community College - EGR - 270
EGR 270 Fundamentals of Computer EngineeringDue Dates TableSpring 2009Assignment/Test Homework #1 Homework #2 Homework #3 Homework #4 Homework #5 Homework #6 Homework #7 PSPICE Assignment #1 PSPICE Assignment #2 Test #1 (Ch 1-2) Test #2 (Ch 3-4) Test #
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab13.dvi %Pages: 2 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips lab13.dvi %DVIPSParameters: dpi=6
Rappahannock Community College - EGR - 270
COURSE INFORMATIONSpring 2009 EGR 270 Fundamentals of Computer Engineering Pre-requisites: EGR 260, EGR 125 Credits: 4 Lecture Hours: 3 hr/week Co-requisite: none Lab Hours: 3 hr/weekInstructor: Paul Gordy Phone: 822-7175 Office: H-115 (Advanced Technol
University of Toronto - CS - 108
2TVdgagkgafhp@aPCn2n1fTf9gTfPcP`1t(PiHDBDBChr@CsPiHb@PC0 @ ( R l R 6 I V s xvxxvw 6 0 s @ I 0 I Y YH sPaii@sfqevPVd9iHp@IC0v8tgVbiUQ8IhqchygpaIPgefe6sCkdsP9PT96t(96gcYQ8PsYPiHb@PCkgpaeyUgeH`gpaDIf`iYp@iIC1j Y 6 s ( 8 2 e 0 s a @B V I YH 0 y I Y U Y B 6 s
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab12.dvi %Pages: 1 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips lab12.dvi %DVIPSParameters: dpi=6
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab11.dvi %Pages: 2 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips lab11.dvi %DVIPSParameters: dpi=6
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab9.dvi %Pages: 1 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips lab9.dvi %DVIPSParameters: dpi=600
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab10.dvi %Pages: 1 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips lab10.dvi %DVIPSParameters: dpi=6
University of Toronto - CS - 108
t ~ @ a 245 B @ B F5 DP 28 F5D 28 xxcI`5bY161`(9FjgY1`(RxIXBAjI1FH@ 85 ~ 4DP ~ 24 B @ ~ 2B F xD5 28 P @ 85 Y e 85 FP F B4 7 DP cGG6IGR6xx16161cGkE|1651U(gFCC6xcXB1U(S1cTUBAffVcI6cUBWFU0jIIjRAU(6695xRhD 45 B @ P 0 F B F 2 ~ BD5 xD5 28 28 @ 85 x xAU(9FxDISD
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab8.dvi %Pages: 2 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips lab8.dvi %DVIPSParameters: dpi=600
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab7.dvi %Pages: 2 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips lab7.dvi %DVIPSParameters: dpi=600
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab5.dvi %Pages: 2 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -o lab5.ps lab5 %DVIPSParameters:
University of Toronto - CS - 108
t I R 6I B4 7 D 7 F cfw_ 0 F 0 e 0 2 F D 7 85 Y B DP 4DP 0 F 0 0 @5 I66g52IS5U0wFc`PEYUBGhDj321U(`(~FjWFFUB|REPcEQ2I`5UYEYfGI1VAIEWFjF2UBAEWFTSBSx1I$q wGx x X `5S2SxREP7AU(SDDg1RAC2fg@SB1cU511`(VGWDEWF01ARxjf6cV`B1IAEcU5wFU8`YFAc957 I xc 1U(hDcfw_ F x B F
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab4.dvi %Pages: 3 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -o lab-w4.ps lab4 %DVIPSParameters
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: lab3.dvi %Pages: 2 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -o lab3.ps lab3 %DVIPSParameters:
University of Toronto - CS - 108
t 4PB(P 0h 0 F 4DP Bh 0 @ Y a 0 FP e D B B( I1R1SD|1SD1U(VAR1EE2cRQPF32Ib51WDAQ(`7)IU5`2EYd1)' | E6 YP5 Bh B F FP 0 F D B B( Q4RG|EId1`(R1SD1|VcX5Q2gYhk1)' GGhb gWBcU5ek1U(RIS5U0WF1A911U(UBIUBEYlcfw_RiRcmR9~pcfw_mHf`@gY`Bk1U(TUBAk$6dS5gx 2 x Y 5 F B F a5
University of Toronto - CS - 108
d d d a ` Y X febc b333W )UTR Q S! cfw_HU V T WUUW I PC`7 17 A A220 F D B C EGE%&quot;B 0 3 ) ) 0 39 0 6) @ 2 0 84 ) 2 0 6) 5 0 3 ) ) 0 19 94 2 27 15 ' $ $ cfw_wUgcfw_(WA UaWA&amp;wUcfw_A%AWcfw_AwCAwWi# WAwwi&quot; !wwi Ay Wcfw_WCW)WAWW)i')3wcfw_w AWTW)w
University of Toronto - CS - 108
%!PS-Adobe-2.0 %Creator: dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software %Title: ultimate.dvi %Pages: 12 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %EndComments %DVIPSCommandLine: dvips -o ultimate.ps ultimate %DVIPSParameters: dpi=300, comments
University of Toronto - CS - 108
d d d a ` Y X febc b333W )UTR Q S! cfw_HU V T WUUW I PC`7 17 A A220 F D B C EGE%&quot;B 0 3 ) ) 0 39 0 6) @ 2 0 84 ) 2 0 6) 5 0 3 ) ) 0 19 94 2 27 15 ' $ $ cfw_wUgcfw_(WA UaWA&amp;wUcfw_A%AWcfw_AwCAwWi# WAwwi&quot; !wwi Ay Wcfw_WCW)WAWW)i')3wcfw_w AWTW)w
Sonoma - CS - 115
CS115Midterm2SolutionsApril9,2009Rules Youmustbrieflyexplainyouranswerstoreceivepartialcredit. Whenasnippetofcodeisgiventoyou,youcanassumethatthecodeis enclosedwithinsomefunction,evenifnofunctiondefinitionisshown.You canalsoassumethatthemainfunctionispr
Lake County - IB - 418
Ecosystems (2002) 5: 1122 DOI: 10.1007/s10021-001-0052-xECOSYSTEMS 2002 Springer-VerlagORIGINAL ARTICLESIncreasing Feldspar Tunneling by Fungi across a North Sweden Podzol ChronosequenceEllis Hofand,1* Reiner Giesler,2 Toine Jongmans,1 and Nico van B
Purdue - EE - 455
ECE455 Lab Tutorial 1Cadence Virtuoso Schematic Composer Introduction 1 IntroductionThe purpose of the first lab tutorial is to help you become familiar with the schematic editor, Virtuoso Schematic Composer. You will create a schematic and a symbol for
Purdue - EE - 557
IV - 1 LABORATORY FABRICATION PROCEDURESINTRODUCTION This section of the Microelectronics Laboratory Manual is much like a cookbook for fabrication. Here is where the procedures, or recipes, are listed for performing the many processing steps. The art of
Purdue - EE - 557
VI - 1 Suss MJB3 Mask Aligner ProcedureChanging masks (Only to be done by a TA): 1. Unscrew the lock screws that hold the mask holder in place 2. Take out the mask holder and place it on the table with the vacuum grooves facing upVI - 2NOTE: The side o
Oklahoma State - PHYSC - 519
PHYS 1214 Past Exam #1 Multiple Choice 1. Three 3.0 F capacitors in series are connected in parallel to an identical set of three capacitors in series (see figure). The capacitance of the combination of capacitors is (a) 2.0 F (b) 3.0 F (c) 4.5 F (d) 9.0
University of Toronto - ECE - 243
.text.align 2.global strlen.global strcpy.global strcmp/*int strlen(char *s)determines the length of the string s.Returns the number of characters in the string before the '\0'.pseudo-code:length = 0;while (*s != 0)cfw_ length+;
University of Toronto - ECE - 243
PCWrite = 1 AddrSel = 1 MemRead = 1 MemWrite = 0 IRLoad = 1 R1Sel = X MDRload = X R1R2Load = 0 ALU1 = 0 ALU2 = 001 ALUOp= 000 ALUOutWrite = X RFWrite = 0 RegIn = X FlagWrite = 0APCWrite = 0 AddrSel = X MemRead = 0 MemWrite = 0 IRLoad = 0 R1Sel = X MDRlo
University of Toronto - ECE - 243
IS61LV25616AL256K x 16 HIGH SPEED ASYNCHRONOUS CMOS STATIC RAM WITH 3.3V SUPPLYFEATURES High-speed access time: - 10, 12 ns CMOS low power operation Low stand-by power: - Less than 5 mA (typ.) CMOS stand-by TTL compatible interface levels Single 3.3V p
University of Toronto - ECE - 243
Nios II Processor Reference Handbook101 Innovation Drive San Jose, CA 95134 www.altera.comNII5V1-7.1Copyright 2007 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo, specific device designatio
University of Toronto - ECE - 243
8. Instruction Set ReferenceNII51017-7.1.0IntroductionThis section introduces the Nios II instruction-word format and provides a detailed reference of the Nios II instruction set. This chapter contains the following sections: Word Formats on page 81
University of Toronto - ECE - 243
8 8 IRload IR6-7 0 2 AddrSel 0 1 MemRead MemWrite IR 8 ADDR 8 PC 8 regw dataw 8 8 1 1 1 reg2 IR5-4 2 2 reg1 8 data1 R1 8 R1Sel RFWrite ALU1 ALUop 0 1 ALU2 ALUout 8 8 3RFdata28 R28 000 8 001 010 FlagWrite 011 100 8ALUMemory8 Imm4 4 5 ZE RegIn MDRloa