








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









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 :
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
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
(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’
be swayed to develop a system that would behave unethically demonstrates that they did not act
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-G and 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-G and 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) Housemate Caretaker Administrator 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
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)