Vehicle Inventory Database Adolfo Fabrega Steve Go CSE 331 Data Structures December 9, 2002.

Slides:



Advertisements
Similar presentations
Database vocabulary. Data Information entered in a database.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Introduction to Rails.
More on Classes Inheritance and Polymorphism
The University of Texas System STARS Enterprise Asset Manager Training.
AP Computer Science A – Healdsburg High School 1 Unit 3 - Classes and Objects - Example.
Chapter 3: The Enhanced E-R Model
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: The Enhanced E-R Model Modern Database Management 10 th Edition Jeffrey A. Hoffer,
Copyright © 2012 Pearson Education, Inc. Chapter 4 Inheritance and Polymorphism.
LOGO Lecturer: Abdullahi Salad Abdi May 1, Object Oriented Programming in C++
Customizing Reports. Custom Reports A report is a formatted hardcopy of the contents of one or more tables from a database. Although you can format and.
Inheritance and Polymorphism Dr. M.M. van Baal Verdugo Hills High.
Chapter 3 © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 CHAPTER 4: THE ENHANCED E-R MODEL Modern Database Management 11 th Edition Jeffrey.
CSE 1302 Lecture 8 Inheritance Richard Gesick Figures from Deitel, “Visual C#”, Pearson.
Bug Tracking Database Using a Binomial Heap By: Ryan Colahan Nicholas Petrella Nicholas Petrella.
THE OBJECT-ORIENTED DESIGN WORKFLOW Interfaces & Subsystems.
Chapter 2: Algorithm Discovery and Design
Object-Oriented Application Development Using VB.NET 1 Chapter 13 Introduction to Data Access Classes and Persistence.
Beyond Gasoline: Fuel Economy. CAFE Standards Corporate Average Fuel Economy Mileage requirements for new vehicles.
Chapter 4 Linked Structures. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-2 Chapter Objectives Describe the use of references to create.
IS 4420 Database Fundamentals Chapter 4: The Enhanced ER Model and Business Rules Leon Chen.
Chapter 2: Algorithm Discovery and Design
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
How to finance a car So you need a loan…. What is a down payment? This is the amount you already have saved up in cash to pay towards your car.
1. Users can Get Bids on Repair Items, if the repair is coming up in the next 6 months 1. Maintenance Tables (with ZIP) 2. Repair Lists (with ZIP) 3. My.
Automobile Enthusiasts Database System May 7, 2003.
Create Forms Lesson 5. Software Orientation Creating Forms A form is a database object –enter, edit, or display data from a table or query Providing.
Chapter 8: String Manipulation
1 Chapter One A First Program Using C#. 2 Objectives Learn about programming tasks Learn object-oriented programming concepts Learn about the C# programming.
A First Program Using C#
April 2006Confidential and Proprietary1 CarMaster TM SIPP Code Expansion Project Update April 2006.
General Programming Introduction to Computing Science and Programming I.
1 Model Selection Response: Highway MPG Explanatory: 13 explanatory variables Indicator variables for types of car – Sports Car, SUV, Wagon, Minivan There.
Types of vehicles (Typy vozidel) 1. Types of road motor vehicles A road vehicle is a mobile machine that transports passengers or cargo. Road motor vehicles.
Database A database program is a piece of software to organize and sort information. It creates an electronic list of information that can be sorted very.
16-Oct-15 JSP Implicit Objects. 2 JSP Implicit Objects are the Java objects that the JSP Container makes available to developers in each page and developer.
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.
By Your Name For IET Core Class at KHS Period X August 10, 2015.
Stacks. A stack is a data structure that holds a sequence of elements and stores and retrieves items in a last-in first- out manner (LIFO). This means.
Chapter 5: More on the Selection Structure Programming with Microsoft Visual Basic 2005, Third Edition.
Data Structures and Algorithms Lecture 1 Instructor: Quratulain Date: 1 st Sep, 2009.
Microsoft ® Office Excel 2003 Training Using XML in Excel SynAppSys Educational Services presents:
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
>> PHP: Insert Query & Form Processing. Insert Query Step 1: Define Form Variables Step 2: Make DB Connection Step 3: Error Handling Step 4: Define the.
Introductory Exercise My Money, My Business. Step 1  Log-on to your PC  Using the Internet, find a car you would like to own.  The car, truck, or SUV.
Lec 16 Chapter 10 Nov 2, 11 Chapter 10, user interface design examples.
FreightFriend Introduction Carrier Info 1. Navigate to FREIGHT FRIEND Website: First-time, carrier would.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
GROUPING OBJECTS CITS1001. Lecture outline The ArrayList collection Process all items: the for-each loop 2.
10.1Retrieving a Database File – In the last chapter, we have created a database file and several tables for that database. – In order to view and modify.
Chapter 2: Algorithm Discovery and Design Invitation to Computer Science.
Chapter 7 CASE Control Structure © 2008 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. Marilyn Bohl/Maria Rynn Tools for Structured.
New Car Specifications Explained What do all those numbers mean to the car buyer? Automotive Design Mr. Graves.
Inheritance and Polymorphism
Databases.
LECTURE 4: Chapter 4: The Enhanced E-R Model
Advanced Database Analysis
3.2.3 Data types and data structures
Value Added Tax Calculation of VAT Liability – Calculation of Input VAT Non-deductible VAT: VAT on purchase, hire or leasing of passenger motor vehicles.
The OO Solution The OO model closely resembles the problem domain
9/12/2018.
Parts Training 1.
Un</br>able’s MySecretSecrets
The OO Solution The OO model closely resembles the problem domain
Two big words Inheritance Polymorphism
Huge Inventory of Automotive Parts Car, Vans, SUVs, Truck etc. Search Mercedes-Benz Auto Parts Store and Dealer Location Near me. Mercedes-Benz Old Parts.
Structured Types (9-12-2) Structured types allow composite attributes of E-R diagrams to be represented directly. Unnamed row types can also be used in.
Standard Deduction Schedule L.
Cars.
Presentation transcript:

Vehicle Inventory Database Adolfo Fabrega Steve Go CSE 331 Data Structures December 9, 2002

Purpose This database manages different kinds of vehicles. A car dealership may consider this database a tool to keep track of their inventory. This project deals with vehicles such as trucks, sedans, and motorcycles.

Trucks Trucks have certain attributes that differ from sedans and motorcycles. Weight (in tons) a truck can hold. (integer) Area of the bed of the truck. (integer)

Sedans Number of doors. (integer) Amount of passengers it can hold. (integer)

Motorcycle Engine capacity. (integer) Warranty guarantor that is needed for all 2-wheelers. (string)

Commands Import. (I) Add. (A) Browse for and display a vehicle with a particular serial number. (B) Display data for all the vehicles in the database. (D) Search for and remove a vehicle with a particular serial number. (R) Save the list of Vehicles in a named file. (S) Quit. (Q)

Implementation Designed the 3 different classes with their own “display” function. They are implemented in separate files with appropriate inclusions of headers. Reading in data proved to be the difficult part because there are many different kinds of vehicles (w/ different attributes) to be read in.

Pseudo-Code of Read In Vehicle *v //pointer while (!eof(input_file)) { Read the type indicator from the file if (type indicator says “TRUCK”) { read in all data for truck v = Truck } else if (type indicator says “SEDAN”) { read in all data for a sedan

Pseudo-Code (con’t) v = Sedan } else if (type indicator says “MOTORCYCLE”) { read in all data for a motorcycle v = Motorcyles } else error in type indicator database.add_vehicle(v);

In the Future... This database could be extended by adding more different types of vehicles such as vans, minivans, SUVs, etc… Can design a more elaborate and intricate GUI for the database w/ more attributes.