word dictionary - software development project 1

17
1 Presentation on

Upload: tasnim-ara-islam

Post on 07-Feb-2017

105 views

Category:

Engineering


4 download

TRANSCRIPT

Page 1: Word Dictionary - Software Development Project 1

1

Presentation on

Page 2: Word Dictionary - Software Development Project 1

2

Page 3: Word Dictionary - Software Development Project 1

3

IntroductionObjectivesProject requirementsBenefitsCode conceptHow to useLimitationsFuture planConclusion

Page 4: Word Dictionary - Software Development Project 1

Today, As a novice software developer, we are going to present our first software development project before you. We designed a Word Dictionary. Java development kit has been used for our project since it is interpreted and dynamic. Java is related to C++, so we have had some advantages. While studying and working in different levels, we frequently come across inconveniences with Engineering vocabulary. So, we thought of designing a software which is user friendly and flexible. Our Dictionary serves this purpose. We have finished here, but our vision is to expand this project further.

4

Page 5: Word Dictionary - Software Development Project 1

5

Being a pure object oriented programming language, JAVA is reliable. Hence, it is advantageous to develop a software in JAVA. While developing the project we aimed:

To make interface and graphics based program using the facilities of Swing components.

To find out the meaning of a complex Engineering related word.

To collect new words in the dictionary. To implement the program using two basic features of

programming; those are File and String operation.

Page 6: Word Dictionary - Software Development Project 1

6

Platform: Java development tool-SDK 1.6 IDE: Eclipse For building GUI: We have used Swing components and with the resources of Javax.swing package we developed our interface in a better way. For reading a word from file : We utilized java.io package which provides its reading facilities.For the expansion of our project which we will describe later. JDBC and java.sql package can be used.

Page 7: Word Dictionary - Software Development Project 1

7

Easy to find out the meaning of a word. To make the program flexible, there are options to add new

words and their meanings. Very simple and easy to handle for the user. To introduce a well GUI based interface.

Page 8: Word Dictionary - Software Development Project 1

8

Code ConceptCode Concept At first, we have created a jframe which contains two

buttons and the actions are perform as to search and add a word.

Then, we used the inner separate frames - each of which contains text fields according to their functions.

For writing, we have used bufferwriter and filewriter method.

For reading, we have used scanner method.

Page 9: Word Dictionary - Software Development Project 1

We have used line by line checking procedure. For each input there will be a unique output line. While adding a word, if the output is more than one line and as it is saved in the output file then the input and output will mismatch. To handle this, we have replaced new line by “~” in our code.

9

Page 10: Word Dictionary - Software Development Project 1

10

Page 11: Word Dictionary - Software Development Project 1

11

At the very beginning a window will appear for the user to choose option of search word and add word.

Page 12: Word Dictionary - Software Development Project 1

12

Interface for searching word

If user chooses the “Search Word” button the following interface will appear.

Page 13: Word Dictionary - Software Development Project 1

13

Interface for adding word

If user chooses the “Add Word” button, the following interface will appear.

Page 14: Word Dictionary - Software Development Project 1

14

LimitationsLimitations

Though it is very simple for the user to handle, it has some limitations as well.

Here, we have used two text files for the word rooms as aforementioned - the Input text file and the Output text file. As a result, the searching method decreases the time efficiency of the software, frustrating the major development purpose of a software.

Page 15: Word Dictionary - Software Development Project 1

Considering it as our first software development project, this is merely a word dictionary. But our plan is :

To expand this project as a data dictionary, the data containing quality will be made brilliantly by using database which employs the procedure data modeling.To meet present day’s requirements, it is more effective in mobile, known as J2ME where the system stores the dictionary data with the application in the .jar file.Obviously the system demands fast searching code.To evaluate the same project in one text file for input and output for increasing time efficiency.To update our software as possible as we can.

15

Page 16: Word Dictionary - Software Development Project 1

16

Basically, we worked out with some string operations. For code simplicity, we have used two text file which decrease the time efficiency. By minimizing the limitations, an integrated code might evolve which might be proven really useful for the users and make our endeavour a meaningful one.

Page 17: Word Dictionary - Software Development Project 1

17