CS计算机代考程序代写 database Java gui c# KIT206 1

1

KIT506 Final (Part 1)

1. 题型分析
⚫ Design

◼ Write a structured scenario action-software reaction table

◼ Draw a class diagram

◼ Draw a sequence diagram

◼ Discuss software design patterns

⚫ Implementation

◼ Write C# code based on a class diagram

◼ Write a LINQ expression + database query code

◼ Discuss .NET and XAML

◼ Write and read XAML for GUI design

⚫ Testing

◼ Discuss software development processes including testing

◼ Discuss a test case

1.1 Design

Write a structured scenario action-software reaction table

⚫ 不需要画图,考的形式与以前应该变化不大

⚫ 往年此题型出现位置统计:

◼ 2014-2019: Question 1

⚫ Modules_merged.pdf 第 28-38 页

⚫ Sample Scenarios & UI prototypes – RAP.pdf

Draw a class diagram

⚫ 按以往 paper-based 考试来说,需要在纸上画图,今年考的形式可能有变化

⚫ 往年此题型出现位置统计:

◼ 2014-2019: Question 2

⚫ Modules_merged.pdf 第 64-84 页

⚫ TSO Sample Solution.pdf

2

Draw a sequence diagram

⚫ 按以往 paper-based 考试来说,需要在纸上画图,今年考的形式可能有变化

⚫ 往年此题型出现位置统计:

◼ 2014-2019: Question 3

⚫ Modules_merged.pdf 第 94-110 页

⚫ TSO Sample Solution.pdf

Discuss software design patterns

⚫ 不需要画图,考的形式与以前应该变化不大

⚫ 往年此题型出现位置统计:

◼ 2014-2019: Question 4

⚫ Modules_merged.pdf 第 111-141 页

1.2 Implementation

Write C# code based on a class diagram

⚫ 不需要画图,考的形式与以前应该变化不大

⚫ 往年此题型出现位置统计:

◼ 2014-2016: Question 5

◼ 2017: Question 6

◼ 2018-2019: Question 5

⚫ Modules_merged.pdf 第 190-215 页

Write a LINQ expression + database query code

⚫ 不需要画图,考的形式与以前应该变化不大

⚫ 往年此题型出现位置统计:

◼ 2014-2016: Question 6

◼ 2017: Question 5

◼ 2018-2019: Question 6

3

⚫ Modules_merged.pdf 第 247-270 页

Discuss .NET and XAML

⚫ 不需要画图,考的形式与以前应该变化不大

⚫ 往年此题型出现位置统计:

◼ 2014-2016: Question 7

◼ 2017: Question 8

◼ 2018-2019: Question 9

⚫ Modules_merged.pdf 第 275-312 页

Write and read XAML for GUI design

⚫ 按以往 paper-based 考试来说,需要在纸上画图,今年考的形式可能有变化

⚫ 往年此题型出现位置统计:

◼ 2014-2016: Question 8

◼ 2017: Question 10

◼ 2018-2019: Question 7

⚫ Modules_merged.pdf 第 275-312 页

1.3 Testing

Discuss software development processes including testing

⚫ 不需要画图,考的形式与以前应该变化不大

⚫ 往年此题型出现位置统计:

◼ 2014-2016: Question 9

◼ 2017: Question 7

◼ 2018-2019: Question 8

⚫ Modules_merged.pdf 第 275-312 页

Discuss a test case

⚫ 不需要画图,考的形式与以前应该变化不大

4

⚫ 往年此题型出现位置统计:

◼ 2014-2016: Question 10

◼ 2017: Question 9

◼ 2018-2019: Question 10

⚫ Modules_merged.pdf 第 275-312 页

2. 考题详解(2019)

2.1 Write a structured scenario action-software reaction table

Question

Answer

Action Reaction

用户点击 Choose 按钮 1. 系统生成 ColourWheelView

2. 系统从数据库中读取 colour 的信息

3. 系统将读取的信息显示到 colour wheel 上

用户从 colour wheel 中选择一个颜色 1. 系统获取用户选择的颜色值

2. 系统判断打印机是否有纸

5

3. 如果有纸,系统根据颜色值进行打印

4. 如果无纸,系统显示错误提示

2.2 Draw a class diagram

Question

Answer

6

2.3 Draw a sequence diagram

Question

Answer

7

2.4 Discuss software design patterns

Question

Answer

⚫ a

◼ definition

◆ 12.5 from Software Engineering, 3rd ed pre-print ( NAME , 2008).pdf

◼ benefits

⚫ b

◼ advantages

8

◼ disadvantages

https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-170-laboratory-in-software-

engineering-fall-2005/lecture-notes/lec18.pdf

https://people.cs.pitt.edu/~chang/231/seminars/S05pga/Page9.htm

⚫ c

https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-170-laboratory-in-software-engineering-fall-2005/lecture-notes/lec18.pdf
https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-170-laboratory-in-software-engineering-fall-2005/lecture-notes/lec18.pdf
https://people.cs.pitt.edu/~chang/231/seminars/S05pga/Page9.htm

9

2.5 Write C# code based on a class diagram

Question

10

Answer

2.6 Write a LINQ expression + database query code

Question

11

Answer

⚫ a

⚫ b

⚫ c

2.7 Discuss .NET and XAML

Question

Answer

⚫ a

12

⚫ b

⚫ c

2.8 Write and read XAML for GUI design

Question

13

Answer

⚫ a

⚫ b

14

2.9 Discuss software development processes including testing

Question

Answer

Excerpts, Ch 11 from OO Software Engineering Using UML Patterns and Java 3rd (2009).pdf

⚫ a

⚫ b

15

⚫ c

https://www.guru99.com/static-dynamic-testing.html

2.10 Discuss a test case

Question

https://www.guru99.com/static-dynamic-testing.html

16

Answer

⚫ a

◼ 不可信

◼ 未考虑的 entry:

◆ 排列顺序:字母、数字排序

◆ 列表里的 units 是否是选定学期的

◼ 操作顺序考虑不够:

◆ 如果先选定一个,再选定另一个,是否会影响过滤结果

⚫ b

◼ 不够

◼ 增加白盒测试、增加不同操作顺序的黑盒测试

◼ 黑盒:先选定 1,检查;再选定 2,检查是否会受 1 影响

◼ 白盒:增加 Console 的输出:选定之后输出选定选项,然后输出全部内容和过滤后内容

⚫ c

17

参考文献
Modules_merged.pdf

13 KIT206,506 Exam Preparation.pdf

KIT506_2019.pdf

Excerpts, Ch 11 from OO Software Engineering Using UML Patterns and Java 3rd (2009).pdf

13 KIT206,506 Exam Preparation.pdf