Академический Документы
Профессиональный Документы
Культура Документы
DEVELOPMENT AUTHORITY
National Assessment
for
PROGRAMMING NC IV
(COC 1 DEVELOP OBJECT ORIENTED APPLICATION)
Programming NC IV
Certificate of
Competency
Title:
Performance Criteria
In developing the design, the following items must be executed:
B.
Required Evidence
Program logic design
C.
Collection of Evidence
The collection of evidence for this activity will be done through analysis of
the program logic design you submitted. Questioning shall be conducted to
reinforce the evidence collected from this demonstration.
D.
Time Allotment
You have one (1) hour to complete the activity
ICTPRG405-0609
Programming NC IV
E.
Assessment Tasks
1. Develop and illustrate the program logic for the Search Book
Collection Facility and Log in Facility.
You may use any of the following tools to demonstrate the required
performances (refer to Performance Criteria for more details).
o Flow chart
o Data flow
o Pseudo code
2. List the inputs, variables and outputs of those you will be incorporating
in your design.
3. Refer to project description for the TESDA Learning Resource Center
Application for more details.
Performance Criteria
In developing the design, the following items must be executed:
ICTPRG405-0609
Programming NC IV
B.
Required Evidence
Program code
C.
Collection of Evidence
The collection of evidence for this activity will be done by analyzing and
testing the program code you submitted. The more set/sub-systems you
accomplished, the better your chances of demonstrating the required
performances. The collected evidence shall be valid only if the
program/sub-system is running according to the design specification.
Questioning shall be conducted to reinforce the evidence collected from
this demonstration.
D.
Time Allotment
You have five (5) hours to complete the activity
E.
Assessment Tasks
1st Set
1. Indicate the language of your preference
_______________________________.
for
this
activity.
ICTPRG405-0609
Programming NC IV
2nd Set
1. Make a second copy of the project from the 1 st Set.
2. Improve your project by writing a code for the following sub-systems:
a. Reservation facility
b. Borrow transaction facility (through reservation)
c. Return facility
d. Borrow transaction facility(manual)
3. Run the test case scenario (Test Cases #2) using your program.
Debug if needed.
4. Refer to project description for the TESDA Learning Resource Center
Application for more details.
5. When you are sure that your application is running as required in the
project description, call the attention of your assessor and submit your
project.
ICTPRG405-0609
Programming NC IV
Test Cases #1
Case 1:
Open the TESDA Electronic Library Application, the first panel that you should
see is the Search and Reserve Facility. There should be forty five (45) titles
from the book collection.
Case 2:
Filter the book collection, set the category to databases then click search.
The collection should be limited to twelve (12) titles.
Case 3:
Filter the book collection, set the category to databases. In the title textbox
enter Microsoft then click search. The collection should be limited to six (6)
titles.
Case 4:
Filter the book collection, set the category to databases. In the title textbox
enter Microsoft and in the author textbox enter, Lisa. Then click search.
The collection should be limited to two (2) titles.
Case 5:
Filter the book collection, set the category to databases. In the title textbox
enter Microsoft and in the author textbox enter, Lisa and in the ISBN
textbox 0324785151 then click search. The collection should be limited to
one (1) title.
Case 6:
Filter the book collection, set the category to All clear all the textboxes
except the ISBN textbox, enter 0324785151 then click search. The collection
should be limited to one (1) title.
Case 7:
1. Click log in button, the log in panel should appear in modal mode.
2. Log in to the system
Username: admin
Password: administrator
3. Your program should generate the following output:
Sorry invalid username or password
Test Cases #1
Case 8:
1. Click log in button, the log in panel should appear in modal mode.
2. Log in to the system
Username: admin
Password: admin
3. Your program should generate the following output:
Welcome Josephine!
4. Then the log in panel will close.
5. Once logged in, you should be redirected to administrator facilities,
Borrow transaction pane to be exact. In the panel, the account
information should display,Welcome Josephine! You are logged
in as administrator.
6. Logout to the system.
7. Once logout the account information on the administrators panel
should display, Welcome guest!
Case 9
1. Click log in button, the log in panel should appear in modal mode.
2. Log in to the system
Username: brian
Password: b
3. Your program should generate the following output:
Welcome Brian!
4. Then the system will redirect the user to the members panel
5. Once logged in, account information on the members panel should
display, Welcome Brian! You are logged in as member. The
cart panel should also become active.
6. Logout to the system.
7. Once logout the account information on the members panel should
display, Welcome guest! The cart panel should be inactive.
Test Cases #1
Case 10:
1. Click log in button, the log in panel should appear in modal mode.
2. Log in to the system
Username: lorna
Password: l
3. Your program should generate the following output:
Sorry your account is currently inactive. Please update
your membership account before you can continue.
4. When you close the message box, the system should automatically
clear the inputs from the password.
Test Cases #2
Case 11:
1. Log in to the system
Username: brian
Password: b
2. Add the books with the following ISBN to your cart
a. 0826906311
b. 2002102792
3. Remove the book with ISBN 2002102792 from the cart.
4. Your application should confirm the removal of the title from the list.
5. Reserve the remaining title to your account.
6. Your application should generate the output You reserved <number
of books> books in your account.
Case 12:
1. Using the same account
Username: brian
Password: b
2. Reserve the following book to your account
a. 0826906311
b. 2002102792
3. Remove the book with ISBN 2002102792 from the cart.
4. Your application should confirm the removal of the title from the list.
5. Reserve the remaining title to your account.
6. Your application should generate the output You reserved <number
of books> books in your account.
Test Cases #2
Case 13:
1. Using the same account
Username: brian
Password: b
2. Reserve the following book to your account
a. 0826906311
b. 2002102792
3. Remove the book with ISBN 2002102792 from the cart.
4. Your application should confirm the removal of the title from the list.
5. Reserve the remaining title to your account.
6. Your application should generate the output You reserved <number
of books> books in your account.
Case 14:
1. Log in to administrators account
Username: admin
Password: admin
2. Go to borrow transaction manual entry tab and search the book with
ISBN 0766813916
3. Add the book to the cart then lend the book to Agnes with members
ID 7
4. Your application should generate the output You lend the book <book
title> to <first name last name of the borrower>.
Test Cases #2
Case 15:
1. Using the same account
Username: admin
Password: admin
2. Borrow transaction reservation tab
3. Look for the members ID No. 2
4. Your application should display the reservation made by Brian.
5. Lend the book to Brian
6. Your application should generate the output You lend the book <book
title> to <first name last name of the borrower>.
Project Description
TESDA Learning Resource Center Application
Test Project for the Develop Object Oriented Application.
2009 TESDA
All Rights Reserved
Table of Contents
TECHNICAL EDUCATION AND SKILLS DEVELOPMENT AUTHORITY...............1
Qualification................................................................................................2
Programming NC IV.....................................................................................2
Certificate of Competency Title: ................................................................2
Develop Object Oriented Application...........................................................2
Table of Contents........................................................................................1
I.Overview of the Project.............................................................................1
II.Technical Specifications...........................................................................1
A.Environment..........................................................................................1
B.Users.....................................................................................................1
C.Policies..................................................................................................2
D.Sub-systems.........................................................................................3
E.Transactions........................................................................................15
F.Database Design.................................................................................17
2009 TESDA
All Rights Reserved
I.
B. Users
The system shall have following users:
1. Administrator
2. Member
2009 TESDA
All Rights Reserved
Page|1
3. Guests
C. Policies
The system will be operating under following policies:
1. Reservation Policy
2009 TESDA
All Rights Reserved
Page|2
D. Sub-systems
1. Search Book Collection Facility
a. Main Features
5
6
1
Abstract
2009 TESDA
All Rights Reserved
Page|3
c. Description
This interface is the first panel you will see when the electronic
library is opened. This allows guest (not logged in user) to browse
through the book collection.
Book information panel (1) This shows detailed
information about a particular book in the collection.
Validation of user
Role of the user
Validity of account (active in active)
2009 TESDA
All Rights Reserved
Page|4
b. Interface
The illustrations below are the prescribed layout for the project.
3
1
Abstract
4
Abstract
2009 TESDA
All Rights Reserved
Page|5
c. Description
Log in/Log out button (1) Initially the text in this button
indicates Log in. This is used to call and show the log in
panel. Once the user successfully logged in to the system,
the text in this button will indicate log out. This button is
now used to log out a user to the system.
Log in panel (2) This interface is where the user inputs
the user account and executes the user validation process
of the system (checking of authenticity of the user
account and validity of membership). After the process it
should render the following output:
o Message box indicating the message Welcome
<first name of the user> for valid user
account
o Message box indicating the message Sorry invalid
username or password for invalid account entry.
o Message box indicating Sorry your account is
currently inactive. Please update your membership
account before you can continue.
Account information (3) This indicates the first name and
role of the logged user. It displays Welcome Guest with
no user role if the current user has not logged into the
system.
Members Panel (4) This is the same form with the guest
panel. The difference is that there are elements of the
form that is active once the member logs in.
Administrator Panel (5) This form is called and displayed
when an administrator logs into the system. Elements of
this panel is described under the borrow transaction
facility.
3. Reservation Facility
2009 TESDA
All Rights Reserved
Page|6
a. Features
This facility is available only for members. It should have the
following features:
The interface is active only when the member is logged
into the system.
Derives the book to be borrowed from the search facility
and stores the information into an electronic cart.
Books included into the cart can be deleted from the list
Automatic feedback indicating the number of books
reserved through message box.
Limit automatically the number of books that can be
reserved by the user.
b. Interface
Abstract
1
2
3
4
c. Description
2009 TESDA
All Rights Reserved
Page|7
b. Interface
2009 TESDA
All Rights Reserved
Page|8
The illustrations below are the prescribed layout for the project.
c. Description
Borrow Transaction Tab (1) Activate the panel for
managing the borrow transaction.
From Reservation Tab (2) Activate the panel for
searching reservation transaction record via entry of
members ID number.
2009 TESDA
All Rights Reserved
Page|9
Date borrowed
Due date
Transaction number
Name of member
Members ID number
b. Interface
The illustrations below are the prescribed layout for the project.
2009 TESDA
All Rights Reserved
Page|10
1
2
c. Description
Add to cart button (1) add the current book in the book
information panel to the cart panel.
Lend listed books (2) transfer the listed books to the
borrow records.
Members ID confirmation box (3) this panel asks the
user of the ID number of the borrower.
Generated printable report (4) This report is generated
as proof that a borrow transaction has undertaken.
6. Return Facility
a. Features
2009 TESDA
All Rights Reserved
Page|11
b. Interface
The illustrations below are the prescribed layout for the project.
1
2
3
2009 TESDA
All Rights Reserved
Page|12
c. Description
Return transaction tab (1) This control activates the
return transaction panel.
Search members record interface (2) This control can
be used in looking for borrow and return transaction
record of the member via entry of ID number.
List of borrow and return transaction record(3) This
control displays the record of returned books with the
following status:
2009 TESDA
All Rights Reserved
Return only
2009 TESDA
All Rights Reserved
Page|14
1
2
c. Description
Transaction record tab (1) This control is active only if
the member logs into the system. It is used to display the
personal transaction record of the member.
List of transaction record(2) - This control displays the list
of unsettled transactions such as:
o
8. Collection Maintenance
E. Transactions
a. Borrowing
Page|15
c. Reservation
The member can reserve the title of the book to be borrowed. The
reservation policy should be strictly followed in this function. The
system should record the name of borrower, the books borrowed,
ISBN, transaction number and the date reserved
2009 TESDA
All Rights Reserved
Page|16
F. Database Design
Below is the proposed database design for the system
2009 TESDA
All Rights Reserved
Page|17