Download CSCI242 (Section 1) Spring 2013

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Extensible Storage Engine wikipedia , lookup

Relational algebra wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Concurrency control wikipedia , lookup

Functional Database Model wikipedia , lookup

Ingres (database) wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Database wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Oracle Database wikipedia , lookup

Open Database Connectivity wikipedia , lookup

ContactPoint wikipedia , lookup

Clusterpoint wikipedia , lookup

SQL wikipedia , lookup

Database model wikipedia , lookup

Relational model wikipedia , lookup

PL/SQL wikipedia , lookup

Transcript
CSCI242 (Section 1)
Introduction to Database using Oracle
Meeting days/time: T/TH/1:00-2:15am
Office Hours: W /9:00-10:00am
Spring 2013
PSCI 106
Instructor: Sen Zhang
Physical Science Bldg. 132
Campus Phone: 3382
Email: [email protected]
Web: http://employees.oneonta.edu/zhangs/
COURSE DESCRIPTION & PREREQUISTE(S) (from catalog)
Introduction to Database using Oracle 3 s.h.
This course will provide an introduction to the use of a specific database for large applications. Oracle or Ingres would be
possible databases. This course will include a discussion of what constitutes a relational database; use of SQL, SQR,
SQL loader for Oracle.
Prerequisite: CSCI 116
TEXTBOOK
Murach's Oracle Sql & Pl/SqlMurachISBN 1890774502
READING LIST & ADDITIONAL RESOURCES
Angel.oneonta.edu
StudentCompanion website (from the publisher)
Oracle 11g, Joan Casteel, 978-1-4390-4128-4
A comprehensive book covering internal theories of ER database management system.Database Management Systems,
by
Raghu
Ramakrishnan
and
Johannes
Gehrke
http://www.cs.wisc.edu/~dbbook/openAccess/thirdEdition/slides/slides3ed.html
http://www.oracle.com/index.html
Oracle FAQ: A Commercial Site
SQL Tutorial: A Commercial Site
ER Diagram Drawing Tool
Introduction to Database System, by C. J. Date. ISBN: 0-321-19784-4 (Really optional)
SUNY LEARNING OUTCOME OBJECTIVES
(for General Education 2 courses. See below.)
N/A
COURSE GOALS/OBJECTIVES
(measurable student learning outcomes)
Upon completing the course, you are expected to understand E-R model and the fundamental concepts of relational
database, understand basic components of a relational database, more importantly be proficient in SQL language, and be
able to develop database applications. In particular, you will gain hands-on experience in SQL programming in Oracle
environment. You will gain experience in designing a tiny database application which comprises at least a set of data
retrieval, record update and record insertion functional modules as well rudimentary PL features. Ideally, being also
exposed to front-end application development, you will be familiar with typical two-tier database application development
scheme.
This course will provide students an introduction to relational database concepts and database programming using
Oracle. The course starts from an in-depth discussion on E-R model. Then we will study the fundamentals and basic
components of a relational database management system (RDBMS). A solid and comprehensive understanding of database
management system will be the foundation for you to understand real world database applications and to develop such kind
of high-level applications. Then the concentration will turn into SQL languages and fundamental procedural language
features of Oracle system. A significant portion of the class will be dedicated to SQL and programming scheme in SQL. SQL
language provides a declarative interface between users and database management system. SQL language itself is very
compact and simple, but wisely programming in SQL could work out efficient solutions to very sophisticated query tasks.
Finally, we will briefly go over how programming tools such as Java, .net or VB/ASP can communicate with Oracle.
A portion of the class meeting times will be spent in the lab learning to use the software required for completing the projects.
Although some lab time will be provided for completing lab and homework assignments, it will be your responsibility of the
students to visit the lab during open hours to complete the projects.
COURSE REQUIREMENTS
Programming intensive and debugging can still be time consuming at this stage.
Learning by doing, learning by examples, hands-on, trial and error,
Everybody can make it through and succeed! Work hard, put in enough time.
COURSE ACTIVITIES/TEACHING STRATEGIES
1.
Traditional Methods: lectures, discussion, presentation and projects.
2.
Important means peculiar to computer science major: practicing on computers to finish lecture examples,
homework or other interesting projects.
3.
Clear your doubts after class by solving your problems in lectures, homework and exams.
ADDITIONAL UNIQUE ASPECTS OF COURSE
Hands on
C++
Microsoft Visual Studio
COURSE OUTLINE
(order of coverage by date)
The following course content is tentative and is subject to change. You will be notified in advance if any change is
necessary.
RDBMS fundamentals
Relational model
E-R model
E-R diagram
Create table
constraints
alter table
Drop table
Index
View
Key attribute, primary key and foreign key
Insert records
Update records
Delete records
Select records
Aggregate sub-clause
Nested query
Join
Inner join, outer join,
PL/SQL
Stored procedure
Stored function
*Trigger
*cursor
Data anomalies
Advanced SQL and PL/SQL
Show how to use Java, VB or ASP to connect to Oracle.
ASSIGNMENTS
(by date)
Jan 17
Jan 22
Overview + review
Database in general purpose programming
languages Different Database models
Read Syllabus
buy book
install software
plan time for a rewarding semester!
Homework 1 (Due, Feb. 12)
Project announcement
Jan. 24
Jan 29
Relational model database, relational algebra
SQL DDL Create Tables, columns, Data types,
keys and constraints, alter table, drop table
create views
Homework 2
Jan. 31
Feb. 5
Feb. 7
SQL DML insert, delete, update, select
query, simple query, order, transaction
Homework 3
Functions, statistics, aggregate queries, index
Feb. 12
Review
Feb. 14
Feb. 19
Feb. 21
Feb. 26
Homework 4
Mid term 1
(College closes)
(College Close)
Homework 5
Post-Exam-review
More about query, Subquery,
Feb. 28
Multiple tables, queries involving multiple
tables, foreign keys, join, outer join
Mar. 5
Mar. 7
Mar. 12
Mar. 14
Mar. 19
Mar. 21
Mar. 26
Mar. 28
Apr. 2
Apr. 4
Table Design and Data Anomaly examples
Apr. 9
Apr. 11
Apr. 16
Apr. 18
Apr. 23
Apr. 25
Apr. 30
May. 2
May.7
May 9
May. 14
Project middle phase
ER model
ER Diagram
Mapping a E-R diagram to relations, then tables
Multiple phases Project and self study
PL/SQL variables and control structures
PL/SQL stored procedures, functions
(College Close)
(College Close)
Text, HTML
Client Server ASP +ODBC
Review
Midterm 2
Post-exam review
PhP
Project
Project
project
Project presentation
Project presentation
Final week
Final Exam
Homework 6
Homework 7
Homework 8
Homework 9
The a course content is tentative and is subject to change. You will be notified in advance if any change is
necessary. Throughout the semester, students need to do a significant amount programming to improve their
programming proficiency and skills. Programming projects are designed to help students to engage in the
subject and gain firm understanding to the covered topics.
TEST DATES & COVERAGE
See above
LATE ASSIGNMENTS & MAKE-UP TEST POLICY
Late assignments will be accepted, but assessed at a 10% point penalty for each day after the due date, unless you can
provide legitimate and/or school-approved excuses to justify the delay.
Make-up for missed midterms and final will only be arranged for those who have acceptable reasons supported by proper
and officially documented evidences. The instructor must be notified in advance for missing the midterm(s) or final exam.
If you could not anticipate your absence in advance but you can , you should apply for make-up at your earliest possible
time when you are back again
METHOD OF EVALUATION
(specify procedure)
Homework Exam ( Concepts, multiple choices, programming homework, illustration etc.)
Grading
Midterm Exam 1
Midterm Exam 2
Final Exam
Assignments Tutorials
Project
Attendance
Weight
10%
15%
30%
25%
15%
5%
Tentative Date
TBA
TBA
Final letter grade system
The final letter grade will be determined by converting the grade using the following cut-off points with
rounding up.
92 to 100 = A
72 to 75 = C
89 to 91 = A69 to 71 = C86 to 88 = B+
67 to 68 = D+
82 to 85 = B
64 to 66 = D
79 to 81 = B61 to 63 = D76 to 78 = C+
60 and below = E
ATTENDANCE POLICY
Attendance is mandatory and will contribute partially to your final grade. Being attentive to the lectures is instrumental to
your success in this course, because you will receive a large amount of useful information you cannot afford to miss.
This is the second core course for CS majors, covering a long list of important topics within only 15 weeks. In addition to
regular lectures, we will use class meeting time to discuss homework and similar questions for exams, so it is your best
interest to attend every class whenever possible.
Pedagogical research and past experience shows that students who attend classes regularly generally do much better in
their classes than their peers who attend sporadically. Attendance sheet may be distributed for signatures for every class
to keep track of your attendance history. The instructor reserves the right to drop anyone who misses more than 25% or
more of the class meetings to that point at any time through midterm. Each student will be allowed absences provided
she/he has reasonable proofs. For every two unexcused absences, your will lose 1 out of 100 points. If you will miss any
class, you will be responsible for material covered in class as well as the material in the text. Make sure you contact your
instructor to find out what has been covered and what new assignments have been given out. Not being in class is never
an excuse for not knowing what has been covered. All college policies regarding attendance will be followed stringently.
Honorable demeanor is assumed.
You are expected to participate in all class activities. To be a good participant, you should display positive and
constructive attitudes, do all assigned work, prepare to ask questions, attend to other class members’ concerns, get
involved in the ongoing class activities, and volunteer to answer questions raised by the instructor or your peers.
The computers are provided for you to study technologies related to this course and facilitate your learning of the course,
not for other irrelevant behaviors. If a student is found to abuse the lab computers in the class meeting time by conducting
the irrelevant activities such as online shopping, chatting, gaming, emailing, or messaging etc., he/she will lose his/her
attendance credits. A repeating offender is subject to being dropped from the class by the instructor.
ADA (AMERICAN WITH DISABILITIES ACT) STATEMENT
Students Diagnosed with a Disability—All individuals who are diagnosed with a disability are protected under the
Americans with Disabilities Act, and Section 504 of the Rehabilitation Act of 1973. As such, you may be entitled to certain
accommodations within this class. If you are diagnosed with a disability, please make an appointment to meet with
Student Disability Services (SDS), 209 Alumni Hall, ext. 2137. All students with the necessary supporting documentation
will be provided appropriate accommodations as determined by the SDS Office. It is entirely your responsibility to
contact SDS and concurrently supply me with your accommodation plan, which will inform me exactly what
accommodations you are entitled to. You will only receive accommodations once you provide me with an SDS
accommodation plan. Any previously recorded grades will not be changed.
EMERGENCY EVACUATION PROCEDURES
In the event of an emergency requiring evacuation from (class location: PSCI___ and room_106___), please evacuate to
(appropriate location from evacuation procedures handout) Chase Gymnasiumso that College officials can account for
you. Please review the College's Emergency Evacuation Procedures and Shelter-in-Place Procedures at the following
web link: http://www.oneonta.edu/security. All students are also encouraged to register for NY Alert for immediate
notification of campus emergencies on or near the campus.