w 1 Data flow diagram DFD 2 Process

  • Slides: 22
Download presentation

紀錄需求 具 w 常用的紀錄 具有 1. 資料流程圖(Data flow diagram, DFD) 2. 處理說明(Process description, PD)

紀錄需求 具 w 常用的紀錄 具有 1. 資料流程圖(Data flow diagram, DFD) 2. 處理說明(Process description, PD) 3. 資料字典(Data dictionary, DD)

處理說明 (Process description, PD) w 以文字描述DFD圖中處理步驟的細節 w 如上圖中編號[1. 0計算基本 資]的處理說明 1. Get hour-worked of

處理說明 (Process description, PD) w 以文字描述DFD圖中處理步驟的細節 w 如上圖中編號[1. 0計算基本 資]的處理說明 1. Get hour-worked of one employee from personnel 2. Get this employee’s basic salary rate from database 3. If this employee is a manager then he gets fix salary 4. If the employee is entry-level worker then his salary= 40 hour-worked x salary rate + (hour-worked-40) x overwork pay rate 5. Send out the result 6. Process everyone’s record until end of file

w DD =data store definition + term definition + data element definition w Example

w DD =data store definition + term definition + data element definition w Example of DD A. data store definition personnel information=Name+Gender+IDnumber+[spouse]+1{phone number}3 …… B. term definition ID-number=County code+Gender+ 7 serial number+1 check digit

w C. data element definition w county code format : one character value(possible value):

w C. data element definition w county code format : one character value(possible value): A-L meaning: A stands for Taipei, value 11 while calculating R stands for Tainan, value 21 while calculating ……

w Gender Format: one character Value: F or M Meaning: F stands for female

w Gender Format: one character Value: F or M Meaning: F stands for female M stands for male