\documentclass[12pt]{article} \usepackage{locals} \usepackage{epsfig} \setlength{\topmargin}{-0.25in} \setlength{\textwidth}{6.7in} \setlength{\textheight}{9.5in} \setlength{\oddsidemargin}{-0.15in} \parindent=0pt \pagestyle{empty} %\newcommand{\answer}[1]{\begin{bf} #1 \end{bf}} \newcommand{\answer}[1]{\begin{quote}\begin{sffamily} #1 \end{sffamily}\end{quote}} \newcommand{\name}[1]{\hspace{5in} {\bf\sf Name: } #1} \newcommand{\labsection}[1]{\hspace{5in} {\bf\sf Section: } #1} \begin{document} % NOTE: PLEASE FILL IN YOUR NAME AND SECTION NUMBER BELOW \name{Your Name} % This blank line is required. \labsection{0} \begin{center} {\LARGE\bf \sf Software Engineering} \\ \vspace{0.15in} {\Large\bf \sf CSE470 \hspace*{4.0truein} Fall 2001} \\ \vspace{0.15in} {\Large \bf \sf Homework 4 \hspace*{3.3truein} Due: 9/28/2001} \end{center} \vspace{0.2in} % % Each question is represented by \item % % Put your answer between the braces in the \answer{ } construct. % \begin{enumerate} \item A UML class diagram can be used to model UML itself by considering each graphical component to be a class. For example, a \textbf{Model} is a collection of \textbf{Class}. We could depict this as follows: \begin{center} \epsfig{file=cse470_1.eps,width=1in} \end{center} Construct and draw a class model showing the following UML components:\\ \textit{Model, Class, Association, State diagram, Transition, Composite state, Simple state} (a simple state is a state that contains no other states). In addition to the model, include a written explanation of the model. You may add more classes if you think it's required. Think carefully about where the state diagram fits in the model and what must be present in the model to have a state diagram. Hint: Make Composite state and Simple state the subclasses of a superclass called ``State Vertex''. \answer{} \end{enumerate} \end{document}