外文翻譯系統(tǒng)的分析與設(shè)計_第1頁
外文翻譯系統(tǒng)的分析與設(shè)計_第2頁
外文翻譯系統(tǒng)的分析與設(shè)計_第3頁
外文翻譯系統(tǒng)的分析與設(shè)計_第4頁
外文翻譯系統(tǒng)的分析與設(shè)計_第5頁
已閱讀5頁,還剩7頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

1、系統(tǒng)的分析與設(shè)計系統(tǒng)在存儲程序的控制下,計算機把數(shù)據(jù)處理成信息。對系統(tǒng)的定義略加思考,任何一個已知的計算機應(yīng)用至少包含三個部分,硬件、軟件和數(shù)據(jù)。僅僅編寫程序是不夠的,因為程序只是系統(tǒng)中的一部分。系統(tǒng)就是為實現(xiàn)一個目標(biāo)而共同工作的一組部件。例如,考慮一個工資系統(tǒng),它的目標(biāo)是為雇員付工資,應(yīng)包含哪幾個部分呢?每天雇員們把他們工作的時數(shù)記錄在計時卡上,每周末把計時卡收集起來,送給計算中心,在計算中心把計時卡上的數(shù)據(jù)讀給工資程序。當(dāng)工資程序執(zhí)行時,程序存取數(shù)據(jù)文件。最后,打印出工資單,用來分發(fā)。為使系統(tǒng)工作,人、處理過程、輸入和輸出介質(zhì)、文件、硬件和軟件都必須認(rèn)真地協(xié)調(diào)。注意,程序只是系統(tǒng)中的一部分

2、。系統(tǒng)分析 因為人們需要信息,所以要開發(fā)基于計算機的系統(tǒng)。被稱為用戶的那些人常常知道需求什么信息,但是他們可能缺乏得到這些信息的計算機的專門知識。計算機技術(shù)方面的專業(yè)人員,例如程序設(shè)計員有這方面的專門知識,但是可能在用戶的專業(yè)領(lǐng)域內(nèi)缺少訓(xùn)練。麻煩的是,用戶和程序似乎常常講不同的語言,導(dǎo)致了兩者之間的聯(lián)系障礙。系統(tǒng)分析員是一個專業(yè)人員,他能把用戶的需求轉(zhuǎn)換成計算機技術(shù)術(shù)語因此他是用戶和技術(shù)人員之間的橋梁。像工程師建筑師一樣,系統(tǒng)分析員把扎實的技術(shù)技能與見識,想象力和一點藝術(shù)結(jié)合起來去解決問題。 通常,分析員遵循一個意義明確的有條理的過程,至少包括以下幾個步驟:1.問題的定義2.分析3.設(shè)計4.實

3、現(xiàn)5.維護在每個步驟結(jié)尾,研究的結(jié)果都要形成文件,提供給用戶和程序設(shè)計員。 基本的思想是要盡早地抓住和修正錯誤以及一些未理解之處。 也許通過一個例子說明該過程是最好的方法。設(shè)想一個小服裝店,成批的購買貨物,所貨物擺在貨架上, 零售給顧客。 一方面,庫存太多會造成不必要的開銷;另一方面可供挑選的商品太少會使顧客失去購買的信心。 理想上,希望達到一個平衡,貨物既充足但又不太多。麻煩的是,隨著顧客的購買庫存減少了,還有退貨以及追加訂貨等情況,所以貨物的清單經(jīng)常地發(fā)生變化。店主喜歡按貨物清單購銷,剛好在商店售完某種貨物之前,再訂購這種貨。對一項商品,該任務(wù)是容易完成的,只要計算一下手頭現(xiàn)存的貨物數(shù)量就

4、行了。遺憾的是商店要經(jīng)營幾百種不同的貨物,始終跟蹤每一種貨物的銷售情況是不實際的,也許計算機可以幫這個忙吧!問題定義在系統(tǒng)分析和設(shè)計過程中的第一步,是問題的定義。分析員的目標(biāo)是確定用戶需求什么。注意,當(dāng)這個過程開始時,用戶擁有很重要的資料,分析員必須認(rèn)真地聽和學(xué)。用戶幾乎都不是計算機方面的專家,他們大多數(shù)人把計算機看成魔術(shù)盒,并不關(guān)心它是如何工作的。在該階段上,分析員不必考慮程序、文件或計算機硬件,但他們必須用用戶自己的專業(yè)術(shù)語與用戶對話。目的是確保用戶和分析員兩者都思考同一件事。因此,一份能表達分析員對問題理解程度的清晰的書面報告是必要的。用戶應(yīng)該反復(fù)地閱讀和修改這份書面報告。此時是在時間、

