This presentation is the property of its rightful owner.
Sponsored Links
1 / 62

第 6 章 详细设计 PowerPoint PPT Presentation


  • 81 Views
  • Uploaded on
  • Presentation posted in: General

第 6 章 详细设计. 概述. 根本目标:确定应该怎样具体实现所要求的系统,即对目标系统的精确描述。 详细设计的结果基本上决定了最终的程序代码的质量。. 6.1 结构程序设计. 程序设计中三种基本的控制结构. 结构程序设计. 如果一个程序的代码块仅仅通过顺序、选择和循环这 3 种基本控制结构进行连接,并且每个代码块只要一个入口和一个出口,就称该程序师结构化的。. 6.2.1 设计问题 1. 系统响应时间 2. 用户帮助设施 3. 出错信息处理 4. 命令交互. 6.2 人机界面设计.

Download Presentation

第 6 章 详细设计

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


6

6


6


6

6.1


6

  • 3


6

  • 6.2.1

  • 1.

  • 2.

  • 3.

  • 4.


6

6.2


6

  • 123 4,


6


6

  • 6.2.2

  • 6.2.3

  • 1.

  • 2.

  • 3.


6


6


6


6


6

6.3


6


6


6

  • (N-S)

  • NassiShneidermanN-S


6

6.4

(a) (b) IF-THEN-ELSE(c) CASE

(d) (e) A


6

  • PADPAD(Problem Analysis Diagram)1973


6

4.28PAD

(a) (P1P2)

(b) (IF C THEN P1 ELSE P2)

(c) CASE(d) WHILE(WHILE C DO P)

(e) UNTIL(REPEAT P UNTIL C)(f) (g)


6

  • 6.3.5

  • ()


6

6.7


6

5 _5.5


6

  • 6.3.4

  • PAD(PDL)


6


6


6

  • 1

  • 120

  • 22050

  • 35050

{}{20205050}{}32 x 3 x 3=18


6


6


6


6


6

2

5 _5.5


6

IFTHENELSE

IF 30

IF

THEN

ELSE

ELSE

IF 100 THEN

IF

THEN

ELSE

ELSE

5 _5.5


6

  • (PDL)

  • PDL

  • PDLPDLPDL()()


6

PROCEDURE spellcheck IS BEGIN split document into single words .lood up words in dictionary.display words which are not in dictionary.create a new dictionary.END spellcheck


Jackson

----Jackson

6.4

Jackson

Jackson


Jackson p68

JacksonP68


6

1.

6.8ABCD 3


6

2.

6.9ABCD


6

3.

6.10ABN(N0)


6 4 2 jackson

6.4.2Jackson


6

6.4.3Jackson

(1)Jackson

2

3Jackson


6

4

5


6

A seq

B

C

D

A end

A sel 1

B

alt 2

C

alt 3

D

A end

A iter while

B

A end


6

6.12Jackson


6

6.13Jackson


6

6.14


6

6.5

  • 6.5.1McCabe

  • 1.


6

  • 1

  • 2GV(G)=E-N+2,EN

  • 3V(G)=P+1,P


6


6

6.16PDL4


6

6.17PDL


6

3.

  • V(G)<=10


6 5 2 halstead

6.5.2 Halstead

  • N1

  • N2

  • N= N1 + N2


6

  • H

  • H=n1log2n1+n2log2n2

    E=Nlog2(n1+n2)/3000


  • Login