Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Application Programming IST 256 Application Programming for Information Systems Xiaozhong Liu https://xliu12.mysite.syr.edu/

Similar presentations


Presentation on theme: "Introduction to Application Programming IST 256 Application Programming for Information Systems Xiaozhong Liu https://xliu12.mysite.syr.edu/"— Presentation transcript:

1 Introduction to Application Programming IST 256 Application Programming for Information Systems Xiaozhong Liu https://xliu12.mysite.syr.edu/

2 Student… public class student { private String First_name; private String Last_name; private int SUID; public String getName () { return First_name + " " + Last_name; } public int getSUID () { return SUID; }

3 Graduate Student… public class Graduate_student { private String First_name; private String Last_name; private int SUID; private String Advisor; private String Research_area; public String getName () { return First_name + " " + Last_name; } public int getSUID () { return SUID; } public int getResearchArea () { return Research_area; }

4 Relationship between classes… Inheritance, Polymorphism

5 Relationship between classes… public class Undergrad_student extends student { private String Major; public String getMajor () { return Major; } public abstract class student { protected String First_name; protected String Last_name; protected int SUID; public String getName () { return First_name + " " + Last_name; } public int getSUID () { return SUID; }

6 Relationship between classes… Manager Part_time Salesman Full_time Employee CEO

7

8 Final project (2-3 people team) Data Lead: Collect or make-up data for the file and design the file format UI Lead: Design and create the form for the user interface Lead Programmer: Write and debug the code Testing Lead: Test the code and user interface Documentation Lead: Write/check code documentation. Write the problem statement and report Everyone should understand the code very well, prepare for questions!!

9 You need…  Reading data from the file and storing into an array, whose elements are objects of a class  designed to fit the data  Searching the data, based on a user request  Sorting data  Multiple classes  Significant methods in the classes (not just accessor or display functions)  Additional Form Elements besides the ones we’ve already done  Using multiple forms for the user interface  Writing data to a file  (you may propose alternatives)

10 Example 1: Query log [Query string], [frequency] vietnam,12 myspace.co,27 myspace.com,1505 googl,13 files,14 jet blue airlines,12 verizon wireless,112 What are the most popular queries? Search the most popular queries? Extract search, fuzzy search… Sorting… Group similar queries? Friendly GUI User oriented search function

11 Example 2: Playlist [Name],[Artist],[Album],[Genre],[Year],[Number of play] Take it easy,Eagles,Eagles,Rock,1972,38 On Fire,Eminem,Recovery,Hip Hop,2010,18 How to generate (recommended) playlist by using [number of play], [favorite genre (mix)], [favorite artist (mix)], [favorite albums]? You propose your own rules. Show the most popular music, genre and artist by using sorting and searching… Write to playlist files… Friendly GUI User oriented search function

12 You are encouraged to use your own data!


Download ppt "Introduction to Application Programming IST 256 Application Programming for Information Systems Xiaozhong Liu https://xliu12.mysite.syr.edu/"

Similar presentations


Ads by Google