5、金錢和精力被浪費之前抓出錯誤和疏漏的好時機。通常,接著初步的問題定義,分析員要進行可行性研究。該研究是整個系統(tǒng)分析和設(shè)計一個簡略的方案,應(yīng)力圖回答以下三個問題: 1. 問題能解決嗎?2. 在用戶的環(huán)境下問題能解決嗎?3.在一個合適的花費上問題能解決嗎?如果這些問題中的任何一個得到的是否定回答,那么該系統(tǒng)就不應(yīng)開發(fā)。有了好的問題定義和肯定的可行性研究, 分析員就能著手計劃和研究問題的解了。分析當(dāng)分析開始時,分析員要理解問題,下一步要決定的是為了解決問題必須做什么。用戶清楚必須做什么。在分析階段得到了這方面知識,并正式地形成文件。大多數(shù)用戶是按著所要完成的功能和要處理的數(shù)據(jù)元素去思考的,目的是要區(qū)

6、分并聯(lián)接這些關(guān)鍵的功能和數(shù)據(jù)元素,隨之產(chǎn)生邏輯系統(tǒng)設(shè)計。從系統(tǒng)的基本功能入手,關(guān)鍵是始終監(jiān)視貨單中每種商品的現(xiàn)存量。因為顧客購買、換貨和退貨,所以貨單要改變,因此系統(tǒng)必須處理顧客辦理的手續(xù)。店主希望有選擇地查看供應(yīng)中任意一種短缺商品的清單,如果合理的話,定貨補充庫存,因此系統(tǒng)必須能和經(jīng)營管理部門對話。最后,經(jīng)過經(jīng)營管理部門的核準(zhǔn),系統(tǒng)應(yīng)該產(chǎn)生一個重新訂貨單,準(zhǔn)備發(fā)送給供應(yīng)商。已知了系統(tǒng)的基本功能,分析員的下一個任務(wù)是分析理解這些功能之間邏輯關(guān)系的知識。啟動這項工作的一個好方法是描述功能之間的數(shù)據(jù)如何流動。顧名思義,為了用圖解方法描述這些數(shù)據(jù)流,那么數(shù)據(jù)流程圖就是特別有用的。四種符號:數(shù)據(jù)的源和

7、目的地用方框表示,輸入的數(shù)據(jù)從源進入系統(tǒng),而輸出的數(shù)據(jù)流到目的地。數(shù)據(jù)一進入系統(tǒng),就被若干進程加工或改變,用圓角的矩形表示這些過程。進程可以是程序、過程以及能夠改變或傳送數(shù)據(jù)的任何事件。為了后續(xù)處理,數(shù)據(jù)被存儲可以是磁盤文件、磁帶文件、數(shù)據(jù)庫、一些筆記或者甚至是人的記憶。最后,數(shù)據(jù)源、數(shù)據(jù)目的地、處理過程和數(shù)據(jù)存儲之間的數(shù)據(jù)流向用箭頭表示。貨單管理系統(tǒng)的初步的數(shù)據(jù)流程圖。從customer(顧客)開始,由此事務(wù)進入系統(tǒng),在這所辦理的手續(xù)由processtransaction(事務(wù)處理程序)處理。stock保存貨單中每項商品的數(shù)據(jù)。為了對新的事務(wù)處理起作用,事務(wù)處理程序要改變數(shù)據(jù)。同時,mana

8、gement(經(jīng)營部門)可通過communicate(通信)存取系統(tǒng),檢查stock中的數(shù)據(jù),如果需要的話,請求重新訂貨。訂貨單一經(jīng)核準(zhǔn),generatereorder(產(chǎn)生再訂貨單程序)就向supplier(供應(yīng)商)發(fā)出需要的數(shù)據(jù),供應(yīng)商就把貨運送到商店。注意,因為訂貨表現(xiàn)為某種待定的商品或某些商品在清單中的變化,所以把訂貨作為事務(wù)處理。數(shù)據(jù)流程圖描述了邏輯系統(tǒng)。下一步追溯該系統(tǒng)的數(shù)據(jù)流向了。從數(shù)據(jù)的目的地supplier開始。例如,重訂貨單送給了供貨商們,商店可能想要25條工作褲,為了填寫訂貨單,供應(yīng)商需要商品的說明和再訂貨的數(shù)量,那么,這些數(shù)據(jù)從什么地方來呢?由于數(shù)據(jù)是generate

