Midterm Exam Chapters 1,2,3,5, 6,7 (closed book) March 11, 2014.

Slides:



Advertisements
Similar presentations
XML DOCUMENTS AND DATABASES
Advertisements

Review Indra Budi Fakultas Ilmu Komputer UI 2 Database Introduction Database vs File Processing Main purpose of database Database Actors.
Review for Final Test Indra Budi
9 Review Hachim Haddouti. 9 2 Hachim Haddouti and Rob & Coronel, Final Review How modern databases evolved from files and file systems File Systems vs.
Database Management Systems I Alex Coman, Winter 2006
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Introduction to SQL Programming Techniques.
Fundamentals, Design, and Implementation, 9/e Chapter 14 JDBC, Java Server Pages, and MySQL.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
1 Lecture 13: Database Heterogeneity Debriefing Project Phase 2.
1 C. Shahabi Application Programming for Relational Databases Cyrus Shahabi Computer Science Department University of Southern California
Multiple Tiers in Action
Recap of Mar 4: File Organization Major concepts: –Files are made up of records; records are made up of fields –Disk blocks are smaller than files and.
Summary. Chapter 9 – Triggers Integrity constraints Enforcing IC with different techniques –Keys –Foreign keys –Attribute-based constraints –Schema-based.
Copyright © 2004 Pearson Education, Inc.. Chapter 8 SQL-99: Schema Definition, Basic Constraints, and Queries.
Client-server database systems and ODBC l Client-server architecture and components l More on reliability and security l ODBC standard.
Transforming Data Models into Database Designs
Midterm 1 Concepts Relational Algebra (DB4) SQL Querying and updating (DB5) Constraints and Triggers (DB11) Unified Modeling Language (DB9) Relational.
Chapter 2 Database System Concepts and Architecture
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
Getting connected.  Java application calls the JDBC library.  JDBC loads a driver which talks to the database.  We can change database engines without.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
CS462: Introduction to Database Systems. ©Silberschatz, Korth and Sudarshan1.2Database System Concepts Course Information Instructor  Kyoung-Don (KD)
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Introduction to Accounting Information Systems
© D. Wong  Indexes  JDBC  JDBC in J2EE (Java 2 Enterprise Edition)
Database System Concepts and Architecture Lecture # 2 21 June 2012 National University of Computer and Emerging Sciences.
Movie Manager by Patrick Wesley and Chris Grey Internet Database Project for CS 8630 – Summer 2004 Dr. Guimaraes.
CSS 404 Internet Concepts. XP Objectives Developing a Web page and a Website Working with CSS (Cascading Style Sheets) Web Tables Web Forms Multimedia.
CHAPTER 14 USING RELATIONAL DATABASES TO PROVIDE OBJECT PERSISTENCE (ONLINE) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database.
XML과 Database 홍기형 성신여자대학교 성신여자대학교 홍기형.
CMU SSD7: Database Systems
Database Organization and Design
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 2: Intro to Relational.
ICS 321 Spring 2011 High Level Database Models Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 2/7/20111Lipyeow.
Database Application Development SQL In Application Code : 1. Embedded SQL 2. Database API’s 3. SQLJ.
Information System Development Courses Figure: ISD Course Structure.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 12 Understanding database managers on z/OS.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Copyright © 2002 ProsoftTraining. All rights reserved. Building Database Client Applications Using JDBC 2.0.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
INTRODUCTION lecture1 1. Data base concept Data is a meaningless static value. What does 3421 means? Information is the data you process in a manner that.
Exam 1 Review Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Tallahassee, Florida, 2015 COP4710 Database Systems Midterm Review Fall 2015.
Exam 1 Review Dr. Bernard Chen Ph.D. University of Central Arkansas.
1 Announcements Reading for next week: Chapter 4 Your first homework will be assigned as soon as your database accounts have been set up.  Expect an .
JDBC Chapter 1 JDBC Introduction
Database Management Systems.  Instructor: Yrd. Doç. Dr. Cengiz Örencik   Course material.
1 Principles of Database Systems With Internet and Java Applications Today’s Topic Chapter 8: Applications Programming for Relational Databases Instructor’s.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
CSCI 6315 Applied Database Systems Review for Midterm Exam I Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
6-1 JAVA DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe.
1 CS122A: Introduction to Data Management Lecture #4 (E-R  Relational Translation) Instructor: Chen Li.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Databases and DBMSs Todd S. Bacastow January 2005.
Chapter 2 Database System Concepts and Architecture
MODELS OF DATABASE AND DATABASE DESIGN
CPSC-310 Database Systems
Translation of ER-diagram into Relational Schema
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
COSC 6340 Projects & Homeworks Spring 2002
Data, Databases, and DBMSs
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Understanding and Designing with EJB
Database Dr. Roueida Mohammed.
Final Review Friday, December 8, 2006.
CS4222 Principles of Database System
COSC 3480 Projects & Homeworks Fall 2003
Presentation transcript:

Midterm Exam Chapters 1,2,3,5, 6,7 (closed book) March 11, 2014

COP4710 Part 1: Database Application Development Part 2: Theory and Database System Internal Midterm Exam

3-Tier Architecture Chapters 1, 2, 3 & 5 Chapter 7 Chapter 6

Chapter 1: Introduction to Database Systems Why use a DBMS ? What is a data model ? 3-layer architecture: physical schema, conceptual schema, views Concurrency control and transaction processing Study Time: 2 hours

Chapter 2: Conceptual Design ER model Entity set Relationship Key constraint, i.e., 1-to-many relationship Participation constraint: total vs partial ER design considerations Entity vs attribute Binary vs ternary relationship Study Time: 2 hours

Chapter 3: Relational Model Basic concepts: relation and tuple Create relations using SQL create relations add and delete tuples specify constraints: primary key constraint, referential integrity constraint create views ER diagram to SQL mapping Study Time: 2 hours

Chapter 5: SQL Semantics of SQL: SELECT … FROM … WHERE … GROUP BY … HAVING … How to write queries Basic SELECT-FROM-WHERE queries Queries with set operators such as UNION, INTERSECT, and EXCEPT Nested queries Queries based on the Division operation Queries with aggregate operators General constraint (in a relation) & assertion (over multiple relations) Triggers Study Time: 3 hours

Chapter 7: Internet Computing Web data format: HTML, XML, DTD 3-tier architecture Presentation tier: HTML Form, Javascript, Stylesheet Application tier CGI, Application Servers, Servlets (Code first, webpage second) JavaServerPages (Webpage first, code second) Maintaining state: Cookies, hidden fields (in forms), extra path information Study Time: 4 hours

Chapter 6: Internet DB Apps Embedded SQL and Cursor Dynamic SQL using PREPARE and EXECUTE statements JDBC (java.sql package) Four types of JDBC drivers Load driver, connect to data source, execute SQL statements (using Statement object, PreparedStatement object, or CallableStatement object) Transaction processing in JDBC Exception and warning DatabaseMetaData Object (for catalog information) SQLJ - Similar to embedded SQL; but using industry-standard interface Stored procedures: Writing stored procedure using SQL/PSM, how to call stored procedure from JDBC and SQLJ Study Time: 4 hours

Study Time Required TaskTime Required Study 400 pages of Powerpoint slides17 hrs Practice the homeworks3 hrs Practice the SQL examples in textbook4 hrs TOTAL TIME NEEDED24 HRS A: 90 ~ 100Excellent B: 80 ~ 89.99Good C: 70 ~ 79.99Can be improved D: 60 ~ 69.99Need to spend more time on the final F: < 60 Grades