subject: computer programmingdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. ·...

11
ASSESSMENT COVER SHEET FOR Subject: COMPUTER PROGRAMMING Subject Code:BMM1312 TYPE OF COURSEWORK: PROJECT REPORT LECTURER: UMMU KULTHUM BINTI JAMALUDIN TITLE: GGPAD (ANDRIOD APP INVENTING) DUE DATE: 14 TH WEEK SUBMISSION DATE: 22/05/2014 SECTION: 03&03A LECTURER’S SIGNATURE: Student’s Statement: I/we acknowledge that the plagiarism* is prohibited in academia, This assignment is original and has not previously submitted as part of another subject, I/we have taken proper care of safeguarding this work and made all reasonable effort to ensure it could not be copied, I/we acknowledge that the assessor of this assignment may for the purposes of assessment, reproduce the assignment and: Provide to another member of faculty; and/or Communicate it to the university’s plagiarism checking service (which may then retain a copy of the assignment on its database for the purpose of future plagiarism checking), I/we understand the consequences for engaging in plagiarism, such as deduction in mark, I/we certify that I/we have not plagiarised the work of others. Name Matric Number KEE LI VOON MG12026 MUHAMMAD HANAFI BIN YUSOF MA11118 *Plagiarism: Plagiarism means to take and use another person’s ideas and or manner of expressing them and to pass these off as one’s own by failing to give appropriate acknowledgement. This includes material from any source, staff, students or the Internet – published and unpublished works.

Upload: others

Post on 24-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

ASSESSMENT COVER SHEET FOR

Subject: COMPUTER PROGRAMMING Subject Code:BMM1312

TYPE OF

COURSEWORK: PROJECT REPORT

LECTURER: UMMU KULTHUM BINTI JAMALUDIN

TITLE:

GGPAD (ANDRIOD APP INVENTING) DUE DATE: 14TH WEEK SUBMISSION DATE: 22/05/2014

SECTION: 03&03A LECTURER’S SIGNATURE:

Student’s Statement: • I/we acknowledge that the plagiarism* is prohibited in academia, • This assignment is original and has not previously submitted as part of another subject, • I/we have taken proper care of safeguarding this work and made all reasonable effort to ensure it could not be copied, • I/we acknowledge that the assessor of this assignment may for the purposes of assessment, reproduce the assignment and:

• Provide to another member of faculty; and/or • Communicate it to the university’s plagiarism checking service (which may then retain a copy of the assignment

on its database for the purpose of future plagiarism checking), • I/we understand the consequences for engaging in plagiarism, such as deduction in mark, • I/we certify that I/we have not plagiarised the work of others.

Name Matric Number

KEE LI VOON MG12026

MUHAMMAD HANAFI BIN YUSOF MA11118 *Plagiarism: Plagiarism means to take and use another person’s ideas and or manner of expressing them and to pass these off as one’s own by failing to give appropriate acknowledgement. This includes material from any source, staff, students or the Internet – published and unpublished works.

Page 2: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

INTRODUCTION

OVERVIEW

University Malaysia Pahang’s (UMP) students from Faculty of Mechanical are

studying Computer Programming as faculty subject.

Computer Programming is a useful skill for engineer nowadays. This is because

works or any design can be easily done by computerized system when there is a complex

calculation and manufacturing process. For example, in the laboratory of the research and

development centre will equip with the advance computer program to obtain an accurate

and precise measurement and calculation to gain success in their invention and

innovation. For the venture of the smart phone in recent years, the population not only

the young generation, have changed their old handphones with keypad with the smart

phone and almost everyone has it. Thus, the computer programming is involved in the

smart phone systems and helped the people to make everything easier and there is no

limitation of the application by using the phone. Computer programming is used in the

design of the application such as Andriod Apps.

PROBLEM’S STATEMENT

We are given a project from our Computer Programming lecturer, Dr. UMMU

KULTHUM BINTI JAMALUDIN to invent an application for Android smart phone to facilitate

the certain task of the daily usage.

PROBLEM ‘S INDENTIFICATION

The application that we choose for this project must be fulfilled the requirement of the

project given and aim to make the tasks easier and convenient to organize by the users. It has to

get use of the computer programming skill that we learn in the class and apply in the design of

