【正文】
tem39。 thus, product descriptions and reorder quantities must be stored in STOCK. Other data elements, such as the item purchased and the purchase quantity are generated by CUSTOMER. Still others, for example selling price and reorder point, are generated by or needed by MANAGEMENT. The current stockonhand for a given item is an example of a data element generated by an algorithm in one of the procedures. Step by step, methodically, the analyst identifies the data elements to be input to .stored by, manipulated by, generated by, or output by the system. To keep track of the data elements, the analyst might list each one in a data 5 dictionary. A simple data dictionary can be set up on index cards, but puterized data dictionaries have bee increasingly popular. The data dictionary, a collection of data describing and defining the data, is useful throughout the systems analysis and design process, and is often used to build a database during the implementation stage. The idea of analysis is to define the system39。 how might they be implemented? One possibility is writing one program for each process. Another is bining two or more processes in a single program。 in the second system, they would be linked to sequential files. A program to process direct access data is different from a program to process sequential data. The data drive the system. The choice of a data structure determines the program’s structure. Note that the program is defined and planned in the context of the system. 2 4 Implementation Once the system39。最后,打印出工資單,用來分發(fā)。系統(tǒng)分析員是一個專業(yè)人員,他能把用戶的需求轉換成計算機技術 術語。 麻煩的是,隨著顧客的購買庫存減少了,還有退貨以及追加訂貨等情況,所以貨物的清單經常地發(fā)生變化.店主喜歡按貨物清單購銷,剛好在商店售完某種10 貨物之前,再訂購這種貨。因此,一份能表達分析員對問題理解程度的清晰的書面報告是必要的。在分析階段礙到了這方面知識,并正式地形成文件。數據一進入系統(tǒng),就被若干進程加工或改變,用圓角的矩形表示這些過程。 GENERATEREORDER(產生訂貨單程序)就向 SUPPLIER(供應商)發(fā)出需要的數據,供應商就把貨運送到商店。例如,某種已知貨物的現存量就是由某個處理過程中的某種算法產生出來的。這是該階段的基本要求。因此可以開始考慮系統(tǒng)如何完成這些事。 請看系統(tǒng)流程圖,它指明了若干硬部件,其中包括一臺計算機、一個磁盤驅動器、一個數據輸入終端、一臺打印機和一個顯示終端等;還需要兩個程序,事務處理程序和報告與再定貨程序;除了硬件和程序以外,我們還需要貨單文件以及 I/O 設備與軟件之間數據流的數據結構 。如果可采用批處理的話,那么一個順序文件結構可能是最好的了。一種可能的系統(tǒng)是當事務一發(fā)生就接收并處理該事務;另一種可供選擇的方案是可整天的收集銷售單,商店關門以后,成批地處理。所有的部分都準備好了,就調試系統(tǒng)。 此文章出自: 華北電力大學科技學院 信管 08K1 學生 081906040119 16 致 謝 在整個畢業(yè)設計過程中,我得到了指導老師和實習單位的大力支持, 在此,特別感謝各位老師、實習單位的各位老師以及我的同學們。 最后,感謝我信息管理與信息系統(tǒng)專業(yè)的同學們,是你們讓我學會了如何適應新環(huán)境接受新挑戰(zhàn)。我要誠摯地感謝我的母校對我五年的培育。最后還有,條件改變了,必須修改程序,例如,政府通過了一個法律,修改了征收所 得稅的方法,則工資程序就必須修改。注意,程序在系統(tǒng)的意義上被定義和規(guī)劃。該種情況要求快速響應,每個事務必須在它發(fā)生時得到處理。因為數據鏈接了部件,所以接下來的工作就是確定數據結構。讓我們集中在一種選擇上并為它提供一些詳細的資料。例如,如果分析員沒有足夠的信息使數據字典的條目完整化,那么分析員就可能丟失一些內容。 分析階段的目標是定義系統(tǒng)的主要功能和有條理地確定數據元素。從數據的目的地 SUPPLIEF 開始。 圖 2 展示了貨單管理系統(tǒng)的初步的數據流程圖。店主希望有選擇地查看供應中任意一種短缺商品的清單,如果合理的話,定貨補充庫存,因此系統(tǒng)必須能和經營管理部門對話。該研究是整個系統(tǒng)分析和設計的一個簡略的方案,應力圖回答以下三個問題: 1.問題能解決嗎? 2.在用戶的環(huán)境下問題能解決嗎? 3.在一個合適的花費上問題能解決嗎? 如果這些問題中的任何一個得到的是否定回答,那么該系統(tǒng)就不應開發(fā)。注意,當這個過程開始時,用戶擁有很重要的資料,分析員必須認真地聽和學。也許通過一個例子來說明該過程是最好的方法。被稱為用戶的那些人常常知道需求什么信息,但是他們可能缺乏得到這些信息的計算機的專門知識。僅僅編寫一個程序是不夠的,因為程序只是系統(tǒng)中的一部分。 a good analyst will develop several feasible alternatives before choosing one. Fig 4 The flowchart maps the system, highlighting its major physical ponents. Since the data link the ponents, the next task is defining the data structures. 7 Consider, for example, the inventory file. It contains all the data elements from the data store STOCK. The data elements are listed in the data dictionary. Using them, the file39。t have sufficient information to plete a data dictionary entry, he or she has probably missed something. Perhaps most importantly, the data flow diagram and the data dictionary document the analyst39。s next task is gaining a sense of their logical relationship. A good way to start is by describing how data flow between the functions. As the name implies, data flow diagrams are particularly useful for graphically describing these data flows. Four symbols are used (Fig. 1). Data sources and destinations are represented by squares。s objective is determining what the user (in this case, the store39。 because the program is but one ponent in a system. A system is a group of ponents that wo