【正文】
d in 1997 with the support of the NBA. James Naismith, originally from Almonte, Ontario, invented basketball at the International YMCA Training School in Springfield, Massachusetts, in 1891. The game was first played with peach baskets (hence the name) and a soccer ball and was intended to provide indoor exercise for football players. As a result, it was originally a rough sport. Although ten of Naismith39。s five basic principles center on the ball, which was described as large, light, and handled with the hands. Players could not move the ball by running alone, and none of the players was restricted against handling the ball. The playing area was also open to all players, but there was to be no physical contact between players。銀行系統(tǒng)每月從本系統(tǒng)讀入每位教師的實(shí)發(fā)工資,并向每位教師的銀行卡帳戶打入月工資。 2 請(qǐng)用判定表描述產(chǎn)品出庫(kù)量的計(jì)算方法:當(dāng)庫(kù)存量大于等于提貨量時(shí),以提貨量作為出庫(kù)量;當(dāng)庫(kù)存量小于提貨量,但是庫(kù)存量大于等于提貨量的 50%時(shí),以實(shí)際庫(kù)存量作為出庫(kù)量;否則,出庫(kù)量為 0,不能提貨。業(yè)務(wù)需求通常比較簡(jiǎn)潔,大約三~五頁(yè)紙就可以描述清楚,也可以將它直接作為需求規(guī)格說明書中的一部分。請(qǐng)對(duì)上面的描述設(shè)計(jì)判定表。 A=1 B2 A1 B=2 A1 B2 X=90 Y=75 X=90 Y75 X90 Y=75 X90 Y75 由此獲得測(cè)試用例: A=1 B=2。 (B=2) T=T+1。 scanf(“d%,d%,d%),amp。 a=5,b=5,c=0。 } //輸出結(jié)果 printf(max= %d,max)。j10。amp。 二、 簡(jiǎn)答題 試從軟件的特點(diǎn)出發(fā)分析軟件危機(jī)產(chǎn)生的原因。 3. IEEE是 (國(guó)際電氣和電子工程師協(xié)會(huì) )的簡(jiǎn)稱。 8上世紀(jì) 70 年代, 美國(guó)國(guó)防 部的研究結(jié)果發(fā)現(xiàn) 70%的項(xiàng)目是因?yàn)椋?管理不善引起 )原因,造成項(xiàng)目失敗。 D.以上全部 7軟件開發(fā)活動(dòng)的順序應(yīng)該是( 問題定義、可行性研究、需求分析、設(shè)計(jì)、編碼和測(cè)試。 5一般維護(hù)程序代碼的策略( 根據(jù)維護(hù)申請(qǐng)讀源程序,并修改 )。 4在分析模型內(nèi)表示協(xié)調(diào)、順序、事務(wù)處理以及控制其他對(duì)象的類是( 控制類 )。 2非直接耦合的模塊獨(dú)立性最強(qiáng),( 內(nèi)容耦合 )的模塊獨(dú)立性最弱。 用( ER圖 )對(duì)需要長(zhǎng)久保存的信息進(jìn)行建模。 程序流程圖與數(shù)據(jù)流程圖的關(guān)系( 不確定 ) 。 2可行性分析研究的費(fèi)用大約是項(xiàng)目總經(jīng)費(fèi)的( 6%)。 3通俗的說,軟件項(xiàng)目管理中常說的基線是( 通過 正式 復(fù)審 的文檔 )。 5從狹義上講,軟件測(cè)試是( 為發(fā)現(xiàn)錯(cuò)誤而執(zhí)行程序 )的過程。 6面向?qū)ο笫恰跋取贝_定 ()“后”()。 8測(cè)試最早的開始時(shí)間是( 從需求分析階段開始 )。 100、 程序的三種基本控制結(jié)構(gòu),包括順序結(jié)構(gòu)、( 判斷結(jié)構(gòu) )和循環(huán)結(jié)構(gòu)。 17.一般性的軟件其 測(cè)試工作量大約占整個(gè)開發(fā)工作量的 (40% )。 3)動(dòng)態(tài)模型:描述系統(tǒng)的動(dòng)態(tài)結(jié)構(gòu)和對(duì)象之間的交互,表示瞬時(shí)的、行為化的系統(tǒng)的“控制”特性。i++) scanf(“ %d” ,a[i])。j10。 else c=ab。方法層提供了軟件開發(fā)的各種方法,包括如何進(jìn)行軟件需求分析和設(shè)計(jì),如何實(shí)現(xiàn)設(shè)計(jì),如何測(cè)試和維護(hù)等方法。 程序段 A 程序段 B …… { T=0。(Y75) T=T+3。 1軟件設(shè)計(jì)中的抽象是什么意思? 所謂抽象就是將事務(wù)的相似方面集中和概括起來,暫時(shí)忽略它們之間的差異。 原理 1.用分階段的生命周期計(jì)劃嚴(yán)格管理 原理 2.堅(jiān)持進(jìn)行階段評(píng)審 原理 3.實(shí)行嚴(yán)格的產(chǎn)品控制 原理 4.采用現(xiàn)代程序設(shè)計(jì)技術(shù) 原理 5.結(jié)果應(yīng)能清楚地審查 原理 6.開發(fā)小組的人員應(yīng)該少而精 原理 7.承認(rèn)不斷改進(jìn)軟件工程實(shí)踐的必要性 2結(jié)構(gòu)化程序設(shè)計(jì)的特征是什么? 結(jié)構(gòu)化程序設(shè)計(jì)的特征如下:程序模塊只有一個(gè)入口和一個(gè)出口、程序中只包含順序、條件和循環(huán)三種控制結(jié)構(gòu)。 d)軟件產(chǎn)品的質(zhì)量沒有保證,運(yùn)算結(jié)果出錯(cuò)、操作死機(jī)等現(xiàn)象屢屢出現(xiàn)。請(qǐng)你根據(jù)以上的描述,畫出數(shù)據(jù)流程圖。s ball is in (7274 cm) in circumference. The covering of the ball is leather, rubber, position, or synthetic, although leather covers only are dictated by rules for college play, unless the teams agree otherwise. Orange is the regulation color. At all levels of play, the home team provides the ball. Inflation of the ball is based on the height of the ball39。 under these premises, the two joined to form the National Basketball Association (NBA) in 1949. A rival American Basketball Association (ABA) was inaugurated in 1967 and challenged the NBA for college talent and market share for almost ten years. In 1976, this league disbanded, but four of its teams remained as NBA teams. Unification came just in time for major television support. Several women39。s attention as they did in other sports of the period. The same was true in college basketball up until the late 1930s, with coaches dominating the game and its development. Walter Doc Meanwell at Wisconsin, Forrest Phog Allen at Kansas, Ward Piggy Lambert at Purdue, and Henry Doc Carlson at Pittsburgh all made significant contributions to the game39。 its construction and size of 30 in (76 cm) were ruled official in 1949. The rulesetters came from several groups early in the 1900s. Colleges and universities established their rules mittees in 1905, the YMCA and the Amateur Athletic Union (AAU) created a set of rules jointly, state militia groups abided by a shared set of rules, and there were two professional sets of rules. A Joint Rules Committee for colleges, the AAU, and the YMCA was created in 1915, and, under the name the National Basketball Committee (NBC) made rules for amateur play until 1979. In that year, the National Federation of State High School Associations began governing the sport at the high school level, and the NCAA Rules Committee assumed rulemaking responsibilities for junior colleges, colleges, and the Armed Forces, with a similar mittee holding jurisdiction over women39。教師在網(wǎng)上批閱作業(yè),并可以統(tǒng)計(jì)作業(yè)完成情況。 請(qǐng)畫出設(shè)備維修信息管理軟件的數(shù)據(jù)流程圖 。下面的順序圖描述了選課成功的情形,請(qǐng)將以下對(duì)象填入最合適的位置:系統(tǒng)界面、學(xué)生、學(xué)生基本信息、學(xué)生選課記錄、課程基本信息。 (3) 結(jié)構(gòu)化程序設(shè)計(jì)將數(shù)據(jù)定義與處理數(shù)據(jù)的過程相分離,不利于軟件復(fù)用。X=1 Y=1。 if (A=1)amp。 6 / 16 printf(“d%,d%,d% \n”,x,y,z) } 參考答案 : 條件: a5 a=5 b10 b=10 c15 c=15 判定測(cè)試用例 (不唯一 ): a=6 b=11 c=16; a=5 b=10 c=15 1請(qǐng)說明快速原型化模型 的基本思想。反映模塊獨(dú)立性的有兩個(gè)標(biāo)準(zhǔn):內(nèi)聚和耦合。這部分需求應(yīng)該充分調(diào)研具體的 業(yè)務(wù)部門,詳細(xì)了解最終用戶的工作過程、所涉及的信息、當(dāng)前系統(tǒng)的工作情況、與其他系統(tǒng)的接口等等。 } int main() { int a[10]。另外,在開發(fā)過程中產(chǎn)生的各類文檔使得軟件的生產(chǎn)過程由不可見變?yōu)榭梢?,便于管理者?duì)軟件生產(chǎn)進(jìn)度和開發(fā)過程進(jìn)行管理。 (4)軟件涉及人類社會(huì)的各行各業(yè),常常涉及 一些行業(yè) 知識(shí),這對(duì)軟件工程師提出了很高的要求。 (過程/對(duì)象 ) 11.目前面向?qū)ο蠓治鲇性S多方法,大多數(shù)方法可以歸結(jié)為建立 (功能模型 )、對(duì)象模型、動(dòng)態(tài)模型。 9面向?qū)ο笤O(shè)計(jì)強(qiáng)調(diào)定義( 軟件對(duì)象 ),并且使它們相互協(xié)作來滿足用戶需求。 7面向過程的方法最關(guān)心的是( 過程 ),而過程實(shí)施的對(duì)象是作為過程參數(shù)傳遞的。 64 可行性研究的主要任務(wù)是( 進(jìn)行一次簡(jiǎn)要的需求分析 )。 度 4如果程序代碼的( 可讀性 )好,則調(diào)試的成本就可以大幅度降低。 3如果對(duì)象之間的耦合是通過( 消息機(jī)制 )來實(shí)現(xiàn)的,則這種耦合 就是交互耦合。 1配置視圖體現(xiàn)了系統(tǒng)的實(shí)現(xiàn)環(huán)境,反映系統(tǒng)的( 物理架構(gòu) )。 1 / 16 軟件工程 一、 選擇題 軟件工程的研究者將軟件開發(fā)和維護(hù)過程概括為( 8)大活動(dòng)。 1結(jié)構(gòu)化設(shè)計(jì)方法劃分模塊的原則是( 低耦合,高內(nèi)聚 )。在面向?qū)ο蠓椒ㄖ校桑?類圖 )實(shí)現(xiàn)。 4 項(xiàng)目計(jì)劃活動(dòng)的主要任務(wù)是( D)。 6下面哪個(gè)選項(xiàng)不是軟件工程研究的內(nèi)容( 精通一門編程語言 )。 (減小 /增加) 7反映模塊獨(dú)立性的指標(biāo)是( 內(nèi)聚和耦合 )。 9對(duì)類進(jìn)行詳細(xì)設(shè)計(jì),主要是設(shè)計(jì)類的( 屬性和方法 ),優(yōu)化類之間的關(guān)系。 9.面向過程的 方法最關(guān)心的是 ,而過程實(shí)施的 是作為過程參數(shù)傳遞的。因此,軟件產(chǎn)品大多是為客戶“訂做”的,通用性差。文檔化是將軟件的設(shè)計(jì)思想、設(shè)計(jì)過程和實(shí)現(xiàn)過程完整地記錄下來,以便于后人的使用和維護(hù),在開發(fā)過程中各類相關(guān)人員借助于文檔進(jìn)行交流和溝通。 return 0。 用戶需求是用戶使用該軟件要完成的任務(wù)。下面是項(xiàng)目中常用 的處理說明模板: 系統(tǒng)名稱: 作者: 處理編號(hào): 日期: 輸入?yún)?shù)說明: 輸出參數(shù)說明: 處理說明: 局部數(shù)據(jù)元素: 備注: 什么是耦合?什么是內(nèi)聚? 在軟件設(shè)計(jì)中應(yīng)該保持模塊的獨(dú)立性原則。 if c15 z=30 else z=3。 } printf(“d% \n”,T) ; …… …… {