Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.

2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.

3. Student and Teacher User Guides |  Schemes of Work |   Real Teacher use Videos |


Join 36000+ teachers and students using TTIO.

Class Diagrams

A class diagram is a diagram used in designing and modeling software to describe classes and their relationships. The diagram shows the names and attributes of the classes, connections between the classes, and sometimes also the methods of the classes. A class diagram resembles a flowchart in which classes are portrayed as boxes, each box having three rectangles inside. The top rectangle contains the name of the class; the middle rectangle contains the attributes of the class; the lower rectangle contains the methods, also called operations, of the class.

Class diagram - Wikipedia


What are they used for?

Class diagrams are the blueprints of your system or subsystem. You can use class diagrams to model the objects that make up the system, to display the relationships between the objects, and to describe what those objects do and the services that they provide. Class diagrams are useful in many stages of system design.


Suggested Video


Draw your own diagrams

https://creately.com/lp/uml-diagram-tool/

https://www.lucidchart.com/

https://cacoo.com/


Additional Reading and useful links

http://www.cs.utsa.edu/~cs3443/uml/uml.html

https://www.codeproject.com/Articles/618/OOP-and-UML

www.teachyourselfpython.com