课程名称: 任课教师: 学号: 姓名:
户要求的方式。 UML和统一过程主要是面向对象的。 (5分)
2. Describe the role of data design, architecture design, interface design and component-level design required for a complete specification of a software design. For WebApp software, does the above design specification offer a complete design strategy? Add more design activities specified to WebApp engineering. (共10分)
Answers: Answer 1:
Data design - high level model depicting user’s view of the data or information.(1分)
Architecture design – shows relationships and collaborations among specific analysis model software and hardware elements(1分)
Interface design - interface depicts a set of operations that describe the externally observable behavior of a class and provides access to its operations(1分)
Component-level design - Describes the internal detail of each software component(1分)
Answer 2:
Interface design –includes a representation of screen layout, a definition of the modes of interaction, and a description of navigation mechanisms. (1分)
Aesthetic design –describes the ‘look and feel’ of the WebApp. Includes color schemes, geometric layout, text size, font and placement, the use of graphics, and related aesthetic decisions. (1分)
Content design – defines the layout, structure, and outline for all content that is presented as part of the WebApp. (1分)
Navigation design – represents the navigational flow between content objects and for all WebApp functions. (1分)
Architecture design – identifies the overall hypermedia structure for the WebApp. (1分)
Component design – develops the detailed processing logic required to implement functional components(1分)
解答:答案1:
数据设计 - 高层次的模型描述的数据或信息的用户的观点(1分)。
建筑设计 - 展示具体的分析模型的软件和硬件元素(1分)之间的关系和合作,
接口设计 - 接口描述了一组描述一类的外部观察行为的操作,并提供了其运营(1分)进入 组件级的设计 - 描述每个软件组件的内部细节(1分) 答2:
接口设计 - 包含的屏幕布局的表示,互动模式的定义,和导航机制的描述。 (1分) 美学设计 - 介绍了“外观和感觉”的Web应用程序中。包括配色方案,几何布局,文字大小,
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第6页
教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
字体和位置,使用图形,以及相关的美学决定。 (1分)
内容设计 - 定义布局,结构和轮廓为被表示为Web应用程序的一部分的所有内容。 (1分) 导航设计 - 代表的内容对象之间并为所有Web应用程序功能的导航流程。 (1分) 建筑设计 - 确定全面的超媒体结构的Web应用程序。 (1分) 组件设计 - 开发来实现功能部件所需的详细处理逻辑(1分)
评阅教师
得分
五、分析设计题(本大题共3小题,前两小题每题10分,最后一题15分,
共35分)。
提示:每小题给出了一个分析设计要求,请按照要求写出分析或设计结果,根据结果
的完整性,酌情扣分。
1. Please map the following DFD(数据流图) into SC (Structure Chart ).(共10分)
计算月天数接收年和月输入数据校验 润年计算选择日历格式日历显示周数据计算错误处理
参考答案:
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第7页 教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
日历程序输入主要计算输出接收年和月数据校验错误处理闰年计算计算月天数周数据计算选择日历格式日历显示
2.A short program section is shown in the following:
if ( a > b && i > 1 || a > b && i <= 10 ) k = a;
else k = b;
1) Draw a picture to show the basis path structure. (Hint: consider a structure with 4 simple decisions) (共5分) 2) To complete the basis path testing, list all of independent paths. (共5分) Answer 1: Basis path structure A B T T C
a > b ? i > 1 ? E F F D T G T F a > b ? i ? 10 ? k = a;
F H F I J
Answer 2:
k = b; K All of independent paths are:
① A?D?H?K ② A?B?C?J?K ③ A?B?E?H?K
④ A?D?F?G?J?K ⑤ A?D?F?I?K
3.Design user interfaces for the following use case as a series of screen shot sketches(屏幕草图), including Login, course schedule display, course delete etc..(共15分)
UseCase: A student deletes a course from his or her course schedule(课表)
Primary Actor: Student
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第8页 教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
Goal context: A student wants delete a course from his or her own course schedule of next semester
Preconditions: 1.A students needs to have an account in the system
2.A student can access the system via internet
Trigger: student just wants to delete a course from his/her course schedule Scenario:
1. System display a login window
2. Student enters his/her user name and password 3. Student enters his/her password 4. Student clicks Login button
5. System displays course name list in his/her course schedule with student name as its title, “Logout” button is displayed
6. Student clicks a course in the course list which he wants to delete
7. System displays the selected course information: Course No.,course name, credit, professor, week, college, the “delete” button displayed. 8. Student clicks the “delete” button
9. System displays a conform dialog window (Yes/No) 10. Student selects “yes” choice from a conform dialog window
11. System updates student’s course schedule and displays course list in his/her updated course schedule
参考答案:
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第9页 教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
1,2,3,4LoginUsername:Password:LoginStuUserName***************Cancel5,6StuUserName course ScheduleLogoutWelcome StuUserName!Select the course you want to delete:1、Spoken English2、Database System Concepts3、Software Engineering4、Standard C++7,8Database System ConceptsCourse No文本Course Name文本Credit文本Professor文本Week文本DeleteCollege文本Return9,10Conform11StuUserNamw course schedule Are you sure to delete the course selected?Welcome StuUserName!LogoutSelect the course you want to delete:1、Spoken English2、Software Engineering3、Standard C++4、Java Programming LanguageYesNo
注:试题字迹务必清晰,书写工整。
页
教务处试题编号:
本题共11页,本页为第10
课程名称: 任课教师: 学号: 姓名:
注:试题字迹务必清晰,书写工整。
页
本题共11页,本页为第11教务处试题编号:
(完整word版)软件工程导论期末试题A(带答案)



