1 Project 7: Ticket_Booth_0 Using XML. 2 Ticket Booth 0 Base Level 0 of the real Ticket Booth program. Gets information for a single venue from an XML.

Slides:



Advertisements
Similar presentations
MUC Coursework 2011 Android Project. App description Create a life-logging app –use the phone as sensor to capture human experiences –create a digital.
Advertisements

1 Project 6: Tic Tac Toe. 2 Tic Tac Toe A Challange Project 10 Points extra credit on final grade OK to work in groups of 2 or 3.
Part 2 Biophysics 101 Jon Radoff, TF Teaching materials by Ivan Ovcharenko
MiniProject.1 Mini-project ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. March 28a, 2007.
Ceng 476 Projects Projects Project TitleProject No.# Groups#Persons/Group Migros Şok Market12 2 PTT222 Cafeteria Students Section322 Cafeteria Staff.
WordPress.com Portfolio Sites! IETTP Final Lab Assignment.
Creating a Portfolio folder Learning Technologies UWB.
1 Project 6: Cats in Tree. 2 Project 3: Cats in Tree In this project you will Create a class definition for a Cat class. Populate a BST with Cat information.
1 Project 7: Huffman Code. 2 Extend the most recent version of the Huffman Code program to include decode information in the binary output file and use.
1 Project 5: Median. 2 The median of a collection of numbers is the member for which there are an equal number less than or equal and greater than or.
1 Project 7: My Photo Album Graded Project. 2 Assignment Write a web app to permit users to upload and view photos. User can keep up to five photos on.
1 Project 4: XML Product Browser (Not Graded). Objectives This project is an exercise of the following knowledge and skills: Accessing and displaying.
CSC 142 B 1 CSC 142 Java objects: a first view [Reading: chapters 1 & 2]
Very Brief Introduction to Java I/O with Buffered Reader and Buffered Writer.
1 Project 4: Vehicle Inventory. 2 Write a program to read a text file containing information about vehicles and output the information First in the order.
1 Using XML. 2 The Ticket Booth System We need a way to retain information between program runs. In real life, we would probably use a database system.
Practice and Evaluation. Practice Develop a java class called: SumCalculator.java which computes a sum of all integer from 1 to 100 and displays the result.
EXAM-2 OVERVIEW Aliya Farheen
1 Project 3: Chomp (Not graded). 2 Project 3 The game of Chomp was described in a Math Trek column in Science News:
1 Project 5: New Venue. 2 New Venue Based on the posted New Venue scenario 077_Ticket_Booth_Scenarios.pdf.
1 Project 7: Northwind Traders Order Entry. 2 Northwind Order Entry Extend the Select Customer program from Project 6 to permit the user to enter orders.
11 Project 2 Temperature Conversion (Not graded).
11 Project 2 Towers of Hanoi. 22 Towers of Hanoi is a well known puzzle that can be very difficult to solve manually but can be programmed very easily.
1 Project 5: Printing Address Labels. 2 Assignment Write a Windows forms program to display and print a set of address labels. Input from a csv file.
Ticket Booth Base Level 3 1. In the completed program, the ticket seller will: Select a venue from a menu of all venues. Select a show from a menu of.
1 Project 3 The Kumquat Society Conference. 2 Conference Registration In this project you will write a program to handle a conference registration. The.
Project 3: Ticket Printer
1 Project 2: Using Variables and Expressions. 222 Project 2 Overview For this project you will work with three programs Circle Paint Ideal_Weight What.
1 Project 3 String Methods. Project 3: String Methods Write a program to do the following string manipulations: Prompt the user to enter a phrase and.
1 Project 1: Tickets. 2 Class Ticket Write a definition for class Ticket. A Ticket object corresponds to a physical ticket for a stage show. Attributes.
Homework 1 (due:April 10th) Deadline : April 10th 11:59pm Where to submit? eClass 과제방 ( How to submit? Create a folder. The name.
1 Project 2: Sorting Cats. Write a C++ console application to read a text file containing information about cats and output the information to the screen.
1 Project 4 Address Lookup. Project 4 Write an ASP.NET app that permits users to retrieve addresses from a potentially large list of addresses. There.
1 Project 3: Farey Sequences. 2 Farey Sequences Further details about Farey sequences, and more examples, can be found in the Wikipedia article:
1 Project 7: Looping. Project 7 For this project you will produce two Java programs. The requirements for each program will be described separately on.
11 Project 2 Temperature Conversion. 22 Project 2: Temperature Conversion Write an ASP.NET Web Forms app to convert temperatures from Fahrenheit to Celsius.
URL Encoding When data is entered on a Web page form, it must be encoded before it can be passed to some program for processing. Each element on the form.
1 Project 5: Leap Years. 222 Leap Years Write a program that reads an integer value from the user representing a year and determines if the year is a.
1 Project 4: Computing Distance. 222 Computing Distance Write a program to compute the distance between two points. Recall that the distance between the.
1 Project 4: Palindrome Detector. 2 Assignment Write a C++ program that reads a line of text from the keyboard and reports to the user whether the text.
Project 1 Data Communication Spring 2010, ICE Stephen Kim, Ph.D.
1 Project 4: Venue Sort. 2 This project is an exercise in Using C++ strings. Operator overloading. Text File Input.
Homework #4: Operator Overloading and Strings By J. H. Wang May 22, 2015.
1 Implementing Ticket Printer. Download project from last class Downloads/2016_02_12_In_Class/
1 Project 5 Eyeglass Rx User Control. Eyeglass Rx Earlier in the semester we looked at an eyeglass prescription as an example of an HTML table. 2.
1 Project 15: Animals Using Derived Classes and Inheritance.
Using XML. The Ticket Booth System We need a way to retain information between program runs. In real life, we would probably use a database system for.
1 Using an XML Parser. 2 Objective You will be able to use a publically available open source parser to convert an XML file into an internal data structure.
Homework 1 (due:April 13th) Deadline : April 13th 11:59pm Where to submit? eClass 과제방 ( How to submit? Create a folder. The name.
1 Project 6: New Venue. 2 New Venue Based on the posted New Venue scenario
1 Project 8: Tic Tac Toe. 2 Assignment Write an HTML and JavaScript page that pemits users to play Tic Tac Toe. Both players use a single browser. Alternating.
1 Project 12: Cars from File. This is an extension of Project 11, Car Class You may use the posted solution for Project 11 as a starting point for this.
1 Project 6: Northwind Orders. 2 The Northwind Traders Database The Northwind Traders database was created by Microsoft for training and demonstration.
PRG 410 Competitive Success-- snaptutorial.com
PRG 410 Education for Service-- snaptutorial.com
PRG 410 Teaching Effectively-- snaptutorial.com
MIS 3200 – Unit 4 Complex Conditional Statements else if switch.
Conditions and Ifs BIS1523 – Lecture 8.
In Class Programming BIS1523 – Lecture 11.
Programming in JavaScript
Implementation of ICT-related solutions
Programming in JavaScript
Following these steps, you can output your record to your wiki quickly
CIS 4328 – Senior Project 2 And CEN Engineering of Software 2
Java objects: a first view
Homework 2 (due:May 15th) Deadline : May 15th 11:59pm
Running a Java Program using Blue Jay.
Homework 2 (due:May 13th) Deadline : May 11th 11:59pm
Chapter5: Synchronous Sequential Logic – Part 3
HCF & LCM – Prime Factorisation – Messenger!
Presentation transcript:

1 Project 7: Ticket_Booth_0 Using XML

2 Ticket Booth 0 Base Level 0 of the real Ticket Booth program. Gets information for a single venue from an XML file. Instantiates a venue object. See class diagram on a later slide. Displays results by calling the venue object's Display method.

3 Reuse Code Reuse classes from the previous projects as appropriate. You will need to modify some of them. Each class should have a Display method. OK to use code from posted solutions. Reuse code from the class example, Test_Venue. tinyxml should be used unchanged. Modify boundary class Venue_from_Xml to meet the requirements of this project. Instantiate objects rather than just displaying information. Delete outputs when program is working

4 Program Specifications Program should use C++ strings rather than C strings. Seat should be a class. A seat knows its row name, its seat number, and its section name. Knows how to display itself.

Class Venue A Venue has a collection of Seat_Rows and a collection of Sections. Each Seat object will be in one Seat_Row and one Section 5

6 Class Seat_Row A Seat_Row object should have a collection of Seat objects. Don't assume numbers are consecutive. Class Seat_Row will need an Add_Seat method. Initialize Seat_Row with no seats. Maximum of 1000 seats in a row. Class Seat_Row should have a Display method.

7 Class Section A Section object should have a collection of Seat objects. Don't assume numbers are consecutive. Don't assume all seats are in the same row. Class Section will need an Add_Seat method. Initialize Section with no seats. Maximum of 1000 seats in a row. Class Section should have a Display method.

8 Class Diagram

9 Sample Input File Downloads/2016_03_01_XML/Venue.xml Don't hard code information about the venue. Other than maximum values. Everything that the program knows about the venue (beyond what is shown in the class diagram) should come from the XML file. The program should work with any valid XML file of this form.

10 Expected Output Output from Display method of Venue object.

11 Expected Output (continued)

Ground Rules This is a team project. Discuss the requirements. Divide up the work. Report back and discuss your results. Record notes from your team meetings. Distribute to all team members. Submit in Canvas. 12

13 Ground Rules Do not share your work with other students outside your team. Before or after submitting the project. OK to discuss the project. Do not copy any other student’s work. Don’t look at anyone else’s program. Don’t let anyone look at your program.

14 Ground Rules Except for code posted on the class web site Do not copy code from the Internet or any other source. Write your own code.

15 Submission Assignment is due by 11:59 PM, Thursday, April 7. Deliverables: Notes from team meetings. Source code for the program. Zipped project folder Put the zipped project folder and all other files into a folder and zip that folder for submission. Submit a single.zip file. Use the Canvas Assignment to submit your work. Only one submssion per team. The team leader should do the submission. Identify the team and members in a Canvas comment.