9、reorder輸出的,所以既要有數(shù)據(jù)輸入給它,還要有數(shù)據(jù)經(jīng)過它的處理而產(chǎn)生。數(shù)據(jù)從stock流入generate reorder,因此商品說明和訂貨數(shù)理必定存放在stock中。另外一些數(shù)據(jù),例如購買的貨物品種和數(shù)理由customer產(chǎn)生。還有一些數(shù)據(jù),例如銷售價格和訂貨點由management產(chǎn)生,或者由它提出要求。例如,某種已知貨物的現(xiàn)存量就是由某個處理過程中的某種算法產(chǎn)生出來的。分析員逐步地、有條理地區(qū)分了系統(tǒng)要求輸入、存儲、處理、產(chǎn)生或輸出的應(yīng)該分別是哪些數(shù)據(jù)元素。為了記錄數(shù)據(jù)元素,分析員必須把每個數(shù)據(jù)列在數(shù)據(jù)字典內(nèi)。簡單的數(shù)據(jù)字典可建立在索引卡片上,但計算機化的數(shù)據(jù)字典已經(jīng)變得日益流行

10、了。數(shù)據(jù)字典是描述和定義數(shù)據(jù)的一個數(shù)據(jù)集合,不僅在整個系統(tǒng)的分析與設(shè)計過程中有用,而且在實現(xiàn)階段經(jīng)常被用來建立數(shù)據(jù)庫。分析階段的目標(biāo)是定義系統(tǒng)的主要功能和有條理地確定數(shù)據(jù)元素。記住,它的目標(biāo)是把用戶的需求轉(zhuǎn)換成技術(shù)術(shù)語。因為系統(tǒng)是由用戶提出的,所以首先要確定用戶的需求。用戶只是從功能和數(shù)據(jù)出發(fā)考慮系統(tǒng),他們并不具體設(shè)計程序、文件、和硬件,并且在這個初始的帶有決定性的分析階段,分析員必須像用戶而不像程序設(shè)計員一樣去思考問題。這是該階段的基本要求。數(shù)據(jù)流程圖和數(shù)據(jù)字典是有用的工具。這些工具為記錄用戶系統(tǒng)的關(guān)鍵信息提供了一種格式。還有,這些工具可幫助喚醒分析員的記憶。例如,如果分析員沒有足夠的信息使

11、數(shù)據(jù)字典的條目完整化,那么分析員就可能丟失一些內(nèi)容。也許,數(shù)據(jù)流程圖和數(shù)據(jù)字典為分析員理解系統(tǒng)的需求提供了最重要的文件,通過查閱這些文件,用戶能改正誤解或疏忽大意。最終,這些有用的工具對下一步設(shè)計階段,奠定了一個良好的基礎(chǔ)。設(shè)計當(dāng)進入設(shè)計階段的時候,已知道必須做什么事。因此可以開始考慮系統(tǒng)如何完成這些事。目標(biāo)是研究出解決問題的策略。在該階段上,對寫代碼或確定精確的數(shù)據(jù)結(jié)構(gòu)并不感興趣,而是希望從整體上確定整個系統(tǒng)所需要的程序、文件、過程和其它一些部分。數(shù)據(jù)流程圖確定了系統(tǒng)的必須具有的功能,如何才能實現(xiàn)這些功能呢?一種可能性是為每個處理過程寫一個程序;另一種可能性是把兩個或更多的處理過程合并在一個

12、程序里,因而有幾十種可能的方案。讓我們集中在一種選擇上并為它提供一些詳細的資料。系統(tǒng)流程圖用符號表示程序、過程、硬設(shè)備及物理系統(tǒng)中的其它部件。流程圖表明,通過終端進入系統(tǒng)的事務(wù)數(shù)據(jù)被數(shù)據(jù)采集程序處理,然后存放在貨單文件上。最后,貨物清單文件由一個report and reorder(報告和再訂貨)程序處理。經(jīng)營部門用該程序處理數(shù)據(jù)和核對訂貨單。請看系統(tǒng)流程圖,它指明了若干硬部件,其中包括一臺計算機、一個磁盤驅(qū)動器、一個數(shù)據(jù)輸入終端、一臺打印機和一個顯示終端等;還需要兩個程序,事務(wù)處理程序和報告與再定貨程序;除了硬件和程序以外,我們還需要貨單文件以及io設(shè)備與軟件之間數(shù)據(jù)流的數(shù)據(jù)結(jié)構(gòu)。注意,本系

