我是靠谱客的博主 腼腆荷花,最近开发中收集的这篇文章主要介绍语言ns经典流程图_盒图、NS图(Nassi Shneiderman图)总结,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

9c053562c5aa2d57bd43e57c82ac4136.png
A Nassi–Shneiderman diagram (NSD) in computer programming is a graphical design representation for structured programming. This type of diagram was developed in 1972 by Isaac Nassi and Ben Shneiderman who were both graduate students at SUNY-Stony Brook.

Nassi和Scheiderman提出了一种符合结构化程序设计原则的图形描述工具,叫作盒图,也叫做N-S图。任何一个N-S图,都是下面5种

2a284ab4739421333530d0ae69d9ce1c.png

NS图类似流程图,但所不同之处是NS图可以表示程序的结构。

依从上到下的设计,待处理的问题会分解成一些较小的副程序,最后只有简单的叙述及控制流程结构,NS图对应了上述的思维,利用嵌套的方块来表示副程序。NS图中没有对应Goto指令的表示,和结构化编程中不使用GOTO的理念一致。NS图的抽象层次接近结构化的代码,若程序重写,NS图就需重新绘制,不过NS图在简述程序及高级设计时相当方便。

NS图几乎是流程图的同构,任何的NS图都可以转换为流程图,而大部分的流程图也可以转换为NS图。其中只有像Goto指令或是C语言中针对循环的break及continue指令无法用NS图表示。

the fascinating history and evolution of structured flowcharts (usually called Nassi-Shneiderman Diagrams or structograms) goes back to 1972. As a graduate student, I got the idea while attending an ACM organized talk in New York by Michael Jackson on structured programming. If GOTOs were to be avoided, then shouldn't the lines in old flowcharts be avoided as well. Fifteen minutes of sketching led to the first ideas of sequence, conditionals and iteration.
Returning to Stony Brook, fellow graduate student Isaac Nassi shaped the ideas based on his more in-depth knowledge of structured programming principles. Together we wrote the original paper, which was quickly rejected for publication in the Communications of the ACM. So we sent it to the unrefereed ACM SIGPLAN (Special Interest Group on Programming Languages) Notices where it appeared in August 1973.
Nassi, I. and Shneiderman, B., Flowchart Techniques for Structured Programming, SIGPLAN Notices 8, 8 (August, 1973). (PDF file)
Since then it has been referenced thousands of times, spawned dozens of software implementations, been taught in dozens of textbooks, and is a required national standard in some countries. In Germany they are widely used and known as Struktogramme, standardized by DIN 66261 (November 1985), INFORMATION PROCESSING; NASSI-SHNEIDERMAN FLOWCHART SYMBOLS.
It's been exciting to see how this idea has spread, how others have extended it (sometimes abused it), and what influence it has had. I think its appeal has to do with its simplicity, originality, and ease of extending and embedding it. For visually oriented users, it provides a compact overview of a program that can show some relationships nicely. On the other hand, it may consume more paper than the code and be harder to scan for some details.
I believe it is helpful at early stages of program design for sketching the high-level modular design. For some people it is an aid in guiding thinking about nested conditional structures, in a more visual way than a decision table.

相关链接:

https://blog.csdn.net/chs007chs/article/details/78366663​blog.csdn.net N-S图_百度百科​baike.baidu.com
95d4f6b7a43cbdedd8efc57ecf039a52.png
A short history of structured flowcharts​www.cs.umd.edu
62ff3aff39918eaa6a2c621ad7093b37.png
How to Draw Nassi-Shneiderman Diagrams​www.thern.org
95fcd4164402aa35ddc41f5cedad95f1.png
Nassi-Shneiderman Diagrams​eagereyes.org
049bf338feab20e759a6de2789478644.png

最后

以上就是腼腆荷花为你收集整理的语言ns经典流程图_盒图、NS图(Nassi Shneiderman图)总结的全部内容,希望文章能够帮你解决语言ns经典流程图_盒图、NS图(Nassi Shneiderman图)总结所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(43)

评论列表共有 0 条评论

立即
投稿
返回
顶部