Upload
jamaica-marjadas
View
55
Download
0
Embed Size (px)
DESCRIPTION
DBMS
Citation preview
University of San CarlosSchool of Business and Economics
Accountancy Department
SYLLABUS
Course No. : AC 505
Course Title : Database Management
Credit : 3 units (lecture)
Prerequisite Courses : Second Year LevelComp 1N - Computer Fundamentals & Word Processing
Revised : by Darlon B. Serenio, CPA Revised 1st semester, AY: 2012 – 2013
Overview of the Course
This course is designed to provide a gentle introduction to the area of database management. It primarily attempts to familiarize students with the principles that govern the analysis, design, implementation and administration of database systems. Data has emerged as a strategic resource and hence, like other strategic resources (e.g. human and financial) must be managed with care and rigor. Today, business enterprises may prosper if they effectively process, analyze, and synthesize their data to produce timely and accurate information. The course will provide you (using lectures, classroom discussion, case studies, and laboratory exercises) with adequate knowledge of database systems while emphasizing planning, administrative and implementation issues necessary for successful management of corporate data resources.
Course Description
This is an introductory course on data resources and the issues in managing data to meet the goals and needs of business. The students develop an understanding of the theoretical underpinnings of database management. This includes familiarity and capabilities with concepts of data, information and modeling. Emphasis is on logical data modeling and relational database management systems.
1 | P a g e
General Objectives
Exposed to varied, meaningful, and well-chosen learning experiences, the students should be able to know the fundamentals of database design and implementation. There are various approaches to designing databases. These approaches are continually evolving. You will learn Entity Relationship models and normalization as tools for designing databases. Relational databases are emphasized throughout the course. Databases are implemented on software packages. Current trends in database technology are also discussed. At the end of the semester, the students are expected to:
1. Design database applications for business enterprises2. Interpret user requirements analysis, logical database design, physical database design etc.3. Define and manipulate data languages for relational models. 4. Gain Hands-on experience using application software 5. Understand that databases do not operate as separate islands of information, but rather need to be coordinated into a cohesive enterprise system plan that supports
the operational, tactical, and strategic needs of the organization 6. Understand that a data warehouses must be flexible enough to accommodate people with diverse decision-making needs, whose abilities may range from novice to
power user 7. Acquire awareness of the emerging trends in the database and data management technologies
Classroom Management
1. Attendance is a MUST. Attendance in all classes is required. Being present in class means that you attend each class, and come prepared having read the chapters and the exercises or cases that are assigned for that class. There are 54 sessions/hours in this course and you may incur only ten (10) absences for MWF schedules or seven (7) absences for TTH schedules. Otherwise, you will automatically be dropped from class and receive a grade of either NC (No Credit) or a failing grade of 5.0 whichever is applicable.
2. Readmission. Students who incur three consecutive (3) absences will be asked by the instructor to see the Department Chair to secure permission to be re-admitted to class. A re-admission slip should be properly accomplished for this purpose.
3. Tardiness is discouraged. Make sure that you come on time, as it becomes a source of irritation for the members of the class and the professor when students come late. As a policy for this class, you will be considered late if you come to class after 15 minutes of the time, three instances of tardiness whether incurred consecutive or not is considered one absence. Learn to be professionals; respect for other people’s time is a principle that should be valued.
4. Seat Plan. A permanent seat plan will be made at the start of the semester. You are advised to keep to your assigned seating arrangement; otherwise, you will be marked absent for that day.
5. Prayer. Classes should always start and end with a short prayer. The instructor can opt to lead the prayer or assign students to do this alternatively.
2 | P a g e
6. Classroom Management. Students should assist in maintaining the orderliness and cleanliness of the classrooms. Graffiti writing is strictly prohibited. Any student found violating this rule will be punished with the appropriate sanction. Before leaving the classroom, the instructor with the help of the students, should ensure that no litter/garbage is left behind and that chairs are in their proper order. Should the class be the last schedule for the day, the instructor should arrange that the lights and air conditioning units are switched off.
7. Mobile Phones. Use of mobile phones inside the classroom is strictly prohibited. Switch them off or place them under silent mode before entering your classes. The instructor has the right to confiscate mobile phones that rings and/or is used during class hours. The confiscated unit can only be claimed in the Dean’s office at the end of the semester.
8. Eating and Drinking. Food and drinks are not allowed inside the classroom and in the corridors. It is your responsibility to properly schedule your classes so that meals and snacks can be taken at its proper time.
9. Consultation Hours. Students are encouraged to see the instructor during consultation hours for any concerns, questions and assistance with regards to the course. Instructors should ensure that they are available on these hours and at the agreed location.
10. Submissions. Timely submission of written requirements will be strictly followed. Just like when you submit a report to the Bureau of Internal Revenue (BIR), BIR would charge you “penalty.” The penalty is collected not for the purpose of making money; it is meant to discourage late submission of reports. It is also the same in this class. The penalty for late submission of reports is “non-acceptance”.
11. Field Exercises. A set of “hands-on” mini-cases will be assigned to individual students or to small teams of students. Field exercises range from directed field trips to Internet searches and other types of research exercises.
12.Computer Applications. Students are expected to be proficient in using common applications software such as Microsoft Access 2010. This is essential as you will be making a database.
13. Class Participation. Everyone is expected to offer his or her opinions in class discussion, to ask questions relevant to the discussion and to share information of relevance to the course. However, please do not dominate class discussions. Be conscious enough to realize when you are already spending more time talking than your classmates would appreciate.
14. Pre-discussion Reading. You are urged to read the assigned topic ahead of time, and if possible, conduct daily reading as they relate to financial management news and topics. Try to spend 10-15 minutes of your time every day reading any of the optional periodicals available in the library such as The Asian Wall Street Journal, Business World, Harvard Business Review, Fortune, Forbes, Business Week, The Far Eastern Economic Review, The Economist, and surf the relevant financial management websites suggested in this course syllabus.
15. Library Hours. Maximize the use of the library resources. The library hours are: Monday to Saturday 7:30 a.m. to 8:00 p.m.
16. Enjoy every moment of the class. Lastly, learning should be fun and exciting. Enjoy your classes! It will be such a tragedy if you will be miserable in the class. Participate so you get the most of this course.
3 | P a g e
Suggested Learning Experiences Course Requirements Grading System
1. Lecture-Discussion 1. Regular Attendance For the Midterm Grade:2. Advance Readings 2. Active Class Participation Summary tests/quizzes 1/33. Internet Research 3. Passing Grades Other requirements (exercises/assignments) 1/34. Class Interaction 4. Completion & Submission Midterm examination 1/35. Seatwork of assignments6. Boardwork 5. Right attitude towards course For the Final Grade:7. Hands-on Exercises
Midterm grade 1/3Class standing after midterm (test & other requirements) 1/3Final examination 1/3
For purposes of transmutation, the Department of Accountancy will use the following standard grade equivalents (at 50% passing):
95-100 1.0 82-81 1.7 68-67 2.4 94- 93 1.1 80-79 1.8 66-65 2.5 92- 91 1.2 78-77 1.9 64-62 2.6 90- 89 1.3 76-75 2.0 61-59 2.7 88- 87 1.4 74-73 2.1 58-56 2.8 86- 85 1.5 72-71 2.2 55-53 2.9 84- 83 1.6 70-69 2.3 52-50 3.0
49 & below 5.0
4 | P a g e
Specific Objectives Contents
WEEK 1 (1st session) = 1.5 hours
ORIENTATION
1. Introduction of the members of the class2. Setting of expectations3. Discussion of classroom rules and policies4. Revisit Vision and Mission Statements of the University of San Carlos5. Checking of admission slips6. Setting of seat plan7. Grouping of students 8. Course Overview:
Distribution and presentation of the course syllabus. Discussion of the content of the syllabus for the purpose of clarification. Discussion of the learning objectives of the course. Explore course structure, sequencing of subject matter. Discussion on the course requirements and grading system. Grouping and assignment of topics for oral presentations Requiring the prescribed textbook for the course
I. Course OrientationA. IntroductionB. USC Vision-MissionC. Course DescriptionD. Course ObjectivesE. Course RequirementsF. Alternative ActivitiesG. Grading SystemH. House Rules
WEEK 1 (2nd session) & WEEK 2 (1st session) = 3 hours
TOPIC 1: Introduction to Database Management
In the process of learning about the topic, students should be able to:1. Concisely define each of the following key terms: attribute; column; data file; data; independence;
database; database; administration (DBA); database administrator; database design; database management system (DBMS); entity; entity-relationship (E-R) diagram; field; form;
1. Chapter Objectives
2. Premiere Products Background
5 | P a g e
integrity; integrity constraint; one-to-many relationship; redundancy; relationship; and security.2. Introduce Premiere Products, the company that is used as the basis for many of the examples
throughout the text3. Introduce basic database terminology4. Describe database management systems (DBMSs)5. Explain the advantages and disadvantages of database processing6. Introduce Henry Books, the company that is used in a case that appears throughout the text7. Introduce Alexamara Marina Group, the company that is used in another case that appears throughout
the text
3. Database Background
4. Database Management Systems
5. Advantages of Database Processing
6. Disadvantages of Database Processing
7. Introduction to the Henry Books Database Case
8. Introduction to the Alexamara Marina Group Database Case
9. Summary
10. Glossary of Key Terms
11. Applying Database Concepts
WEEK 2 (2nd session) & WEEK 3 = 3 hours
TOPIC 2: The Relational Model 1: Introduction, QBE, and Relational Algebra ORGANIZATION
In the process of learning about the topic, students should be able to:1. Concisely define each of the following key terms: aggregate function; AND criterion; attribute;
calculated field; Cartesian product; comparison operator; compound condition; compound criteria; computed field; concatenation; criteria; criterion; delete query; design grid; difference; division; field; function; grouping; INTERSECT; intersection; join; join column; join line; major sort key; make-table query; minor sort key; natural join; null; OR criterion; outer join; primary key; primary sort key; product; PROJECT; qualify; query; Query-By-Example (QBE); record; relation; relational algebra; relational database; relational operator; repeating group; secondary sort key; SELECT; sort; sort key; SUBTRACT; tuple; union; union compatible; unnormalized relation; and update query.
2. Describe the relational model3. Understand Query-By-Example (QBE)4. Use criteria in QBE
1. Relational Databases
2. Query-By-Example (QBE)
3. Simple Queries
4. Simple Criteria
5. Compound Criteria
6. Computed Fields
6 | P a g e
5. Create calculated columns in QBE6. Use functions in QBE7. Sort data in QBE8. Join tables in QBE9. Update data using QBE10. Understand relational algebra
7. Functions
8. Grouping
9. Sorting
10. Joining Tables
11. Using an Update Query
12. Using an Delete Query
13. Using a Make-Table Query
14. Relational Algebra
15. Select
16. Project
17. Join
18. Normal Set Operations
19. Product
20. Division
21. Summary
22. Glossary of Key Terms
7 | P a g e
WEEK 4 (1st session) = 1.5 hours
Long Exam on Topics 1 and 2
Having assigned two topics to study, students should be ready to:1. Take the first long exam for AC 505 for Topics 1 and 2.
Theory Test Questions and Case Problems on the following topics:
1. Introduction to Database Management 2. The Relational Model 1: Introduction, QBE, and
Relational Algebra
WEEK 4 (2nd session) = 1.5 hours
Discussion of Answers of the previous exam
Learning ObjectivesIn the process of self-assessment, students should be able to:1. Verify the correctness of their answers for the long exam previously taken.2. Make clarifications in case of doubts regarding the answers for the long exam previously taken.
1. Dictation of answers.2. Corrections of errors in checking, if any.3. Discussion of answers.
WEEK 5 & WEEK 6 (1st session) = 4.5 hours
TOPIC 3: The Relational Model 2: SQL
In the process of learning about the topic, students should be able to:1. Concisely define each of the following key terms: CHAR(n); command; compound condition;
CREATE TABLE; DATE; DECIMAL(p,q); DELETE; FROM clause; GROUP BY clause; HAVING clause; INSERT; INTEGER; INTO clause; ORDER BY clause; reserved word; SELECT clause; simple condition; SMALLINT; SQL (Structured Query Language); statement history; subquery; UPDATE; and WHERE clause
2. Introduce Structured Query language (SQL)3. Use simple and compound conditions in SQL
1. Getting Started with SQL
2. Table Creation
3. Simple Retrieval
4. Compound Conditions
8 | P a g e
4. Use computed fields in SQL5. Use built-in SQL functions6. Use subqueries in SQL7. Group records in SQL8. Join tables using SQL9. Perform union operations in SQL10. Use SQL to update database data11.Use an SQL query to create a table in a database
5. Computed Fields
6. Using Special Operators (LIKE and IN)
7. Sorting
8. Built-In Functions
9. Subqueries
10. Grouping
11. Joining Tables
12. Union
13. Updating Tables
14. Creating a Table from a Query
15. Summary of SQL Commands
16. End of Chapter Material
17. Glossary of Key Terms
18. Applying Database ConceptsWEEK 7 (2nd session) & WEEK 8 = 4.5 hours
TOPIC 4: The Relational Model 3: Advanced TopicsIn the process of learning about the topic, students should be able to:
1. Concisely define each of the following key terms: argument; ALTER TABLE; cascade delete; cascade update; catalog; CHECK; client; client/server system; CREATE INDEX; data macro; defining query; delimiter; Documenter; DROP INDEX; DROP TABLE; entity integrity; FOREIGN KEY; foreign key; GRANT; index; index key; legal-values integrity; multiple-column index; multiple-field index; PRIMARY KEY; referential integrity; REVOKE; row-and-column subset
1. Views
2. Indexes
3. Security
9 | P a g e
view; security; server; single-column index; single-field index; stored procedure; Syscolumns; Sysindexes; Systables; system catalog; Sysviews; trigger; validation rule; validation text; and view.
2. Define, describe, and use views3. Use indexes to improve database performance4. Examine the security feature of a DBMS5. Discuss entity, referential, and legal-values integrity6. Make changes to the structure of a relational database7. Define and use the system catalog8. Discuss stored procedures, triggers, and data macros
4. Integrity Rules
5. Structure Changes
6. System Catalog
7. Stored Procedures
8. Triggers
9. End of Chapter Material
10. Glossary of Key Terms
11. Applying Database Concepts
WEEK 9 MIDTERM EXAMINATIONS
WEEK 10 (1st session) = 1.5 hours
Discussion of Answers of the Midterm Exam
Learning ObjectivesIn the process of self-assessment, students should be able to:1. Verify the correctness of their answers for the long exam previously taken.2. Make clarifications in case of doubts regarding the answers for the long exam previously taken.
1. Dictation of answers.2. Corrections of errors in checking, if any.3. Discussion of answers.
WEEK 10 (2nd session), WEEK 11 = 4.5 hours
TOPIC 5: Database Design 1: Normalization
In the process of learning about the topic, students should be able to:1. Concisely define each of the following terms: alternate key; Boyce-Codd normal form (BCNF);
1. Functional Dependence
10 | P a g e
candidate key; concatenation; dependency diagram; determinant; first normal form (1NF); fourth normal form (4NF); functional dependence; functionally dependent; functionally determines; interrelation constraint; multidependent; multidetermine; multivalued dependence; nonkey attribute; nonkey column; normal form; normalization process; partial dependency; primary key; repeating group; second normal form (2NF); third normal form (3NF); unnormalized relation; and update anomaly.
2. Discuss functional dependence and primary keys3. Define first normal form, second normal form, and fourth normal form4. Describe the problems associated with tables (relations) that are not in first normal form, second
normal form, or third normal form, along with the mechanism for converting to all three5. Discuss the problems associated with incorrect conversions to third normal form6. Describe the problems associated with tables (relations) that are not in fourth normal form and
describe the mechanism for converting to fourth normal form7. Understand how normalization is used in the database design process.
2. Keys
3. First Normal Form
4. Second Normal Form
5. Third Normal Form
6. Incorrect Decompositions
7. Multivalued Dependencies and Fourth Normal Form
8. Avoiding the Problem with Multivalued Dependencies
9. Application to Database Design
10. End of Chapter Material
11. Glossary of Key Terms
12. Applying Database ConceptsWEEK 12 & WEEK 13 (1st session) = 4.5 HOURS
TOPIC 6: Database Design 2: Design Method
In the process of learning about the topic, students should be able to:1. Concise define each of the following key terms: artificial key; bottom-up design method;
cardinality; category; complete category; composite entity; cumulative design; Database Design Language (DBDL); dependent entity; entity-relationship (E-R) model; entity subtype; existence dependency; IDEF1X; identifying relationship; incomplete category; independent entity; information-level design; intelligent key; logical key; mandatory role; many-to-many relationship; many-to-many-to-many relationship; natural key; nonidentifying relationship; one-to-one relationship; optional role; physical-level design; secondary key; surrogate key; synthetic key; top-down design method; user view; and weak entity.
1. User Views
2. Information-Level Design Method
3. Database Design Examples
4. Physical-Level Design
5. Top-Down Versus Bottom-Up Design
11 | P a g e
2. Discuss the general process and goals of database design3. Define user views and explain their function4. Define Database Design Language (DBDL) and use it to document database designs5. Create an entity-relationship (E-R) diagram to visually represent a database design6. Present a method for database design at the information level and view examples illustrating this
method7. Explain the physical-level design process8. Discuss top-down and bottom-up approaches to database design and examine the advantages and
disadvantages of both methods9. Use a survey form to obtain information from users prior to beginning the database design process10. Review existing documents to obtain information prior to beginning the database design11. Discuss special issues related to implementing one-to-one relationships and many-to-many
relationships involving more than two entities12. Discuss entity subtypes and their relationships to nulls13. Learn how to avoid potential problems when merging third normal form relations14. Examine the entity-relationship model for representing and designing databases
6. Survey Form
7. Obtaining Information from Existing Documents
8. One-to-One Relationship Considerations
9. Many-to-Many Relationship Considerations
10. Nulls and Entity Subtypes
11. Avoiding Problems with Third Normal Form When Merging Tables
12. The Entity-Relationship Model
13. End of Chapter Material
14. Glossary of Key Terms
15. Applying Database ConceptsWEEK 13 (2nd session) & WEEK 14 = 4.5 HOURS
TOPIC 7: DBMS Functions
In the process of learning about the topic, students should be able to:1. Concise define each of the following key terms: after image; authentication; authorization rule;
backup; backward recovery; batch processing; before image; biometrics; commit; concurrent update; database password; data dictionary; data independence; deadlock; deadly embrace; decrypting; encryption; forward recovery; growing phase; journal; journaling; locking; log; metadata; nonprocedural language; password; permission; privacy; procedural language; recovery; replica; replicate; rollback; save; shrinking phase; smart card; synchronization; timestamp; timestamping; transaction; two-phase locking; utility services; victim; and workgroup.
2. Introduce the functions, or services, provided by a DBMS3. Describe how a DBMS handles updating and retrieving data4. Examine the catalog feature of a DBMS
1. Update and Retrieve Data
2. Provide Catalog Services
3. Support Concurrent Update
4. Recover Data
5. Provide Security Services
6. Provide Data Integrity Features
12 | P a g e
5. Illustrate the concurrent update problem and describe how a DBMS handles this problem6. Explain the data recovery process in a database environment7. Describe the security services provided by a DBMS8. Examine the data integrity features provided by a DBMS9. Discuss the extent to which a DBMS achieves data independence10. Define and describe data replication11. Present the utility services provided by a DBMS
7. Support Data Independence
8. Support Data Replication
9. Provide Utility Services
10. End of Chapter Material
11. Glossary of Key Terms
12. Applying Database Concepts
WEEK 15 (1st session) = 1.5 hours
Long Exam on Topics 5, 6 and 7.
Having assigned one topic to study, students should be ready to:1. Take the third long exam for AC 505.
Theory Test Questions and Practical Exercises on the Topics 5, 6 and 7.
WEEK 15 (2nd session) = 1.5 hours
Discussion of answers for the previous exam
Learning ObjectivesIn the process of self-assessment, students should be able to:1. Verify the correctness of their answers for the long exam previously taken.2. Make clarifications in case of doubts regarding the answers for the long exam previously taken.
1. Dictation of answers.2. Corrections of errors in checking, if any.3. Discussion of answers.
WEEK 16 = 3 HOURS
TOPIC 8: Database Administration 1. Database Policy Formulation and Enforcement
13 | P a g e
In the process of learning about the topic, students should be able to:1. Concise define each of the following key terms: archive; context-sensitive help; data archive;
denormalizing; Department of Defense (DOD) 5015.2 Standard; disaster recovery plan; exclusive lock; HIPAA; hot site; intranet; live system; local area network (LAN); Patriot Act; Presidential Records Act; production system; RAID (redundant array of inexpensive/independent drives); sandbox; Sarbanes-Oxley (SOX) Act; SEC Rule 17a-4; shared lock; test system; tuning; UPS (uninterruptible power supply); and warm site.
2. Discuss the need for database administration3. Explain the DBA’s responsibilities in formulating and enforcing database policies for access
privileges, security, disaster planning, and archiving4. Discuss the DBA’s administrative responsibilities for DBMS evaluation and selection, DBMS
maintenance, data dictionary management, and training5. Discuss the DBA’s technical responsibilities for database design, testing, and performance tuning.
2. Other Database Administrative Functions
3. Technical Functions
4. End of Chapter Material
5. Glossary of Key Terms
6. Applying Database Concepts
WEEK 17 = 3 hours
TOPIC 9: DISTRIBUTED DATABASES
In the process of learning about the topic, students should be able to:1. Concisely define the following key terms: Access delay; Apache HTTP Server; application server;
association; back-end machine; back-end processor; binary large objects (BLOBs); binding; business to business (B2B); class; class diagram; client-side extensions; client-side scripts; client/server; clients; communications network; cookies; coordinator; data cube; data fragmentation; data mining; data warehouse; database server; dimension table; distributed database; distributed database management system (DDBMS); Document Type Definition (DTD); domain; drill down; dynamic Web pages; electronic commerce (e-commerce); encapsulated; extensible; Extensible Hypertext Markup Language (XHTML); Extensible Markup Language (XML); Extensible Stylesheet Language (XSL); fact table; fat client; file server; fragmentation transparency; front-end machine; front-end processor; generalization; global deadlock; heterogeneous DDBMS; homogeneous DDBMS; hyperlinks; Hypertext Markup Language (HTML); Hypertext Transfer Protocol (HTTP); inheritance; Internet; Internet Information Services (IIS); local deadlock; local site; location transparency; markup language; messages; metalanguage; methods; multidimensional database; multiplicity; n-tier architecture; network;
object; object-oriented database management system (OODBMS); Office Open XML; online analytical processing (OLAP); online transaction processing (OLTP); persistence; polymorphism; primary copy; private visibility; protected visibility; public visibility; remote site; replication transparency; roll up; scalability; server; server-side extensions; server-side scripts;
1. Distributed Databases
2. Characteristics of Distributed DBMSs
3. Advantages of Distributed Databases
4. Disadvantages of Distributed Databases
5. Rules for Distributed Databases
6. Client/Server Systems
7. Web Access to Databases
8. XML
14 | P a g e
session; slice and dice; Standard Generalized Markup Language (SGML); star schema; stateless; static Web pages; stylesheet; subclass; superclass; tags; thin client; three-tier architecture; Transmission Control Protocol/Internet Protocol (TCP/IP); two-phase commit; two-tier architecture; Unified Modeling Language (UML); Uniform Resource Locator (URL); visibility symbol; Web; Web browser; Web client; Web page; Web server; World Wide Web; World Wide Web Consortium (W3C); XML declaration; XML schema; XQuery; and XSL Transformations (XSLT).
2. Describe distributed database management systems (DDBMSs)3. Discuss client/server systems4. Examine the ways databases are accessed on the Web5. Discuss XML and related document specification standards6. Define data warehouses and explain their structure and access7. Discuss the general concepts of object-oriented DBMSs
9. Data Warehouses
10. Object-Oriented DBMSs
11. End of Chapter Material
12. Glossary of Key Terms
13. Applying Database Concepts
WEEK 18 FINAL EXAMINATIONS
TOTAL = 54 HOURS
REFERENCES
A. BOOKS
Textbook:
Pratt, P., Adamski, J., Concepts of Database Management. 7th ed. CENGAGE Learning.
References: Hoffer, J., Ramesh V., Topi, H., Modern Database Management. 10th ed., Prentice Hall.
Silberschatz, A., Korth, H., Sudarshan, S., Database System Concepts. 6th edition. McGraw Hill.
B. WEBSITES
Textbook Websites: www.cengageasia.com
15 | P a g e
http://wps.prenhall.com/bp_hoffer_mdm_10/
Video Tutorials: http://wps.prenhall.com/bp_hoffer_mdm_10/161/41379/10593099.cw/index.html
16 | P a g e