UnrERSTT OF BUER COLLEGE OF TECHNOLOGY END-OF-SEMESTER EXAMINATIONS DEPARTMENT: Computer Engineering Technology MONTH: YEAR: DATE: COURSE INSTRUCTOR: JULY cOURSE CODE& NUMBER: CEC306 cOURSE TITLE: SYSTEM ANAL YSIS AND DESIGN 2020 30/07/2020 Nyanga B. Y CREDIT VALUE TIME: 15:30-17:30 TIME ALLOWED: 2 hours INSTRUCTIONS: Read through EACH is allocated for a MAXIMUM any question before you Follow instructions for EACH Section. Time to be in Standard UMLVP. State poor presentation of work. answer it. POSSIBLE MARK of 70. DIAGRAMS assumed assumptions made. Penalty for poor English or SECTION A: TICK THE LETTER WITH THE CORRECT ANSWER. (MAX 25MARKS) 1) Ia a hospital information system of information is the following type operational (a) Open1ng a new children's' ward tb) Data on births and deaths (cPreparing patients' bill (d) Buying an expensive diagnostic system such as CAT scan 2) Match and find best pairing for a Marketing Management System (1)Customer preferences surveys (iv)Strategic information (ü)Search for new markets (v)Tactical (iü)Performance of sales outlets (vi)Operationalinformation (a) (i) and (iv) (b) (i) and (v) (c) (ii) and (vi) (d) (ii) and (v) 3) Batca processing is used when i) response time should be short ii) data processing is to be carried out at iii) transactions are in batches iv) transactions do not occur periodically a)i,i )i ,ii,iv c) ii ,ii d) i , ii ,ii periodic information intervals 4) The role of a system analyst drawing up a requirements specification is similar to a) architect designing a building b) a structural engineer designing a building c) a contractor constructing a building d) the workers who construct a building 5) The main objective of feasibility study is a) to assess whether it is possible to meet the requirements specifications b) to assess if it is possible to meet the requirements specified subject to constraints of budget, human resource and hardware c) to assist the management in implementing the desired system d) to remove bottlenecks in implementing the desired system 6) Among the attributes of a good systems analyst the following are essential i) knowledge of organization ii) analytical mind ii) ability to communicate orally iv) excellent mathematical abilities a) i and ii b) i, ii and iii c) i, ii and iv d) i, ii and iv 7) Among information gathering methods, interviewing is essential as a) it gives an opportunity to question the interviewees and clarify details and doubts the analyst may have b) it can be casily arranged c) it is reconmended by senior analysts d) it is necessary to meet everyone in the organization 8) Duringg interviews an analyst must a) gather information on user requirements, procedures and practices b) tell the user what is good for organization c) tell the user how to run the organization d) tell the user what is wrong with the organization 9) An organization requests an information system to be designed when (a) there is 2 change in management (6) it is dissatisfied with the current system as it does not meet their infomation requirement (c) the curent system has been working or 2 years (d) new software tools are introduced in the market 1 10) Graphical tools used to arrive at SRS are: Flow Charts (iv) (i) Data Flow Diagrams (ii) Program Flow Charts (ivi) System iv and ii and iii and ii (c)i iv (d) (a)i and (b) ii Document Flow Diagrams 11) Data flow diagrams are used to depict (a) how and when data flows in an orgunization (b) what documents flow in an organization what data flows between entities and how they are processed (d) how data are generated and flow in an organization 12) Data cannot flow between two data stores because (a) it is not allowed in a DFD (b) a data store is a passive (C) (c) data can get corrupted repository of data (d) they will get merged 13) A context diagranm (a) describes the context of a systenm (b) is a DFD which gives an overview of the system (4) is not used in drawing 14) Data flow diagrams are usually developed during (c) is a detailed deseription of a system a detailed DFD a sy stem design phase (b) feasibility study (c) implementation phase (d) systems analysis phase 15) A physical DFD specifies (a) what processes will be used (b) who generates data and who processes it (c) what each person in an organization does (d) which data will be generated 16) Deficiencies in a system are pinpointed by identifying (i)missing function (ii) excessiveco_t of operation (ii) poor management (iv) poor operation (a) i and ii (b) i and i (c)i and iv (d) ii and i 17) By economic feasibility of a system we mean that (a) it is economical to operate (b) it is expensive to operate (c) it will be cost-efective if implemented finances are available to implement the system and it will be cost-effective d 18) A cost benefit analysis consists of (i) finding the direct and indirect cost of developing. implementing and running the system (ii) finding out the tangible and intangible benefit of the system (ii) finding the investmentto be made in the system (iv) finding the profit which will accrue from the system (a) iií and iv (b) i and iv (C)ii and ii (d)i and ii 19) The main objectives of a detailes system proposal are to (i) convince management about the benefits of the proposed system (i) explain in detail to the management what to expect from the system and at what cost (i) have a detailed plan on what the system will do and how it will be implemented (iv) make sure that it is possible to implement the system (a) i and ii (b) ii and ii (c) i and iv (d) ii and iv 20) The objective of using structured English is to @) describe computational procedures reasonably precisely which can be understood by any user (b) expand a DFD so that a user can understand it (c) develop algorithms corresponding to processes in a DFD (d) ease writing programs for DFDs 21( Decision table description of data processing is (a) non-procedural specification (b) procedural specification (c) purely deseriptive specification (d) very imprecise specification 22) Decision trees a r e superior to decision tables when a) The number of conditions to be tested is very large b) When sequence of testing conditions is not particularly important C)When sequence of testing conditions is not particularly important c) When a large number of actions are to be specified 23) Logical correctness ofa specifications can be systematically checked by a) Using decision trees b) Using structured English c) Using DFD's d) Using decision tables 24)A data dictionary has information about (a) every data element in a dota flow (b) only key data element in a data flow (c) only important data clements in a data flow (d) only numeric data elements in a data flow 2 The main problems encountered in off-line data entry are: ) Data are entered by operators (ii) Data entered by hand in forms batched and forms may be missed or misread (i) Errors are detected after a lapse of time (iv) Data are entered by users 25) (b)i and ii (c) ii and ii (d) ii and iv 26) Design of error detecting codes requires good (a) knowledge of mathematics (b) statistical mechanics ) statistics of errors normally committed during data entry (d) Boolean algebra 27) A class is (a) i and ii (a) a group of objects (b) template for objects of a particular type (c) a class of objects (d) a classification of objects 28) The following are intangible entities which can be defined as objects (i) a motor car (ii) a bank account (iii) an aircraft (iv) a linked list (a) i, ii (b) i, iv (c) ii, iv (d) i, i , iv 29) An object is considered an external entity in object-oriented modelling if (a) its attributes are invariant during operation of the system (b) its attributes change during operation of the system (c) it has numerous attributes (d) it has no attributes relevant to the system 30) Object-oriented system modelling using CRC method gives (a) Java programs for the system (b) C++ programs for the system ()Classes ofthe system, their responsibilities and collaborating classes (d) Objective C programs for the system 31) While designing output report it is important to keep the following in mind: )volume of output (ii) potential users (ii) current users (iv) periodicity of output () i, ii, ii (b) ii, ii, iv (c) i, ii, iv (d) i, ii, iii, iv 32) Good report allows one to (i) read it from left to right and top to bottom (ii) read it from any point (ii) find out easily the beginning and end of the report (iv) printed it in one page (a) i and ii (b) i and ii (c) i and i (d) ii and iv 33) Controls are necessary in information systems as (1) massive amounts of data are processed and human errors are expected in data entry (i) accidental errors can lead to loss of money and credibility in a system (ii) to protect the system from virus attack (iv) data may be lost due to disk crashes (a) i and ii (b) i and iii (c) i and iv (d) ii and ii 34) Some of the features of audit package used to check systems are: G) facility to total specified items dased on some criteria (i) extracting items based on some criteria for checking (iii) check-pointing and restart facility (iv) hardware faults recovery (a) i, ii (b) i, ii, ii (C) i, ii, ii, iv (d) i, i, iv 35) Security in the design of information system is used to (a) inspect the system and check that it is built as per the specifications (b) protect data and programs from accidental or intentional loss (c) ensure that the system processes data as it was designed to and that the res ults are reliable (a) ensure privacy of data processed by it 36) CASE tools are (a) A Set of rules to be used during system analysis and design (b) Prograin, packages used during system analysis and design (c) A set of tools used by analysts (d) Needed for use case development. 37) The current standard tool for designing object oriented systems is called (a) Unified Modelling Language (b) Booch Modelling Language (c)Object Modelling Language (d) Class, responsibilities and collaborators language Section B: Case Study Local Health Centre More than 2000 patients are registered with a local health centre. The centre employs a number of general practitioners (i.e.doctors) and a few receptionists. Patients are officially registered with one, doctor but can artange appointments with any available one. These appointments may subsequently be cancelled Some appointments result in gne or more prescriptions, identifying a medicine to be taken 3 New patienis are registered by a receptionist. When a patient is registered he/she provideshis/her details such as name. date of birth, address, etc., and receives.a unique patient number To book an appointment a patient should contact a receptionist. The patiept provides his/her number (or date of birth) and the receptionist provides a list of available time slots for appointments. The appointment is booked with the patient's doctor or itf the patient 's doctor is not available with any available doctor. The date and time of the booked appointment are given to the patientas.a confirmation. of Patients can cancel booked appointments by contactinga receptionist who will cancel appointments on behalf patients. A patient who attends an appointment should check in first using a special terminal located in the waiting area of the health centre. The patient inputs his/her number (or date of birth). The system checks the details and confirms that the patient has been checked in. Doctors record appointment outcomes and details of prescriptions (if any) during the appointments i.e all prescriptions issued by doctors are recorded on the patient's record. Patients who leave the area where the health centre is located are de-registered by a receptionist. 1 a) This question refers to the case study described above relating to a local health centre. The table below shows an example of a list of appointments arranged Doctor Docior name: Smith J with doctors. wwww.e* wwowwwwVIwE Iona Doctor room sno.: G5 Patient name: Appointment tirme: 10.20 Patient No. 217 Jones Appoitment Appointment Patient No. Patient name: date tinme: 940 357 Patel J Appointment Patient No.: Patient narme: Appointment date 2/9/12 3/9/1 Docto 3ocior rame Doctor oom no. G2 no.3 Appointment date: time: 13.40 37 Broun G /12 Doctor no.:4 Doctor name: Doctor toom no. FitzgeraiG J Appointment Appointrent date firme: 11.20 Patient No.: 412 Patient name: Wilson P 2912 www . Nomalise the table to produce a set of relations in the third normal form. You must show all of your working explaining (14 marks) each step. b) Draw an entity relationship diagram (ERD) based on the relations produced in part a). (6 marks) c) Give a brief explanation of denomalisation in data base design. (5 marks) 2a) Consider the following extra information about the local health centre system described above "There are two types ofdoctors: full time doctors and visiting doctors. The following data should be stored for both Doctor room no. For visiting doctors additional attributes types of doctors: Doctor po., Doctor name, Doctor tel. no., are: Next visit date, Next visit duration An object of class Prescription consists of a Header, a number of prescription lines, a doctor's signature Explain the following relationships between classes using examples from the local health centre system to illustrate your answers: i) Association, ii) Aggregation or Composition, and i) Generalisation'Inheritance. (15 marks) b) Explain briefly how you would map an inheritance hierarchy in a class diagram to relational database tables Consider The examples should show relevant fragments of a class diagram. (10 marks) three possible approaches 4