![9c053562c5aa2d57bd43e57c82ac4136.png](https://img-blog.csdnimg.cn/img_convert/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](https://img-blog.csdnimg.cn/img_convert/2a284ab4739421333530d0ae69d9ce1c.png)
NS图类似流程图,但所不同之处是NS图可以表示程序的结构。
依从上到下的设计,待处理的问题会分解成一些较小的副程序,最后只有简单的叙述及控制流程结构,NS图对应了上述的思维,利用嵌套的方块来表示副程序。NS图中没有对应Goto指令的表示,和结构化编程中不使用GOTO的理念一致。NS图的抽象层次接近结构化的代码