当前位置:网站首页>Software designer afternoon question
Software designer afternoon question
2022-07-29 00:19:00 【zayyo】
The first question is
Investigate : Data flow diagram
First question : How to answer questions , Watch the analysis 1-2 Graph , Combined with text , Get the missing entity
Second questions : How to answer questions , Watch the analysis 1-2 Graph , Combined with the text description, the data storage name , Choose to add ( surface ) and ( file ) Equisuffix
Third questions : How to answer questions ,
- First step : Parent graph and child graph balance ( Compare the difference between parent graph and child graph )
- The second step : Processing has both input data and output data
- Data conservation , Read the combination of text description and legend , See if there is any missing
matters needing attention :( One end of the data flow must be processing )
The second question is
Investigate :ER Diagrams and relational patterns
First question : How to answer questions ( There are several connections between reading and analysis ) Can I use a crude “ Contact number ” Instead of contact , Analyze what the connection is and the relationship 1:1 still 1:n perhaps n:m
Second questions :
(1:1 when Situation 1 : Contact independent : Contact your own attributes and the primary keys of both parties . Situation two : Merge the attributes of the connection to either party and the primary key of the other party )
(1:n when Situation 1 : Contact independent : Contact your own attributes and the primary keys of both parties . Situation two : Merge the connection to multiple parties of the associated entity and add the primary key of the other party )
(n:m when It can only be converted into an independent connection : Contact your own attributes and the primary keys of both parties ,) Be careful : Combined primary key
( The transformation between superclass and subclass : Add the primary key of the superclass to the subclass )
- Step one : Read the description and properties given , See if there is any lack of explanation
- Step two : Analyze the relationship between entities to see if the other party's primary key is missing
matters needing attention : Primary key solid line , Foreign key dotted line , The independent connection is the combined primary key , Continuous solid line
Third question
Basic knowledge of :
UML:UML There is 4 Kind of relationship : rely on 、 relation 、 Generalization and Implementation .
(1) rely on (Dependency). Dependency is the semantic relationship between two things , One of the things ( Independent things ) Hair
Change will affect another thing ( Depend on things ) The semantics of the . On the graph , Draw a dependency as a possible direction
Dotted line , Pictured 7-6 Shown .()



(2) relation (Association). Association is a kind of structural relationship , It describes the - - Group chain , A chain is a connection between objects .
Gather (Aggregation) Is a special type of Association , It describes the structural relationship between the whole and parts . Association and aggregation
The graphical representation of is shown in the figure 7-7 Sum graph 7-8 Shown . The degree of repetition can be marked on the Association (Multiplicity) And the character (Role).




Aggregation is a hollow diamond , And the combination is a solid diamond 
(3) generalization (Generalization). Generalization is a special / General relationship , Special elements ( Subelement ) The object of can replace
Generation of general elements ( Parent element ) The object of . by this means , Child elements share the structure and behavior of the parent element . On the graph ,
Draw a generalized relationship as - A solid line with a hollow arrow , It points to the parent element , Pictured 7-9 Shown .

The parent class generalizes the child class ( Subclass inherits parent , Alternative inheritance )
(4) Realization (Realization). Implementation is the semantic relationship between class elements , One class element is specified by another class element
A contract guaranteeing execution . Implementation relationships are used in both cases : A kind of Between interfaces and the classes or components that implement them ;
The other is between use cases and the collaboration that implements them . On the graph , Draw an implementation relationship as - - With a hollow arrow
Dotted line , Pictured 7-10 Shown .( Less examination )
Class diagram 

Use case diagram 

Inclusion relation
When triggering the included use case, it must touch the included use case 
Extended relationship
When executing basic use cases , Trigger extended use cases ( Example : Points will be deducted because of being late , Late arrival and points deduction )

Question 6
// Access modifier
private Private Code can only be accessed in this class
protected The protected Code can be accessed in the same package and subclass .
// Non access modifier
final Immutable This class cannot be inherited by other classes
abstract abstract This class cannot be used to create objects ( To access abstract classes , Subclasses of abstract classes must be used )
interface Interface
边栏推荐
- 2022网络安全学习路线 非常详细 推荐学习
- Attack and defense world web master advanced area web_ php_ include
- Detailed explanation of the usage of exists in MySQL
- Real time data warehouse: meituan reviews Flink's real-time data warehouse application sharing
- Visual full link log tracking
- 110道 MySQL面试题及答案 (持续更新)
- Google browser, no installation required
- ACM SIGIR 2022 | interpretation of selected papers of meituan technical team
- ES6 operation tutorial
- 【C】 Drink soda and find a single dog
猜你喜欢

#{}和${}的区别

Event extraction and documentation (2008-2017)

After SAP Oracle replicates a new instance, the remote connection of the database reports an error ora-01031

Newscenter, advanced area of attack and defense world web masters

ACM SIGIR 2022 | interpretation of selected papers of meituan technical team

Pycharm configuring the running environment

Laravel8 middleware realizes simple permission control

DCAT in laravel_ Admin preliminary use record

MySQL安装配置教程(超级详细、保姆级)

Exchange 2013 SSL certificate installation document
随机推荐
Simple use and understanding of laravel message queue
vulnhub:SolidState
Detailed explanation of the usage of exists in MySQL
Advanced area of attack and defense world web masters supersqli
How can Plato obtain premium income through elephant swap in a bear market?
Summary of wrong questions of software designers
CV target detection model sketch (2)
Sword finger offer 41. median in data flow
Idea2021.2 installation and configuration (continuous update)
Dual for loop optimization
【C】 Introduction and Simulation Implementation of ATOI and offsetof
Do you know any formal part-time platforms?
12个MySQL慢查询的原因分析
Sword finger offer 64. find 1+2+... +n, logical operator short circuit effect
Advanced area of attack and defense world web masters -baby Web
Introduction and solution of common security vulnerabilities in web system CSRF attack
动态规划问题(八)
What is in word?:^ p
curl (7) Failed connect to localhost8080; Connection refused
Erc20 Standard Code