13、統(tǒng)的流程圖只說明一種可能的方案。一個好的系統(tǒng)分析員在他選定一個方案之前要研究出若干個可行的方案,以備替換。流程圖擬訂了系統(tǒng),突出了系統(tǒng)的主要物理部件。因為數(shù)據(jù)鏈接了部件,所以接下來的工作就是確定數(shù)據(jù)結(jié)構(gòu)。以貨物清單文件為例,它包含來自stock的所有數(shù)據(jù)元素,這些數(shù)據(jù)元素被列在數(shù)據(jù)字典中。利用這些數(shù)據(jù)元素能安排文件的數(shù)據(jù)結(jié)構(gòu)。如何組織文件呢?這取決于如何訪問它。例如,在某些應(yīng)用中數(shù)據(jù)是在有規(guī)律的預(yù)定時間內(nèi)被處理,一般是整段時間收集數(shù)據(jù),成批結(jié)一起處理。如果可采用批處理的話,那么一個順序文件結(jié)構(gòu)可能是最好的了。然而,不可能總是等到一批事務(wù)都被收集好以后再去處理。例如,設(shè)想一個防空預(yù)警系統(tǒng),如果一

14、個不明的飛行物被標(biāo)定了位置,就必須立即分辨它。因為防空程序下午五時才運行,要等到那時才處理的思想是荒謬的。該種情況要求快速響應(yīng),每個事務(wù)必須在它發(fā)生時得到處理。一般來說,這些事務(wù)處理系統(tǒng)要求直接存取文件。我們的貨單系統(tǒng)有兩個程序,一個事務(wù)處理,直接存取貨單文件似乎是個合適的方案;另一個為經(jīng)營部門偶爾分析貨物清單數(shù)據(jù)用,當(dāng)然批處理就能完成了。貨物清單文件應(yīng)按順序組織還是直接組織呢?面對著這種選擇,一個好的系統(tǒng)分析員應(yīng)考慮兩種方案。一種可能的系統(tǒng)是當(dāng)事務(wù)一發(fā)生就接收并處理該事務(wù);另一種可供選擇的方案是可整天的收集銷售單,商店關(guān)門以后,成批地處理。在第一個系統(tǒng)中,這兩個程序應(yīng)處理直接存取文件;在第二

15、個系統(tǒng)中,這兩個程序應(yīng)鏈接到順序文件上。處理可直接訪問的數(shù)據(jù)的程序和處理可按順序一個接一個訪問的數(shù)據(jù)的程序是不同的。數(shù)據(jù)驅(qū)動了系統(tǒng),所以數(shù)據(jù)結(jié)構(gòu)的選擇決定了程序的結(jié)構(gòu)。注意,程序在系統(tǒng)的意義上被定義和規(guī)劃。實現(xiàn)系統(tǒng)的主要部分一分析清楚了,就能開始開發(fā)這幾部分。本系統(tǒng)包括兩個程序、若干臺設(shè)備和大量的數(shù)據(jù)結(jié)構(gòu)。在實現(xiàn)階段,每個程序都用在所描述的技術(shù)來編排和書寫;要建立文件并檢查文件的內(nèi)容;購買、安裝和測試新的硬件;另外還要寫出操作步驟,并對系統(tǒng)做出評價。所有的部分都準(zhǔn)備好了,就調(diào)試系統(tǒng)。若用戶滿意了,系統(tǒng)就交付使用。維護系統(tǒng)交付以后,維護就開始了。當(dāng)人們使用系統(tǒng)時,他們將提出一些小的改善和提高。有

16、時在調(diào)試和檢測階段一些缺陷被忽略了,那么修改程序,例如,政府通過了一個法律,修改了征收所得稅的方法,則工資程序就必須修改。維護延續(xù)在系統(tǒng)的整個生命期內(nèi)。維護的費用和初期的研制費用差不多,甚至更高。良好的計劃、實用的文件資料和合適的程序結(jié)構(gòu)都有助于減少維護費用。systems analysis and designsystemsworking under control of a stored program, a computer processes data into information. think about that definition for a minute. any giv

