IT代写 EBU5304 Software Engineering

Joint Programme Examinations 2017/18 EBU5304 Software Engineering
Time allowed 2 hours
Answer ALL questions
Complete the information below about yourself very carefully.

Copyright By PowCoder代写 加微信 powcoder

QM student number BUPT student number Class number
NOT allowed: electronic calculators and electronic dictionaries.
For examiners’ use only
INSTRUCTIONS
1. You must NOT take answer books, used or unused, from the examination room.
2. Write only with a black or blue pen and in English.
3. Do all rough work in the answer book – do not tear out any pages.
4. If you use Supplementary Answer Books, tie them to the end of this book.
5. Write clearly and legibly.
6. Read the instructions on the inside cover.
Dr , Dr Gokop Goteng, Dr Matthew Huntbach, Dr Karen Shoop
Copyright © Beijing University of Posts and Telecommunications & © Queen Mary University of London 2017
Filename: 1718_EBU5304_A No answer book required

Before the start of the examination
Instructions
1) Place your BUPT and QM student cards on the corner of your desk so that your picture is visible.
2) Put all bags, coats and other belongings at the back/front of the room. All small items in your pockets, including wallets, mobile phones and other electronic devices must be placed in your bag in advance. Possession of mobile phones, electronic devices and unauthorised materials is an offence.
3) Please ensure your mobile phone is switched off and that no alarm will sound during the exam. A mobile phone causing a disruption is also an assessment offence.
4) Do not turn over your question paper or begin writing until told to do.
During the examination
1) You must not communicate with or copy from another student.
2) If you require any assistance or wish to leave the examination room for any reason, please raise your hand to attract the attention of the invigilator.
3) If you finish the examination early you may leave, but not in the first 30 minutes or the last 10 minutes.
4) For 2 hour examinations you may not leave temporarily.
5) For examinations longer than 2 hours you may leave temporarily but not in the first 2 hours or the
last 30 minutes.
At the end of the examination
1) You must stop writing immediately – if you continue writing after being told to stop, that is an assessment offence.
2) Remain in your seat until you are told you may leave.

EBU5304 Paper A 2017/18
Question 1
a) Answer the following questions:
i) Explain the difference between stand-alone applications and Web-based applications.
ii) A software development team is distributed (team members are in different locations). Discuss the potential problems of using the Agile process in this team.
iii) What is a conceptual model? Which UML diagram is used to describe conceptual models?
iv) Discuss the advantages of having daily stand up meeting in the Agile process. v) What is an iteration in the Agile process?
(2 marks) (2 marks) (2 marks)
Do not write in this column
[10 marks]
Page 3 of 20

EBU5304 Paper A
b) Answer the following questions about Requirements:
i) Explain the role of a stakeholder.
[11 marks] (2 marks)
ii) Howcanrequirementconflictissuesberesolved?Giveanexampleofarequirementconflictand
discuss what action should be taken to resolve the issue.
iii) Why would the Fibonacci sequence be used for estimating story points?
Page 4 of 20

EBU5304 Paper A
Do not write in this column
Page 5 of 20

EBU5304 Paper A 2017/18
c) PasswordValidator is a Java class that checks if a given password is valid. The acceptance condition of a valid password is “The password should be between 5 to 13 characters”. The isPasswordValid method in the PasswordValidator class is used to check the length of the password. This method takes the password as a String argument, and outputs true if the length is valid and false if the length is not valid.
You are using the Test Driven Development (TDD) approach and you need to write an automated test program to test the isPasswordValid method. Complete the following questions:
i) Design test cases using Partition Testing.
ii) Based on your test cases design in i), complete the test program in Figure 1.
iii) Complete the product code in Figure 2.
[12 marks] (6 marks) (4 marks)
import junit.framework.TestCase;
public class TestPassword extends TestCase{
public void testPasswordLength(){
//new PasswordValidator object
PasswordValidator pv = new PasswordValidator ();
//Write your code in the answer box
Figure 1 Test program
Figure 2 Product program
public class PasswordValidator {
public boolean isPasswordValid(String password){
//Write your code in the answer box
Page 6 of 20

EBU5304 Paper A 2017/18
Do not write in this column
Page 7 of 20

EBU5304 Paper A 2017/18
Question marking: 10  11  12  33
Page 8 of 20

EBU5304 Paper A 2017/18
Question 2
a) A new online social media software company wants to introduce a rival platform to compete with WeChat in the Chinese market. The company has Chinese social media features and has added some western features that resemble those of WhatsApp to attract western users. Because this is new software that has not yet been introduced to the public, the team of developers acknowledges that it is difficult and expensive to guarantee that the new software is completely free from errors. However, the team also agrees that they need to balance the needs to be achieved between meeting consumer demand for new products with guarantee about performance even if the software is not free from errors. This means the software can still be used and appreciated by most users, even when there are some errors.
[10 marks]
i) From the above, give a software engineering phrase or term that describes the phrases “the team of developers acknowledges that it is difficult and expensive to guarantee that the new software is completely free from errors” and “they need to balance the needs to be achieved between meeting consumer demand for new products with guarantee about performance even if the software is not free from errors”.
ii) Give FOUR conditions (or advice) to this company if it wants its new software to achieve the status of “High Quality Software” in the near future so that it can compete favourably with WeChat.
iii) List THREE types of risks that the software development team should consider when trying to improve the features of the new software.
Do not write in this column
Page 9 of 20

EBU5304 Paper A
b) Describe Copyright and Copyleft.
Do not write in this column
Page 10 of 20

EBU5304 Paper A
c) Describe the FOUR freedoms which describe the strongest forms of “Free Software”.
Do not write in this column
Page 11 of 20

EBU5304 Paper A 2017/18
d) Describe FOUR ways in which the company Red Hat makes money from its open source Linux software.
Do not write in this column
e) List the FOUR steps of testing strategy in software engineering.
Do not write in this column
Page 12 of 20

EBU5304 Paper A 2017/18
Questionmarking: 10864533
Page 13 of 20

EBU5304 Paper A 2017/18
Question 3
a) An important aspect of good quality software development is to reduce dependency between different parts of a program. Explain what is meant by this, and why it is important. Explain how the general idea of object-oriented programming fits in with this.
[12 marks]
Do not write in this column
Page 14 of 20

EBU5304 Paper A 2017/18
b) The Interface-Segregation Principle (ISP) is one principle of good program design that if kept to helps reduce dependency between different parts of a program. Explain what is meant by this principle in terms of programming in an object oriented programming language like Java. Explain how it helps reduce dependency and other ways in which it contributes to good program design.
[12 marks]
Do not write in this column
Page 15 of 20

EBU5304 Paper A
c) Explain the general idea of the Singleton design pattern, and how it works.
Do not write in this column
Page 16 of 20

EBU5304 Paper A 2017/18
d) Explain the general idea of the Object Pool design pattern, and how it works. Give the reason why it would be used.
Do not write in this column
Page 17 of 20
Question marking: 12  12  4  6  34

EBU5304 Paper A Use this section for rough work 2017/18
Do not write in this column
2017-2018 Rough Working Page 18 of 20
Page 18 of 20

EBU5304 Paper A Use this section for rough work 2017/18
Do not write in this column
2017-2018 Rough Working Page 19 of 20
Page 19 of 20

EBU5304 Paper A Use this section for rough work 2017/18
Do not write in this column
2017-2018 Rough Working Page 20 of 20
Page 20 of 20

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com