![Page 1: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/1.jpg)
Data Modeling
ER SADT UML
![Page 2: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/2.jpg)
Data Modeling: ER
Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)
![Page 3: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/3.jpg)
Data Modeling: ER
CREATE TABLE ID (HD INTEGER NOT NULL, BD INTEGER, CONSTRAINT hd_pk PRIMARY KEY (HD)) CREATE TABLE ProperMotion (HD INTEGER NOT NULL, PMX DOUBLE, PMY DOUBLE, CONSTRAIN hd_fk FOREIN KEY (HD) REFERENCES hd_pk)
SELECT T1.HD, T1.BD, T2.PMX, T2.PMY FROM ID T1, ProperMotion T2 where T2.HD=T1.HD
![Page 4: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/4.jpg)
SADT
Structured Analysis and Design Technique Integration Definition for Function
Modeling -0 Simple 2-elements diagram
![Page 5: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/5.jpg)
SADT
![Page 6: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/6.jpg)
SADT
![Page 7: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/7.jpg)
UML: Unified Modeling Language
SW design Data processing design Design → Implementation Object-oriented approarch Database design
![Page 8: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/8.jpg)
UML: Use Case Diagram
Actor Use Case
First step in developing Define use cases Do not go in details
![Page 9: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/9.jpg)
UML: Activity Diagram
Initial State Activity Final (End) State Connector (Fork/Union)
![Page 10: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/10.jpg)
UML: Interaction Diagram
Object (participant) Lifeline Message
![Page 11: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/11.jpg)
UML: Class Diagram
Class Object Relashionship
![Page 12: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/12.jpg)
UML: diagrams
Package diagram Component diagram Deployment diagram Statechart diagram
![Page 13: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/13.jpg)
Data Modeling: UML
diagram of classes diagram of tables
the same primitives for another purposes data processing
![Page 14: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/14.jpg)
![Page 15: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/15.jpg)
XML
Extensible Markup Language Self-describing format Standard Generalized Markup Language HTML XML Schema XSLT
![Page 16: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/16.jpg)
XML: structure
Node (Element) Text Attributes
![Page 17: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/17.jpg)
Python
Python language www.python.org Object-oriented, modular, API language-interpreter
Functions def Classes class
![Page 18: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/18.jpg)
Python: an example
from math import pi, sin, cos, sqrt, asin, atan, atan2from astro.util.extinction import p2i
class IDLLibError(Exception): pass
def total(a,b): try: if(len(a)!=len(b)): raise IDLLibError, 'total: the same size for input matrix' except: raise IDLLibError, 'total: input are two matrix of the same size' x=0.0 for i in range(len(a)): x=x+a[i]*b[i] return x
![Page 19: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/19.jpg)
Python: an exampleimport MySQLdb
conn = MySQLdb.connect(host = "localhost",user = "root",passwd = "", unix_socket="/home/belikov/mysql/mysql.sock",
read_default_file="/home/belikov/mysql/my.cnf")cursor = conn.cursor ()cursor.execute ("DROP DATABASE PROB")cursor.execute ("CREATE DATABASE PROB")cursor.execute ("USE PROB")cursor.execute ("CREATE TABLE TWOMASS (RA DOUBLE, DECL DOUBLE)")
cursor.close ()conn.close ()
![Page 20: Data Modeling ER SADT UML. Data Modeling: ER Entity-relationship diagram Entity: attributes Relationship: (smth)-(smth)](https://reader034.vdocuments.mx/reader034/viewer/2022052509/56649d475503460f94a22983/html5/thumbnails/20.jpg)
R
Language for wrapping statistical computing Site: www.r-project.org Arrays Plotting Aggregate functions