17、en computer application involves at least three components: hardware, software, and data. merely writing a program isnt enough, because the program is but one component is in a system.a system is a group of components that work together to accomplish an objective. for example, consider a payroll sys

18、tem. its objective is paying employees. what components are involved? each day, employees record their hours worked on time cards. at the end of each week, the time cards are collected and delivered to the computer center, where they are read into a payroll program. as it runs, the program accesses

19、data files. finally, the paychecks are printed and distributed. for the system to work, people, procedures, input and output media, files, hardware, and software must be carefully coordinated. note that the program is but one component in a system.systems analysiscomputer-based systems are developed

20、 because people need information. those people, called users, generally know what is required, but may lack the expertise to obtain it. technical professionals, such as programmers, have the expertise, but may lack training in the users field. to complicate matters, users and programmers often seem

21、to speak different languages, leading to communication problems. a systems analyst is a professional who translates user needs into technical terms, thus serving as a bridge between users and technical professionals.like an engineer or an architect, a systems analyst solves problems by combining sol

22、id technical skills with insight, imagination, and a touch of art. generally, the analyst follows a well-defined, methodical process that includes at least the following steps:problem definitionanalysisdesignimplementationmaintenanceat the end of each step, results are documented and shared with bot

23、h the user and the programmers. the idea is to catch and correct errors and misunderstandings as early as possible. perhaps the best way to illustrate the process is through example.picture a small clothing store that purchases merchandise at wholesale, displays this stock, and sells it to customers

24、 at retail. on the one hand, too much: stock represents an unnecessary expense. on the other hand, a poor selection discourages shoppers. ideally, a balance can be achieved: enough, but not too much.complicating matters is the fact that inventory is constantly changing, with customer purchases deple

25、ting stock, and returns and reorders adding to it. the owner would like to track inventory levels and reorder any given item just before the store runs out. for a single item, the task is easy-just count the stock-on-hand. unfortunately, the store has hundreds of different items, and keeping track o

26、f each one is impractical. perhaps a computer might help.problem definitionthe first step in the systems analysis and design process is problem definition. the analysts objective is determining what the user needs. note that, as the process begins, the user possesses the critical information, and th

27、e analyst must listen and learn. few users are technical experts. most see the computer as a “magic box,” and are not concerned with how it works. at this stage, the analyst has no business even thinking about programs, files, and computer hardware, but must communicate with the user on his or her o

28、wn terms.the idea is to ensure that both the user and the analyst are thinking about the same thing. thus, a clear, written statement expressing the analysts understanding of the problem is essential. the user should review and correct this written statement. the time to catch misunderstandings and

29、oversights is now, before time, money, and effort are wasted.often, following a preliminary problem definition, the analyst performs a feasibility study. the study, a brief capsule version of the entire systems analysis and design process, attempts to answer three questions:1. can the problem be sol

30、ved?2. can it be solved in the users environment?3. can it be solved at a reasonable cost?if the answer to any one of these questions is no, the system should not be developed. given a good problem definition and a positive feasibility study, the analyst can turn to planning and developing a problem

31、 solution.analysisas analysis begins, the analyst understands the problem. the next step is determining what must be done to solve it. the user knows what must be done; during analysis, this knowledge is extracted and formally documented. most users think in terms of the functions to be performed an

32、d the data elements to be manipulated. the objective is to identify and link these key functions and data elements, yielding a logical system design.start with the systems basic functions. the key is keeping track of the stock-on-hand for each product in inventory. inventory changes because customer

33、s purchase, exchange, and return products, so the system will have to process customer transactions. the stores owner wants to selectively look at the inventory level for any product in short supply and, if appropriate, order replacement stock, so the system must be able to communicate with manageme

34、nt. finally, following management authorization, the system should generate a reorder ready to send to a supplier.given the systems basic functions, the analysts next task is gaining a sense of their logical relation. a good way to start is by describing how data flow between the functions. as the n

35、ame implies, data flow diagrams are particularly useful for graphically describing these data flows. four symbols are used. data sources and destinations are represented by squares; input data enter the system form a source, and output data flow to a destination. once in the system, the data are man

36、ipulated or changed by processes, represented by round-corner rectangles. a process might be a program, a procedure, or anything else that changes or moves data. data can be held for later processing in data stores, symbolized by open-ended rectangles. a data store might be a disk file, a tape file,

