Docsity

Software engineering -Software process models, Assignments of Software Engineering

Toggle sidebar
bg1
1
Faculty of Information and Communication Technology
I declare that I am familiar
with, and will abide to the
Examination rules of
Tshwane University of
Technology
_____________________
Signature
MODULE NAME: Software Engineering Fundamentals
MODULE CODE: SEF216D
Formative assessment
Duration: 2 Hours
Date: December 2021
Total Marks: 74
Total pages: 14
Examiners:
RT Hans
Moderator:
Mr TR Phihlela
Student number
Surname:
Initials:
/74
%
INSTRUCTIONS: Answer ALL questions. Use the spaces provided to answer each question.
Question 1 [10]
For Questions 1.1 to 1.4, state whether the statements are True or False:
1.1 A PERT/CPM chart may have only one critical path. (1)
False___________________________________________________________________________
1.2 From 1970s to the 2000s high level programming languages emerged. (1)
True___________________________________________________________________________
1.3 The need for quick response time for Brightspace is an example of a non-functional requirement. (1)
True____________________________________________________________________________
1.4 During the specification phase the requirements are analyzed in order to determine and define how
the system should work. (1)
False____________________________________________________________________________
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Software engineering -Software process models and more Assignments Software Engineering in PDF only on Docsity!

Faculty of Information and Communication Technology I declare that I am familiar with, and will abide to the Examination rules of Tshwane University of Technology


Signature MODULE NAME: Software Engineering Fundamentals MODULE CODE: SEF216D Formative assessment Duration : 2 Hours Date : December 2021 Total Marks : 74 Total pages : 14 Examiners : RT Hans Moderator : Mr TR Phihlela Student number Surname : Initials : / 74 % INSTRUCTIONS : Answer ALL questions. Use the spaces provided to answer each question. Question 1 [ 10 ] For Questions 1.1 to 1. 4 , state whether the statements are True or False :

  1. 1 A PERT/CPM chart may have only one critical path. (1) False___________________________________________________________________________ 1.2 From 1970s to the 2000s high level programming languages emerged. (1) True ___________________________________________________________________________ 1.3 The need for quick response time for Brightspace is an example of a non-functional requirement. (1) True ____________________________________________________________________________
  2. 4 During the specification phase the requirements are analyzed in order to determine and define how the system should work. (1) False ____________________________________________________________________________

For Questions 1.5 to 1. 10 , select the correct answer from the given answers. Just write down the

correct corresponding letter of the answer, for example: (a)

  1. 5 With Waterfal model : (1) a) Customers are able to use and gain value (return on investment (ROI)) from the software earlier. b) Risk of overall project failure is much lower. c) If no careful attention is paid this development may degenerate into build-and-fix. d) Disciplined development approach is enforced. e) User interaction is encouraged/promoted. Answer : (d)_______________
  2. 6 A software engineer is obligated by ACM/IEEE code of ethics to (1) (a) act consistently with the public interest. (b) act in a manner that is in the best interests of the client. (c) act in a manner that is in the best interests of the employer. (d) act independently in their professional judgment. (e) All of the above. (f) (a), (b), (c). Answer : (e)______ 1.7 Project A has two paths, named P1 and P2 that are 29 days long. Project A’s duration is (1) (a) P1 + P2 = 29 + 29 = 58 days. (b) 29 days + ½ day (for possible delays) = 29½ days. (c) 29 days + 1 day (for possible delays) = 30 days. (d) None of the above. Answer : (d)_____

e) All of the above f) (a), (b) and (c) g) (b) and (c) h) (a) and (c) Answer: (f) ___________

Question 2 [ 9 ] Read the following case study and the answer the questions below that are based on it. 2.1 Outline how were the following two (2) ACM/IEEE code of ethics principles violated by the software engineers in the above case study. (a) CLIENT AND EMPLOYER - Software engineers shall act in a manner that is in the best interests of their client and employer consistent with the public interest. (2) The decision by software engineers to participate in the development of a software that altered emission of harmful gases did not only betray the clients and the public trust in them in acting

in their best interest, but also put the clients and the public’s health at huge risk .

Furthermore, their act shows that the software engineers put their employer’s as well as their interests above those of the clients and the public, thus not acting consistent with the

abovementioned principle. 

(b) JUDGMENT - Software engineers shall maintain integrity and independence in their professional judgment. (2) Their decision to side with the decision of their superiors and develop a ‘cheating systems’

indicates that they lacked and did not maintain integrity . Moreover, by allowing themselves to

be swayed to develop a system that would behave unethically demonstrates that they did not act

independently in their professional decision and judgement. 

Volkswagen Company’s Emissions Scandal: Ethical Dilemma The ethical dilemma that Volkswagen experienced was necessitated by claims that the automobile maker had cheated on the air pollution tests subjected by the United States. The company had intended to sell diesel cars in the United States. Interestingly, because they were aware of the emission regulations used in America, Volkswagen launched a marketing campaign where they presented their cars as having low emission levels (Hotten par.3). However, the American authorities had to test the cars first before being allowed into the market. The vehicles that the company sold in the American market between 2008 and 2015 did not meet the emissions standards that the American government had set. Volkswagen had installed the cars using for the emission test with special software that altered its emissions (Ewing 40). The software played a crucial role in convincing the authorities that the cars were not emitting harmful gases into the atmosphere beyond unmanageable levels. Source : https://studycorgi.com/volkswagen-companys-emissions-scandal-ethical-dilemma/