the Andriod Application.

Regarding to the title or form of the application, we discussed and suggested a few of

applications to be designed. To make sure the application is user-friendly, we made a survey

within our friends. They were willing to use an application that can help them with a recorder or

Page 3: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

notebook to write down the events in the academic and also daily life. After collecting the

opinion of the suitable application, we have decided to design an application in note-taking form.

The name of this application is GGPAD (Go Green Pad) as it can reduces the usage of the paper

to save the resources of the Earth.

OBJECTIVES

For any project, the objective is the main element that must have. Therefore, in this

project, I aim to design the suitable application that can make the user’s daily task more

convenient.

The other objective is to focus on the understanding the usage of the computer

programming in the real life such as inventing an application for smart phones. Moreover, we

can learn and get the chance to explore the Andriod App Inventor for a very first time.

SCOPE

The main scope in this project is using the Andriod AppInventor. Online resources and

Powerpoint documents are the sources which provided important information for this research.

Since the online access is very convenient, I am searching and studying the application’s

inventing tutorial that specialized for the Andriod App. Besides that, I find the examples of the

similar application such as application named as Note Taker as a guideline to complete my

project.

MAIN REPORT

Flowchart

Page 4: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

No

Yes

Yes

Yes

No

No

Type the

detail of the

event.

Add the detail of the

event

Save

Item ?

Display it in

a list

The event is

saved!

End

Start

Pick an

event

Delete

Item?

Continue

Adding?

Page 5: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

Design

When the app is open, the user will enter the events into the textbox. When it is done, the

user will choose to save the text or reedit again without pressing the save button. The application

saved the text according to the timeline and displayed in a list for the user to monitor their tasks

easily. This application allows the user to remove the items and able to select the desired items

from the display list. After removing, it displays only the existed texts. If the user chooses to

continue adding the events, the user can type another event in the textbox. The application can

ends with pressing the return buttons only.

RESULT

Page 6: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

DISCUSSION

In the block editor, there has some computer programming concepts which has being taught by

the lecturer in the Computer Programming course. The following concepts used are shown below:

I used the Appinventor block editors to apply some standard set of blocks as follows:

Definition blocks-These blocks are used to define some variable at any time to make

some of the procedural calls, etc.This will be the same concept with the declaration of the

variables in the c programming. And it also can call the functions that stated before to

complete the program.

Text blocks-These blocks are used to perform different set of operations related to text

like compare, split, convert to uppercase or lowercase, etc.The textbox allows the user to

put the input in form of text by themselves, same as scanf().

List Blocks-These blocks are used to perform list operations like making a list, selecting

a list item, inserting into a list, deletion from a list, etc.The list blocks as a list maker, the

will functions to arrange the print out item into a list. For similarity, arrays are used to

store the previous values and display it when we need to. It can print() the results.

Logic Blocks-These blocks are used to perform logical operations like and or and not.The

c programming is also based on complex logic. It performs logically to print out the

accurate outputs.

Control Blocks-These blocks are used to perform operations like if-else,

condition, foreach, range, etc.We can control the output of the program when launching,

it is same concept with the selective statements such as if, if else if, if else and switch.

CONCLUSION

After the project is completed, we have learnt the way and process to develop a mobile

application. We used to download it from the ready marketed applications from the PlayStore

and installed it in the smart phones without thinking about how it is been developed, we might

think that we don’t have the chance or the intelligence to develop the applications like they did.

The App Inventor from MIT really helped us to broaden our minds, we can develop the

applications by ourselves when we don’t really have to go specific lessons. With the tutorial and

hard work to do the trial and error, we managed to produce our application, it might look simple

but it needs the effort to program it. It is an interesting experience and what technology can do is

unlimited.

Page 7: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

APPENDIX/SOURCE CODE

Page 8: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty
Page 9: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty
Page 10: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty
Page 11: Subject: COMPUTER PROGRAMMINGdocshare04.docshare.tips/files/24626/246260760.pdf · 2017. 2. 16. · INTRODUCTION OVERVIEW University Malaysia Pahang’s (UMP) students from Faculty

REFERENCE

1) http://appinventor.mit.edu/explore/

2) http://beta.appinventor.mit.edu/