You are on page 1of 8

CONFIDENTIAL

ONLINE EXAMINATION
MAY 2022 SEMESTER
SUBJECT CODE : CDL101

SUBJECT NAME : UNIFIED MODELING LANGUAGE

PROGRAMME : BACHELOR

SUBMISSION DATE : BEFORE OR ON tuesday, 9 august 2022,


2.00 pm (MALAYSIA) OR 1.00 pm (INDONESIA).

INSTRUCTIONS TO CANDIDATES

1. Please read the instructions given in the question paper CAREFULLY.

2. Plagiarism in all forms is forbidden. Students who submit plagiarised Final Examination
will be penalised.

3. This question paper consists of TWO (2) SECTIONS.

4. Answer ALL questions in both sections.

5. You have ONE (1) day (24 HOURS) to complete the questions and please submit your
answers BEFORE OR ON tuesday, 9 august 2022, 2.00 pm (MALAYSIA) OR 1.00 pm
(INDONESIA). Please submit your answers via myAeU PLS (online submission).

6. ONLY ONE (1) time successful online submission is allowed.

7. Begin writing your answers using Microsoft Words template given at the last page of this
paper.

THERE ARE SIX (6) PAGES OF QUESTIONS, EXCLUDING THIS PAGE.


CONFIDENTIAL

DECLARATION BY STUDENT

I certify that this Final Examination answer is of my own work and is in my own words. The answers
are written without any reference to any learning material. I also confirmed that I have kept a copy of
this Final Examination answers.
Name : __________________________________

Student ID: ____________________________

Date: ___________________________________

SECTION A [TOTAL: 60 MARKS]


INSTRUCTION: ANSWER ALL QUESTIONS.
Please use the answer sheet provided.

Question 1

Unified Software Development Process or Unified Process is a popular iterative and


incremental software development process framework. Briefly explain each characteristic of
the Unified Process.

[10 Marks]

Question 2

Consider an online shop for books. Check if the following statements express functional or
quality requirements. Justify why it is functional or quality in each of the answers.

a) The system shall be available in English, Malay and French.


[2 Marks]
b) The system shall allow the user to search for books by author and title.
[2 Marks]
c) The system shall provide a list of all previously ordered books to the user.
[2 Marks]
d) The system shall support minimum 2000 transactions per hour.
[2 Marks]
e) The system shall be available to all users 24/7.
[2 Marks]

CDL101 – UNIFIED MODELING LANGUAGE Page 0


CONFIDENTIAL

[Total : 10 Marks]

Question 3

a) Explain the TWO (2) key elements of use-case diagrams.

[4 Marks]

b) Describe the contents of each class in a class diagram.

[6 Marks]

[Total : 10 Marks]

Question 4

Briefly explain the THREE (3) requirements in describing and specifying a system, namely
User Requirements, Systems Requirements and Software Specifications.

[10 Marks]

Question 5

The statement in Project Charter sets out detailed project goals, roles and responsibilities,
identifies the main stakeholders, and the level of authority of a Project Manager.

Refer a sample project below:

Project Name: Develop a Web Shop for Clothing Brand

Description:
I would like a web shop developed with the purpose of selling fashion merchandise directly
through my website.

Project requirements:

CDL101 – UNIFIED MODELING LANGUAGE Page 1


CONFIDENTIAL

Design: Responsive and able to be pulled up on mobile devices


Code: HTML and CSS

Front end:
I require 5 navigation tabs:
 Home
 About Us
 Contact
 My Account
The landing page should also have the following categories displayed:
 Top Selling Items
 New arrivals
 Products
 Price
 I want the customer also be able to browse in each category.
 I have 150 Products currently
Back end:
I require the following:
 A shopping cart, with payment methods PayPal and Credit Card.
 Customer registration ability
 E-Mail and Newsletter sign up
 Contact form
Interfaces
I need the web shop to interconnect with my:
 Blog
 Facebook
 Twitter
 My E-mail
 Pinterest
Work Flow
1. I need a graphical first draft of what you are planning to program.
2. I will make revisions to the design as needed. After agreeing on all the points we can
proceed to the next phase
3. Check on the design and functionalities.
4. Final draft and closing of the project
Schedule
 3 weeks: Must be finished by 01/01/20XX
 Budget: XYZ Euro for the entire project, including all revisions and changes.

CDL101 – UNIFIED MODELING LANGUAGE Page 2


CONFIDENTIAL

a) Write the appropriate Project Purpose for the above project.


[5 Marks]

b) Write the appropriate Project Outcomes for the above project by listing FIVE (5)
outcomes.
[5 Marks]
[Total :10 Marks]
Question 6

Construct appropriate test cases to check Login Functionality as shown in Figure 1.

Figure 1: login page from http://www.AAA.com

Use Table 1 below to construct the above test cases.

Table 1

Test Case Test Test Test Data Expected Actual Pass/Fail


ID Scenario Steps Results Results
TU01

CDL101 – UNIFIED MODELING LANGUAGE Page 3


CONFIDENTIAL

[10 Marks]

SECTION B [TOTAL: 40 MARKS]


INSTRUCTION: ANSWER ALL QUESTIONS.
Please use the answer sheet provided.

Question 1

Figure 2 shows a class diagram and its source code written in Java:

Source code :

public class Person


{
private String name;
private int age;
}

Figure 2

a) Re-write the Java source code for the class diagram with the additional
printPerson() method as shown in Figure 3.

CDL101 – UNIFIED MODELING LANGUAGE Page 4


CONFIDENTIAL

Figure 3

[10 Marks]

b) To map a class to a database table, each attribute is represented as a field in the


table. Draw a complete Person table based on the class diagram in Figure 3.

[10 Marks]
[Total : 20 Marks]
Question 2

Refer a state-machine diagram in Figure 4:

Figure 4

Generate the appropriate test case from Unified Modelling Language (UML) state-machine
diagram in Figure 4.

[20 Marks]

CDL101 – UNIFIED MODELING LANGUAGE Page 5


CONFIDENTIAL

END OF QUESTION PAPER

ANSWER SHEET

STUDENT ID
STUDENT NAME
IC / PASSPORT NUMBER
SUBJECT CODE
SUBJECT NAME
PROGRAMME
DATE OF SUBMISSION
LEARNING LOCATION

Begin writing your answers on this page (Font: Arial or Times New Roman, Size: 11 or 12,
Lines Spacing 1.5);

CDL101 – UNIFIED MODELING LANGUAGE Page 6

You might also like