Question 3 [ 11 ] (a) Consider the following table Task No. Task description Duration (minutes) Predecessor tasks 1 Request Uber to take you to the mall 5 - 2 On route to the mall 40 1 3 Confirm with a friend that you are on route to her/him 7 2 4 Pay for your Uber ride using cash 2 2 5 Pick up the friend 10 3 6 Pay for friend Uber ride using cash 2 5 7 Exit Uber on arrival at the mall 3 4, 6 (b) Draw a PERT/CPM of tasks indicated in the table above. On the PERT/CPM chart show the critical path. (7) ½ a mark for each correctly drawn task boxes of tasks 1 and 2. One (1) mark for each of the correctly drawn boxes of tasks 3 to 7. One (1) mark for correctly showing the critical path on the PERT/CPM chart.

(a) Write down the paths that you can identify in the PERT/CPM chart drawn in (a) above. (2) They are: 1- 2 - 3 - 5 - 6 - 7 or A-B-C-E-F-Gand 1- 2 - 4 - 7 or A-B-C-D-G  (b) Name and calculate the length of the critical path of the PERT/CPM chart drawn in (a). (2) The critical path is: 1 - 2 - 3 - 5 - 6 - 7 or A-B-C-E-F-Gand is 71 minutes long

Question 5 [ 10 ] Case Study: Housemates System Little did Mr P know that by allowing housemates to share cooking chores in his rented house for the purpose of saving electricity, that it will be mayhem for the caretaker to manage the sharing of the cooking chores. Mr P quickly figured out that he should derive an inclusive solution by gathering all the housemates to determine a solution. It was agreed that an automated system should be developed to provide the following functionality: To allow the caretaker to draw a weekly cooking schedule according to the availability of housemates by considering the class timetables. Then the cooking housemate will create a menu for that day by taking into consideration the preferences of other housemates. The system should also be able to automatically send out an SMS reminder to the cooking housemate every day at 16:00. 5.1 Identify potential actors of this system. (3) HousemateCaretakerAdministrator  5.2 Apply use goal technique and write user stories for the actors identified from the scenario. (3) As a caretaker I would like to create a cooking schedule to …..As a Housemate ….AS an Administrator ….  5.3 Draw a use case diagram to capture the use cases identified from the case study. (4)

Question 6 [15] Tshwane University of Technology (TUT) has approached you to develop a mobile app to be used by TUT students on campus. The purpose of the app is for reporting of all incidents of vandalism to TUT properties. The app should enable a user to:  Take a picture/video of the incident (where possible), upload the picture/video and give brief details, eg place, time and type of vandalism.  Do a voice recording about the incident, where it took place, the time of the incident, etc, upload the recording. 6.1 Develop an activity diagram to capture the workflow of use case concerned with the reporting of vandalism incident. You may need to make reasonable assumptions to enrich your imagination of the use case. (7) NOTE : An activity will only be awarded a mark if it flows to another activity or flows from another activity.

Question 7 [13] Study the following use case description for the use case add new car to an existing policy in car insurance system Use case name: Add car to existing policy Triggering event: A policy owner wants to add a new vehicle to an existing policy Brief description: A policy owner supplies policy information, vehicle information and if necessary, new driver information to the clerk who adds the new vehicle and/or driver to an existing policy Actors: Policy owner Related use cases: Validate policy owner, validate vehicle details, add new driver Pre-conditions: Policy owner must be the owner of the policy. The policy must exist. Policy premiums must be up to date. Policy must be in force. Vehicle details must be valid. Post-conditions: A new car entry is created on an existing policy A new premium is calculated An updated policy document is sent to the policy owner Flow of activities: ACTOR System

  1. The policy owner supplies the policy number.
  2. The policy owner then supplies the make, model, year and Vehicle Identification Number (VIN) of the car to be added.
  3. The policy owner selects the type of coverage desired and the amount to pay.
  4. The policy owner must identify all the drivers and the percentage of time they drive the car to be insured
  5. Policy owner receives the updated policy statement. 1.1 The system validates the policy and policy owner by invoking a use case – validate policy owner – which uses sophisticated voice- recognition to validate a policy owner’s identity and whether they are the policy owner. 1.2 The system displays the basic insurance policy, including whether the premiums are current and whether the policy is in force. 2.1 The system ensures that the given information is valid by invoking a use case – validate vehicle details – that check if the vehicle recognized with the authorities (e.g., in case a vehicle is reported stolen). 3.1 The system validates the requested amount against the policy limits. 4.1 If a new driver is to be added, then another use case
  • add new driver – is invoked. 4.2 The system calculates a new premium amount. 4.3 System sends the updated policy statement to the policy owner.

7.1 Develop a first cut design class diagram showing navigation visibility. (5) 7.2 Create a set of CRC cards showing these classes, responsibilities, and collaborations for the use case. (8)