+1 vote
82 views
in Software Engineering by (user.guest)

Briefly describe Data Flow diagram in system analysis and design and explain thee types.

With the aid of a diagram discuss the various components of Data Flow diagram in system analysis and design.

Name the two key advantages of factory methods, when compared to constructors.

1 Answer

+1 vote
ago by (user.guest)
selected ago by (user.guest)
 
Best answer

A data flow diagram is a graphical representation of how data flows within any given system, with each component performing different functions. Below is an image of the various components.

There are two types of data flow diagrams and these are;

  • Physical dataflow Diagram: This shows the actual implementation of the components within the system.
  • Logical data flow diagram: This focuses more of the idea or concept how data will flow through the system.

Advantages of factory methods over constructors.

  • It improves quality of code, making it more readable.( you can change factory method name, but when using constructors it has to be the same name as the class.)
  • It improves performance by caching.

image src: GeeksforGeeks

Related questions

+2 votes
1 answer 3.3k views
–1 vote
1 answer 222 views
–1 vote
1 answer 239 views
0 votes
1 answer 85 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...