服务承诺
资金托管
原创保证
实力保障
24小时客服
使命必达
51Due提供Essay,Paper,Report,Assignment等学科作业的代写与辅导,同时涵盖Personal Statement,转学申请等留学文书代写。
51Due将让你达成学业目标
51Due将让你达成学业目标
51Due将让你达成学业目标
51Due将让你达成学业目标私人订制你的未来职场 世界名企,高端行业岗位等 在新的起点上实现更高水平的发展
积累工作经验
多元化文化交流
专业实操技能
建立人际资源圈Airasia
2013-11-13 来源: 类别: 更多范文
Task 1
1.1 Start, pause and stop program execution
For designing a system, we need to run the system to make sure if the system have error code or debug or not. So that, on this matter, for designing a system, we need to have program execution such as start, pause, and stop. According to the (Dictionary Reference) start will define as to begin an activity or a movement or to set out on something. So, to make sure my coding has any error or not, I execute it with start system. Pause is a temporary stop or rest in an intermission of action, so that, if I click the pause button, the system will disappear until I click the system start back for run the system. According to (The Free Dictionary) the meaning ofstop are to prevent someone from doing something, orto prevent something from happening, on this system, if I click the start the button for run the system, n for close the system, I will click the stop button which is in right position on picture below.
Picture 1 The Examples of Start in left of the picture, pause in the middle, and stop in the right position.
1.2 Use the standard control tools to create the user interface.
Picture 3 The Tools that I used to create the interface system.
There are many type of tools to create the interface design such as, pointer, label, frame, checkbox, combo box, horizontal scroll bar, timer, folder list box, shape, image, OLE, picture box, text box, command button, option button, list box, vertical scroll bar, drive list box, folder list box, line and data. On this system, many tools that I already used, such as picture box, pointer, text box, combo box, option button, command button, frame, and image. For every tool, there is having their own functions to make sure interface run properly. For the example will show on the picture below.
On that picture, I used label to draws a box that can display text and let the designer type in the text, besides, I also used the command button to draw a command button.
On this interface, I used the image to output the image that I set on the properties.
This interface there are another tools that I used different compare to another form which is, frame, combo box, option button, check box and picture box. The function of frame is to build two or more objects together, for the combo box; it will give choice to select anyone of the list given. The function of option button is to give the user any choice to used, which is anyone on the list given. Different with the check box which is give the user chance to choose more than 1 on the list given. And the last one is picture box which is the total amount that will appear.
1.3 Set properties of forms and controls at the design time.
This log book given is shown on how to set the properties according to its functions to make an interface for every tool.
Object | Property | Setting |
frmpackage | NameCaption | |
Frame 1 | Caption | |
chkbathroom | NameCaption | |
optmember | NameCaption | |
label | NameCaption | |
txtname | Name | |
cbocourse | NameList | |
cmdcalculate | NameCaption | |
For the label properties, the main thing that need to change are the”name” which is the prefix for the label are “lbl, so that for the examples, if I want to make the label for the student name so that the “name“of the properties will be “lblstudentname”. For the “name” on the properties, it can’t be any space. For the tool such as frame, the prefix that should change on the “name” on the properties is “fra” and for “caption”, we can put any name that suitable for the frame. Same goes to checkbox, the prefix for “name” are “chk”. So that, if I want to make checkbox for bathroom, it will be “chkbathroom”. Other is, option button which are the properties on the “name” are “opt” and for every “name” should have their own caption. The caption name, the user can put any kind of name that suitable with the subject. The last one is text box which is the prefix for the text box is “txt”. For the caption on the text box, the user can make it as empty, or no caption on that label properties. For the combo box, the prefix that used in the properties is “cbo”. In the examples above, the name of combo box are “cbocourse” for declare the course of user. Also combo box, have list to that the user can choose which kind of the course of user. And the last one are command button which is the prefix for the command button are “cmd”. As shown in the log book above, the examples of command button for calculate the packages are “cmdcalculate” and the caption is “Calculate”.
1.4 Create menus and implement menu functionality.
This log book given is shown on how to set the properties according to its functions to make an interface for every tool. The properties are according to command button and menu editor that already used.
Object | Procedure | Action |
cmdCalculatecmdPrintcmdclear | Click the button | |
mnuFileExitmnuFileHomemnuTheme (Light Pink, Light Purple, and Defult Theme) | Click the button | |
For the functional of “cmd button”, when we were click on the calculate button, then it will appear and determine the total amount of package that user already choose in checked box and option button. For the examples of exit button, it will exit the project and to open it, we need to start the system again clear button will be clear the entire user select on the project. And also can be user can print the project if exist the print button.
On the menu editors, if we click the exit button, it goes same as exit button on the project which is will exit the entire of project. If we click on the “home” button, then it will call n connect to the home forms. For the theme button, it will give the user choice to choose what kind of theme that they want used on the project. If they don’t like the theme, the user will make the project as default theme.
So how to create the menu editors are, we need to click the tools and find the menu editors such as on the picture below.
Then, after click the menu editors; it will appear the menu editor box which is we can create the button in the interface.
For the caption properties, it holds the words that the user want to appear on the project screen. Then we need to use the specific key on the caption properties to make sure the screen was appearing success. The specific keys are “&”. For the examples to crate File, we should put “&File” on caption properties. For name on the properties, that indicates the name of the menu control, similar to the Name property as in other controls, and it also have specific keys which is the user must put “mnu”. For the examples of create file, we should put “mnuFile” on name properties. When we double click to the button menu editors on the interface we can out the coding. For the examples, coding for button exit on the menu editors, double click on that and put the coding “End”
This is another examples of coding of menu editors which I want call another project which is home project.
1.5 Test and debug the program. Keep screen shots as evidence. If your are to make any changes to your program to ensure that it works more efficiently, write what are the changes and how it will improve the functionally of the program.
To create the project, I had many error that according to “else without if” or “block if without end if”. They are many type of error which is compile error, run-time error, logic error and debug. Run-time error occur when the statement fail to execute like divide by zero or square root by negative number. Compile error happened when the user used the illegal object or property such as “if without end if” or some spelling mistake such as “Unchecked to Unchcked”. Logic error occurs when the user run the system but it produces some incorrect results and the last one are debugging is a debug of unexpected character in the coding.
To check if the coding has an error or not, I choose one of the forms to run such as the “LogIn” form.
Then, I try to put the input on the text box. The input is ID No and password of the user. When the key in data were success, I determined that, the password and ID No are incorrect while I already set the right password and ID No. This is the examples of the error.
On this error, I determined that I’m not finishing the coding which is I need to close the “If” with “End If”.
Another error is compile error such as on the picture below.
On this matter, I forgot to fill the character which is on the on the red text, before “please” word, I need to put character ( “ ) for the statement.
1.6 Access and set the properties of controls from code.
To make sure the interface and this project look more colorful and the user can’t get bored, I make some creativity which is setting in the properties about the font, back color and theme on the menu editor. The user also can used some coding in visual basic to create the theme color. In order to set the properties by using the coding in the interface of system, I should add button to make sure the interface are success. For the examples, I used menu editors to change the theme, which is there are tree type of theme that the user can choose.
Then the picture below is the way to create the button by using menu editors.
And this is the coding of the button.
And then, this is the result after run the program.
Different on the properties, I just edit on font size, font, and name. This is for make the interface more attractive. For the examples are on the Log In form, we can that, the title are in different font and size, and the besides of the Log In form, there are properties that I already change.
1.7 Declare and used variables. (This explanation also covered 1.9 which is need to used the data correctly)
When we wrote the coding, we need to declare it and to make declaration of the each command, we need use the right variables for the declarations, for the example one of my interface coding which is the coding to log In and enter the system and one of the command button that I use to make the declaration are “ENTER” button. The “Enter” button are use to user enter the next system if fill the correct ID No and password.
I declare the IdNumber and password as string because, the IdNumber and password are already set on the coding by me and the character are using word only so that it suitable to declare as string. There are below is another declaration on another form.
On this case, I set the total amount, subtotal, discount, memberpackage, and nonmemberpackage as double because all those are price that contains decimals on that such as RM10.50. So that double is most suitable variables to use in the price coding.
1.8 Get and validate data from users.
On this system, the validation that I create will appear and will make the user know that they make any mistake or success on their system. The system that can I make an examples are Log In of KPMSI Gymnasium system which is if the user fill the Id No and password correctly, the message outbox will appear and tell the user about the success of the key in data.
When that the user fill the input with correctly, they can click the “OK” button to go forward another system and if the input are wrong, then the message box will appear and tell the user about the wrong input so that the user will key in the correct data again.
1.10Use control flow statements of selection and iteration.
On this system, I already used the “If – EndIf” statement on the coding in form Package. I used the selection of “If…Then”, “ElseIf, ElseIf.. End If” because I can use many selection that I needed. For the examples are shown on the picture above.
On this matter, I have many selection which is the customer on KPMSI Gymnasium are divide into 2 group which is member an non-member so that I give they are selection because, for the member, I already give 20% off discount and the price of member and non-member are also different. Then, the customer can thick any of the service that KPMSI Gymnasium providing. Which is the service that provide are in the different price. So when the users thick how many service that they want and their membership, the selection will be calculate and if some of the services are not thick, it will not be calculate.
1.11 Create and use procedures and functions.
On this system, there are some interfaces that will be entering by the user to open another form. The interface can be called by the procedure call form that the user want to. For the examples, In the Home page, we want to call the LogIn page so in the other meaning to open another system on to another system. The call procedure is shown as picture below.
This call procedure are to end the system and the other one of the call procedure are to call another interface which is Home page by click at home button that I had set the function. To create the call procedure, I used the menu editors that I make the button on it. This call procedure is very important because it will make user friendly with the system by call another interface or system.
Introduction
On this system, I already create the system for KPMSI Gymnasium at Mara Professional Collage. This system is to let the student of KPMSI to choose any package and service. The user of this system is for the student, lecturer or staff in the KPMSI and I open opportunity to them have the service and the package even they are member or not on that gymnasium. On this system, I also give them the view of the gymnasium facilities. Why I make this system are for make user easier to the user choose the package without complicated to write down on the piece of the paper when they entering the gymnasium.
These systems are will calculate the service when the user choose and also will calculate the price of member n non-member because, for the member, the gymnasium will give the discount. While for the non-member, the prices are little bit expensive and there are no discount given. For every service that listed, there are stated price. So that, if user are member and choose any of service, the gymnasium will give the discount because of the user membership.
Task 2
2.1 Based on the situation, identify problems that exist. Suggest an application to solve the problems.
Based on the system on existing manual KPMSI gym, I noticed that the manual system used rather give trouble to the user and admin itself. As to make the calculation to calculate the amount of service, it is quite complicated and takes a long time to do these calculations. So that, I suggest another system that used computer to input the data and choice from the customer then the service and price for entrance will be execute on the system by using visual basic.
Therefore, I have made a system that can facilitate the use of visual basic system. The advantages on using this system are the system allows users to make quick calculations, and data processing service can be viewed quickly as the user wants. In addition, the system can also make copies so that users can print and keep a copy of the interface they have selected. Copies may be used as evidence for them to take any action if the admin gymnasium KPMSI gave the wrong service.
On this matter, the system also has a disadvantage when only two services can execute so That the admin cannot make a service more to the customer, in addition, this system can only make service selection and see total amount payable by the consumer. This service could not allow the customer could not yet a member sign up for a membership in the gym. in other words, this system lack in providing information to user.
(This explanation also covered question 2.2 which need to analyze the benefits and disadvantages found from the programmed solution to the user.)
2.3 Apply security element and discuss about the security.
According to (Wikipedia) Computer security is a branch of computer technology known as information security as applied to computers and networks. The objective of computer security includes protection of information and property from theft, corruption, or natural disaster, while allowing the information and property to remain accessible and productive to its intended users. The term computer system security means the collective processes and mechanisms by which sensitive and valuable information and services are protected from publication, tampering or collapse by unauthorized activities or untrustworthy individuals and unplanned events respectively. The strategies and methodologies of computer security often differ from most other computer technologies because of its somewhat elusive objective of preventing unwanted computer behavior instead of enabling wanted computer behavior.
On this system, I have been using the system security login where only students, lecturers, and staff at this KPMSI only can open this system. This means that outsiders other than KPMSI residents, they are not able to open the system and use the gym at KPMSI. This security much easier and user friendly and the picture below is an example of the LogIn serviceand the coding that is state in the system.
2.4 Make a package file for the project using package and deployment wizard.
2.5 which is need to install the package to other computer Show the step by step procedure on how to implements the package and installation.
2.6 Explain the use of principles of user interface design applied in the solution to enhance the look of the application.
On this system, I already used the simplicity principles which is define as the design should make simple, common tasks easy, communicating clearly and simply in the user's own language, and providing good shortcuts that are meaningfully related to longer procedures. On the interface, I already used the option button and checked box for user friendly to use it. The picture below are the prove I used the tools that easy to user choose.
The second of principles are feedback principles which are that design should keep users informed of actions or interpretations, changes of state or condition, and errors or exceptions that are relevant and of interest to the user through clear, concise, and unambiguous language familiar to users. The examples of the feedback are appear the message box if some error. For the examples on this LogIn form.
The last one that I used is personalization which is makes the user friendly when they enter the system and there is some option to change the color of the system. It also makes the user change the system background with their selected theme color that they like. The picture below is personalization that I already used on the interface.
Bibliography
Dictionary Reference. (n.d.). Retrieved 9 1, 2012, from The meaning Of Start: http://dictionary.reference.com/browse/start
The Free Dictionary. (n.d.). Retrieved 09 01, 2012, from Stop Meaning: http://www.thefreedictionary.com/stop
Wikipedia. (n.d.). Retrieved 09 11, 2012, from Computer Security: http://en.wikipedia.org/wiki/Computer_security
APPENDICES
Interview

