Docsity

Smartphone Management Application, Summaries of Network security

Toggle sidebar
bg1
ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title
Submission date Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Vu Tien Thanh Student ID GCD210498
Class GCD1102 Assessor name Ho Van Phi
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature Thanh
Grading grid
Grade (0-10)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download Smartphone Management Application and more Summaries Network security in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Vu Tien Thanh Student ID GCD Class GCD1102 Assessor name Ho Van Phi Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Thanh Grading grid Grade (0-10)

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date: IV Signature:

  • I. Introduction............................................................................................................................................................................................................. Contents
  • II. Requirement..........................................................................................................................................................................................................
  • 2.1User Case.............................................................................................................................................................................................................
  • 2.2 User requirement................................................................................................................................................................................................
  • III. UI Design..............................................................................................................................................................................................................
  • IV. Implementation....................................................................................................................................................................................................
  • 4.1 Explain program structure.................................................................................................................................................................................
  • 4.2 Explain classes...................................................................................................................................................................................................
  • 4.3 Explain important algorithms...........................................................................................................................................................................
  • 4.4 Explain how to handle errors..........................................................................................................................................................................
  • V. Test......................................................................................................................................................................................................................
    1. Test plan..............................................................................................................................................................................................................
    1. Test log................................................................................................................................................................................................................
  • VI. Result..................................................................................................................................................................................................................
  • VII. Conclusion........................................................................................................................................................................................................
  • Figure 1 Interface application.................................................................................................................................................................................. Table of figure
  • Figure 2 User case diagram....................................................................................................................................................................................
  • Figure 3 Main wireframe..........................................................................................................................................................................................
  • Figure 4 Program structure......................................................................................................................................................................................
  • Figure 5 Storage class...........................................................................................................................................................................................
  • Figure 6 Interface class..........................................................................................................................................................................................
  • Figure 7 GUI Application........................................................................................................................................................................................
  • Figure 8 Important algorithms...............................................................................................................................................................................
  • Figure 9 Handle errors...........................................................................................................................................................................................
  • Figure 10 Test plan.................................................................................................................................................................................................
  • Figure 11 Test log...................................................................................................................................................................................................
  • Figure 12 Smartphone management....................................................................................................................................................................
  • Figure 13 Save function.........................................................................................................................................................................................
  • Figure 14 Product before import to the table.......................................................................................................................................................
  • Figure 15 Product after import to the table..........................................................................................................................................................
  • Figure 16 Product before delete to the table.......................................................................................................................................................
  • Figure 17 Product after delete on the table.........................................................................................................................................................
  • Figure 18 The product before search on the table.............................................................................................................................................
  • Figure 19 The product after search on the table.................................................................................................................................................
  • Figure 20 Load File function..................................................................................................................................................................................

I. Introduction

A store selling smartphone products in store and a online store wanted to save time going to the warehouse to check, and manage all of devices into their store, so their ideal need a ideal to create an app to manage them productname, ID, category, color and price. In my current assgignment, I will create a basicly program with a GUI to do what a shop owner needs with all my understanding of Java programming. Figure 1 Interface application

2.2 User requirement

To manage program successfully, as a admin I was created some function for system:  As a admin, I want to add some product in my program.  As a admin, I want to load file to see all product I was import and save.  As a admin, I want to delete the product if something was wrong.  As a admin, I want to save the product.  As a admin, I want to import file, it’s look like I created a new file and I save my product in this file, If I want to show it in my program, I just click load file, it’s will show all product I was create.  As a admin, I want to search the product, it’s make me spend less of time to find the product.

III. UI Design

Main diagram

Figure 3 Main wireframe

IV. Implementation

4.1 Explain program structure

Figure 4 Program structure

4.2 Explain classes

Storage Class

The Storage Class is used to create object and class with Storage attributes.

Interface Class

Figure 6 Interface class Interface class is used to createing A GUI Application for admin interchange with system. This is place to create ArrayList then save it in table, the most importance function like Load File, Delete, Save, Import and Search can edit here.

Figure 7 GUI Application

4.4 Explain how to handle errors Figure 9 Handle errors If I saving data to the table, if I enter empty is missing or incorrect, the declared data will not be transmitted through the table and the system will report an error and force the user to re-enter the data.

V. Test

1. Test plan

The strategy, goals, timetable, estimation, deliverables, and resources needed to carry out testing on a software product are all described in detail in a test plan. The test plan aids in estimating the amount of work required to verify the application's quality. The test manager carefully monitors and controls every aspect of the test plan to ensure that software testing activities are carried out according to a defined methodology. Test What is being test How Test data used Expected Results 1 Upload data on a table Click in Load File button “” Successful 2 Find id or name of product Enter sample data and evaluate the results “” Successful 3 Add a product but not enter ID Enter sample data and evaluate the results “” Successful 4 Delete a product Click on the row admin want to delete “” Successful 5 Enter the same ID Enter sample data and evaluate the results “” Notification invalid ID Figure 10 Test plan

2. Test log

Tes t What is being tested How Test data used Expected Results Date Actual result Action taken 1 Upload data on a table Click in Load File button “” Successful 16/4/2023 None

Screenshots of running program Figure 12 Smartphone management In my assignment I was created a basic program to manage smartphone, In there I was created some button with important function such as:  Load File function will upload all smartphone detail I was enter before.  Delete function will delete a row I want, after delete it’s will alter for me data deleted successful.  Save function will save all data I just enter in each row , after I click Save the information of each row will empty, I can continue enter new information if I want.  Import function will import data I want in other file, this file look like storage and it’s can contains all information.

 Search function will help users and admin found name or ID of product easier ,if users or admin enter correctly product’s name, product’s ID want to search. Save product: Figure 13 Save function  When I click Save a new data will appear on the table data, old detail of each row I was enter will disappear. However, I don’t click Load File so all detail will not shows. Import product:

Figure 15 Product after import to the table  After I click Import function, now final smartphone is Nokia A7, and a row was added, total 9 row. Delete Before Figure 16 Product before delete to the table  Before I click Delete function, there are 10 row and the last smartphone’s name is Oppo A3 with number of ID is

After

Figure 17 Product after delete on the table  After I click Delete function, now table data just has 9 row, the final data row contains data of Oppo A3 with number of ID is 10 deleted, and program alter Deleted successfully. Search Before