CS499 Project #3 XML mySQL Test Generation Members Erica Wade Kevin Hardison Sameer Patwa Yi Lu.

Slides:



Advertisements
Similar presentations
CS499 – Test Generation Project – Internal Docs This PowerPoint file is available at
Advertisements

COMP 3715 Spring 05. Working with data in a DBMS Any database system must allow user to  Define data Relations Attributes Constraints  Manipulate data.
SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
Chapter 12 Information Systems Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
CS 104 Introduction to Computer Science and Graphics Problems Introduction to Database (2) Basic SQL 12/05/2008 Yang Song.
Chapter 12 Information Systems Nell Dale John Lewis.
5 Chapter 5 Structured Query Language (SQL1) Revision.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Databases and LINQ Visual Basic 2010 How to Program 1.
Project Implementation for COSC 5050 Distributed Database Applications Lab2.
CHAPTER 7 Database: SQL, MySQL. Topics  Introduction  Relational Database Model  Relational Database Overview: Books.mdb Database  SQL (Structured.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
1 Translating E/R Diagrams into Relational Schemas.
Introduction to Accounting Information Systems
Database Technical Session By: Prof. Adarsh Patel.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Exploring Microsoft Access Chapter 4 Relational Databases, External Data, Charts, and the Switchboard.
Chapter 12 Information Systems. 2 Managing Information Information system Software that helps the user organize and analyze data Electronic spreadsheets.
ABC Insurance Co. Paul Barry Steve Randolph Jing Zhou CSC8490 Database Systems & File Management Dr. Goelman Villanova University August 2, 2004.
Database Fred Durao What is a database? A database is any organized collection of data. Some examples of databases you may encounter in.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 11-1 David M. Kroenke’s Chapter Eleven: Managing Databases with SQL Server.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
SQL Basics. 5/27/2016Chapter 32 of 19 Naming SQL commands are NOT case sensitive SQL commands are NOT case sensitive But user identifier names ARE case.
FEN Introduction to the database field:  The Relational Model Seminar: Introduction to relational databases.
CS 1308 Computer Literacy and the Internet
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
DBSQL 5-1 Copyright © Genetic Computer School 2009 Chapter 5 Structured Query Language.
Visual Programing SQL Overview Section 1.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
CMPT 258 Database Systems Midterm Review. Regarding the Exam Oct 15 Thursday Close book Cheat sheet (1 side of an A4 paper)
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
CSCI 3328 Object Oriented Programming in C# Chapter 12: Databases and LINQ – Exercises 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
Chapter 3: Relational Databases
April 2002 Information Systems Design John Ogden & John Wordsworth 1 Database Design SQL (1) John Wordsworth Department of Computer Science The University.
Working with MySQL A290/A590, Fall /07/2014.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
FEN Introduction to the database field: The development process Seminar: Introduction to relational databases Development process: Analyse.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. A database is a collection of information organized to provide efficient retrieval. The collected information.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
SELECT, IMPLEMENT & USE TODAY’S ADVANCED BUSINESS SYSTEMS
Creating a database table
Chapter 12 Information Systems.
CS1222 Using Relational Databases and SQL
CIS 336 str Competitive Success/snaptutorial.com
CIS 336 Competitive Success/snaptutorial.com
CIS 336 PAPERS Education Your Life-- cis336papers.com.
CIS 336 str Education for Service- -snaptutorial.com.
CIS 336 Education for Service-- snaptutorial.com.
CIS 336 Teaching Effectively-- snaptutorial.com
CIS 336 str Teaching Effectively-- snaptutorial.com.
CIS 336 PAPERS Education for Service-- cis336papers.com.
KevinHardison YiLu SameerPatwa EricaWade
Structured Query Language
CS1222 Using Relational Databases and SQL
CS1222 Using Relational Databases and SQL
CS1222 Using Relational Databases and SQL
CS1222 Using Relational Databases and SQL
Presentation transcript:

CS499 Project #3 XML mySQL Test Generation Members Erica Wade Kevin Hardison Sameer Patwa Yi Lu

Design Overview Working with existing data (via parser) Database format and structure Data manipulation (via user interface) Test output (via user interface)

Parser Input – Test Question

A Tokenized Question

Parser Output - SQL

ENTITY RELATIONSHIP DIAGRAM AND RELATIONAL SCHEMA

ENTITY RELATIONSHIP DIAGRAM Questions From Books Answers To Label Body Correct Edition Title BookID Author Chapter Category Type Body QuestionID

ENTITY RELATIONSHIP DIAGRAM ENTITIES (Tables) Questions Books Answers ATTRIBUTES Questions – QuestionID, body, type, category, chapter. Books – BookID, Title, Author, Edition. Answers – Body, label, correct.

ENTITY RELATIONSHIP DIAGRAM CONSTRAINTS Participation Constraints: Each question is associated with at least 0 books. Each answer is associated with at least one question. Key Constraints: One book can have many questions. Each question must have one answer. Weak Entity Set: Answers are identified only by association with questions

RELATIONAL SCHEMA Some of the SQL statements that we have in our projects Here is an SQL statement for creating a table for books: CREATE TABLE Questions( QuestionID INTEGER, Body TEXT, Type CHAR(20), Category CHAR(15), Chapter INTEGER, PRIMARY KEY (QuestionID), FOREIGN KEY (BookID) REFERENCES Books));

RELATIONAL SCHEMA Here is an SQL statement for inserting data into the Books table: INSERT INTO books (BookID, Title, Author, Edition) VALUES ('1', "Discover computers", “Sameer Patwa", '2');

RELATIONAL SCHEMA SQL statement for updating data in the Books table: This will modify a column's value in existing row of a table. UPDATE books SET Title = ‘Discover Computers’ WHERE Author = ‘John Doe’;

RELATIONAL SCHEMA SQL SELECT statement for running queries: SELECT * FROM Questions; SELECT Answers.Correct, Questions.body FROM Answers, Questions WHERE Questions.QuestionID=Answers.QuestionID;

GRAPHIC USER INTERFACE (GUI)

TEST GENERATION

Conclusion… Where we are, and what’s next? Begin the next revolution of spiral process Show the customer what we have & get feedback Test and finalize parser…adapt if necessary Gather any other existing data Implement the user interface