37、 a database, written notes, or even a persons memory. finally, data flow between sources, destinations, processes, and data stores over data flows, which are represented by arrows.preliminary data flow diagram for the inventory system. start a customer. transactions flow from a customer into the sys

38、tem, where they are handled by process transaction. a data store, the stock, holds data on each item in inventory. process transaction changes the data to reflect the new transaction. meanwhile, management accesses the system through communicate, evaluating the data in stock and, if necessary, reque

39、sting a recorder. once a reorder is authorized, generate reorder sends necessary data to the supplier, who ships the items to the store. note that, because the reorder represents a change in the inventory level of a particular product or products, it is handled as a transaction.the data flow diagram

40、 describes the logical system. the next step is tracing the data flow. start with the destination supplier. reorders flow to suppliers; for example, the store might want 25 pairs of jeans. to fill the order, the supplier needs the product description and the reorder quantity. where do these data ele

41、ments come from? since they are output by generate reorder, they must either be input to or generated by this process. data flow into generate reorder for stock; thus, product and reorder quantities must be stored in stock.other data elements, such as purchased and the purchase quantity, are generat

42、ed by customer. still others, for example selling price and reorder point, are generated by or needed by management. the current stock on-hand 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 d

43、ata 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 dictionary. a simple data dictionary can be set up on index cards, but computerized data dictionaries have become increasingly p

44、opular. 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 systems major functions and data elements met

45、hodically. remember that the objective is translating user needs into technical terms. since the system starts with the user, the first step is defining the users needs. users think in terms of functions and data. they do not visualize programs, or files, or hardware, and during this initial, crucia

46、l analysis stage, it is essential that the analyst think like a user, not like a programmer.data flow diagrams and data dictionaries are useful tools. they provide a format for recording key information about the proposed system. also, they jog the analysts memory; for example, if the analyst doesnt

47、 have sufficient information to complete a data dictionary entry, he or she has probably missed something. perhaps most importantly, the data flow diagram and the data dictionary document the analysts understanding of the system requirements. by reviewing these documents, the user can correct misund

48、erstanding or oversights. finally, they represent an excellent starting point for the next step, design.designas we enter the design stage, we know what the system must do, and thus can begin thinking about how to do it. the objective is to develop a strategy for solving the problem. at this stage,

49、we are not interested in writing code or in defining precise data structures; instead, we want to identify, at a black box level, necessary programs, files, procedures, and other components.the data flow diagram defines the systems necessary functions; how might they be implemented? one possibility

50、is writing one program for each process. another is combining two or more processes in a single program; there are dozens of alternative solutions. lets focus on one option and document it.a system flowchart uses symbols to represent programs, procedures, hardware devices, and the other components o

51、f a physical system. our flowchart shows that transaction data enter the system through a terminal, are stored on an inventory by a data collection program, and then are stored on an inventory file. eventually, the inventory file is processed by a report and reorder program. through it, management m

52、anipulates the data and authorizes reorders.look at the system flowchart. it identifies several hardware components, including a computer, a disk drive, a data entry terminal, a printer, and a display terminal. tow programs are needed: process transaction and report and reorder. in addition to the h

53、ardware and the programs, well need data structures for the inventory file and for data flows between the i/o devices and the software. note that system flow chart illustrates one possible solution; a good analyst will develop several feasible alternatives before choosing one.the flowchart maps the

54、system, highlighting its major physical components. since the data link the components, the next task is defining the data structures. 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 th

55、em, the files data structure can be planned.how should the file be organized? that depends on how it will be accessed. for example, in some applications, data are processed at regular, predictable intervals. typically, the data are collected over time and processed together, as a batch. if batch pro

56、cessing is acceptable, a sequential file organization is probably best.it is not always possible to wait until a batch of transactions is collected, however. for example, consider an air defense early warning system. if an unidentified aircraft is spotted, it must be identified immediately; the idea

57、 of waiting until 5:00 p. m because “thats when the air defense program is run” is absurd. instead, because of the need for quick response, each transaction must be processed as it occurs. generally, such transaction processing systems call for direct access file.our inventory system has tow program

58、s. one processes transactions. a direct access inventory file seems a reasonable choice. the other allows management to study inventory data occasionally; batch processing would certainly do. should the inventory file be organized sequentially or directly? faced with such a choice, a good analyst co

59、nsiders both options. one possible system might accept transactions and process them as they occur. as an alternative, sales slips might be collected throughout the day and programs would deal with direct access files; 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

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論