首页
编程语言
数据库
网络开发
Algorithm算法
移动开发
系统相关
金融统计
人工智能
其他
首页
>
> 详细
辅导KIT506软件应用程序设计、讲解SQL语言程序、SQL设计辅导、辅导讲解SQL 辅导R语言编程|解析Java程序
Student ID number: ____________________ Pages: 6
Questions: 10
UNIVERSITY OF TASMANIA
EXAMINATIONS FOR DEGREES AND DIPLOMAS
October-November 2015
KIT506 Software Application Design and Implementation
Examiner: Dr James Montgomery
Time Allowed: THREE (3) hours
Reading Time: FIFTEEN (15) minutes
Instructions:
Attempt ALL TEN (10) questions. Each question is worth EIGHTEEN (18) marks.
The total for the examination is ONE HUNDRED AND EIGHTY (180) marks.
Carefully read a question before you start to answer it. It is recommended you spend
approximately 18 minutes on each question.
Answer each question on a new page and correctly label each answer with its
question number.
Return this exam paper with your answer booklet.KIT506 Software Application Design and Implementation 2
continued…
Question 1
Consider the following excerpt from an RTM for a software development
environment similar to Visual Studio. Write the action–software reaction table that
would be part of the structured scenario for the use case described.
Entry Para Requirement Type Use Case
99 4.2.1 The user shall be able to recompile the entire
project.
SW UC99 User
builds Project
100 4.2.1 This action will be accessed via a “Rebuild”
menu item under the “Build” menu.
SWC
99
101 4.2.2 The system will only recompile source files that
have changed since last being compiled.
SWC
99
102 4.2.2 The user will be prompted to save any unsaved
changes prior to compilation; if they choose not
to then rebuilding will stop.
SWC
99
103 4.2.2 The system will compile source files one at a
time, and will stop the rebuild process if any
errors are encountered and report the error.
SWC
99
104 4.2.2 The compiled sources will then be combined
into a single executable file, in the Debug folder.
SWC
99
[18 marks]
Question 2
During analysis work that you did for your client, the “Amateur Theatre Group”,
you have collected the following information:
The theatre group presents a number of shows each year. Each show has a
title, start date and end date.
The theatre group employs a variety of staff (who work on the shows)
Each staff member may or may not work on a particular show
There are different kinds of staff in the company:
o Actors, who can speak and lookSerious
o Dancers, who can jump and glide
o Singers, who are also actors, but who can also sing and complain
o BackstageStaff, whose responsibility can be represented by a string
Actors (including singers) have an integer starRating, which indicates how
valuable they are to the show and its likely sales.
No dancer or backstage staff member is ever an actor, and no backstage staff
member is ever a dancer.
Each show has a director, who is an actor.
Draw a UML class diagram that best describes the above information. Include
attributes and methods that are mentioned in these classes. (Treat actions, like speak
or glide, as methods.) Include multiplicities where relevant.
[18 marks]KIT506 Software Application Design and Implementation 3
continued…
Question 3
Draw a UML sequence diagram to show what happens when the following four
classes are executed as a C# application.
class Program {
static void Main(string[] args) {
A a = new A();
B b = new B();
a.Run(b);
}
}
class A {
public void Run(B b) {
C c1 = new C();
b.Use(c1);
b.Make();
}
}
class B {
public void Use(C c) {
c.Cede();
}
public void Make() {
C d = new C();
Use(d);
}
}
class C {
public void Cede() {
// code to be written
}
}
[18 marks]
Question 4
a What is a software design pattern? What information should accompany a
software design pattern?
[6 marks]
b Design patterns often lead to solutions with a greater number of classes. What
advantages do they provide to compensate for this added complexity?
[6 marks]
c Give an example of a software design pattern (other than Model-ViewController)
and describe a situation in which it could be used. Draw a simple
UML diagram to illustrate it.
[6 marks]KIT506 Software Application Design and Implementation 4
continued…
Question 5
Consider the following class diagram. Write C# class declarations that represent this
structure. Do not include the using statements or the namespace declaration in your
answer. You may assume that all required namespaces are available. Each attribute
must be a public, auto-generated property. Any methods you write should be stubs,
with an appropriate header but no code within their body { }.
[18 marks]
Question 6
In parts (a)–(c) below suppose there exists a class called Product that represents the
products manufactured by some company. It has three public properties: Model (a
string), Price (a double, being the price in dollars) and Weight (a double, being its
weight in grams).
a Assuming the following declaration of a collection of Products
List
products = new List
();
that has been filled with Product objects, write a LINQ expression that selects
those products that weigh less than 500 grams.
[6 marks]
b Further suppose that there exists a MySQL database with a table called
product that has a string-valued column model, a Boolean-valued column
on_sale, and two double-valued columns price and weight. Write a
suitable SQL query to retrieve the information necessary to create Product
objects from the information in the product table.
[6 marks]
c Now assume that a MySqlDataReader called rdr has been created using the
query you defined in part (b), and that it has been executed and its Read()
method called to load the first result. Write a single C# statement to instantiate
a Product object using the data retrieved and assign it to a variable called p.
[6 marks]
enumeration?
State
Ready
Running
Broken
Machine
+Status: State
+Start(): void
+Stop(): void
Crusher
+Pressure: double
Welder
+Temperature: double
Part
+ID: string
+Installed: DateTime
0..* 0..1 hasKIT506 Software Application Design and Implementation 5
continued…
Question 7
a Describe some of the key features of the .NET Framework. What benefits does
it offer for software developers? (Write three to five sentences in total.)
[6 marks]
b With regard to WPF and XAML, what is data binding and what are some of
the benefits it provides?
[6 marks]
c Describe the benefits of defining data sources as resources in XAML rather
than creating them in the C# code-behind.
[6 marks]
Question 8
Parts (a) and (b) of this question relate to different GUI designs.
a Assume a WPF Window uses a Grid layout with two columns and two rows.
Write a fragment of XAML to create a Label with the name “lblName” that
occupies all of the lower-right cell in the grid. Have the Label display the text
“Testing”. Include only those properties that are necessary to achieve this
behaviour. Do not write the XAML for the containing Grid.
[9 marks]
b Consider the following excerpt from the XAML for an application’s main
Window. Draw a low-fidelity sketch of the GUI it defines. It does not have to
be to scale.
Item A
Item B
Item C
[9 marks]KIT506 Software Application Design and Implementation 6
*
Question 9
a Although different software development approaches vary in their details,
they all identify distinct activities such as requirements analysis, design,
implementation and testing. Why can we not write complete software
products immediately after discussing a client’s needs?
[6 marks]
b What are the aims of software testing?
[6 marks]
c Describe two kinds of software testing activities, including what development
stage they are used in and what kinds of faults they aim to uncover. Indicate if
those activities use black box or white box approaches, or a mixture of both.
[6 marks]
Question 10
Consider the following use case-based test for the application developed in your
assignments, and answer the questions that appear below the table.
Description When the user selects a name in the list the researcher details view
will be displayed.
Type and
Use Case
SW UC16_User_selects_Researcher
Criteria When the user selects a researcher in the researcher list the
application will show various details about them in the detail view.
Staff and students will show different details.
Method Black box test:
1. Open the RAP application
2. Select a researcher in the researcher list
3. Check the displayed details
Outcome Fail – no details shown
Method Black box test:
1. Select a staff member from the researcher list
2. Performance measure should be shown and correct
Outcome Fail – no details shown
a Is this test case sufficiently detailed to allow a tester to verify that the system is
behaving as expected? If not, where could more detail be added?
[6 marks]
b Based on your knowledge of the RAP system, are there enough test methods
in this test case?
[6 marks]
c Was either test based on knowledge of how the system was implemented in
code? Explain how you can tell from the details in the table.
[6 marks]
联系我们
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-21:00
微信:codinghelp
热点文章
更多
辅导 comm2000 creating socia...
2026-01-08
讲解 isen1000 – introductio...
2026-01-08
讲解 cme213 radix sort讲解 c...
2026-01-08
辅导 csc370 database讲解 迭代
2026-01-08
讲解 ca2401 a list of colleg...
2026-01-08
讲解 nfe2140 midi scale play...
2026-01-08
讲解 ca2401 the universal li...
2026-01-08
辅导 engg7302 advanced compu...
2026-01-08
辅导 comp331/557 – class te...
2026-01-08
讲解 soft2412 comp9412 exam辅...
2026-01-08
讲解 scenario # 1 honesty讲解...
2026-01-08
讲解 002499 accounting infor...
2026-01-08
讲解 comp9313 2021t3 project...
2026-01-08
讲解 stat1201 analysis of sc...
2026-01-08
辅导 stat5611: statistical m...
2026-01-08
辅导 mth2010-mth2015 - multi...
2026-01-08
辅导 eeet2387 switched mode ...
2026-01-08
讲解 an online payment servi...
2026-01-08
讲解 textfilter辅导 r语言
2026-01-08
讲解 rutgers ece 434 linux o...
2026-01-08
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 99515681 微信:codinghelp
© 2024
www.7daixie.com
站长地图
程序辅导网!