Kurdistan Region Government Ministry of Higher Education ...
Transcript of Kurdistan Region Government Ministry of Higher Education ...
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Module (Course Syllabus) Catalogue
2020-2021
College/ Institute Erbil Technology College
Department Information Technology
Module Name Database Management System
Module Code DMS404
Degree Technical Diploma Bachelor High Diploma Master PhD
Semester Fourth
Qualification
Scientific Title Assist. Lecture
ECTS (Credits) 6
Module type Prerequisite Core Assist.
Weekly hours
Weekly hours (Theory) ( )hr Class ( )Total hrs Workload
Weekly hours (Practical) ( )hr Class ( )Total hrs Workload
Number of Weeks
Lecturer (Theory) Zanear Shwan Ahmed E-Mail & Mobile NO. [email protected]/07501218035
Lecturer (Practical)
E-Mail & Mobile NO.
Websites
Course Book
Kurdistan Region Government
Ministry of Higher Education
and Scientific Research
Erbil Polytechnic University
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Course Description
A database management system (DBMS) is a software package
designed to define, manipulate, retrieve and manage data in a
database. A DBMS generally manipulates the data itself, the data
format, field names, record structure and file structure. It also defines
rules to validate and manipulate this data.
Database management systems are set up on specific data handling
concepts, as the practice of administrating a database evolves. The
earliest databases only handled individual single pieces of specially
formatted data. Today’s more evolved systems can handle different
kinds of less formatted data and tie them together in more ways that
are elaborate.
Course objectives
The student should develop skills and understanding in:
The design methodology for databases and verifying their structural
correctness
Implementing databases and applications software primarily in the
relational model
Using querying languages, primarily SQL, and other database supporting
software
Applying the theory behind various database models and query
languages
Implementing security and integrity policies relating to databases
The basic principles behind data warehousing and preparation for data
analytics
Working in group settings to design and implementing database
projects
Student's obligation
Students who meet classroom obligations contribute to a positive learning environment The media often focuses on a teacher’s role in making sure that students obtain a quality education. While teachers do have a strong impact on the learning process, students also have obligations to their teachers, their classmates and themselves. By fulfilling their fundamental duties, students can contribute to a positive learning experience for everyone in the classroom.
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Required Learning Materials
1- Projector. 2- Computer Lab. 3- White Board. 4- Group Activity. 5- References.
Evaluation
Task Weight
(Marks)
Due
Week
Relevant Learning
Outcome
Paper Review
Assig
nm
ents
Homework Class Activity
Report Seminar
Essay Project
Quiz Lab. Midterm Exam Final Exam Total
Specific learning outcome:
1-This course aims to develop the fundamental skills of designing and developing a relational database. 2-It helps students to be familiar with various different types of database systems as well as assist them to build, design and implement a database system for an organization or government institutional units. After successfully finishing this course, it is expected that the student will be able to: - Analyse and manage data from a relational database - Define and analyse the requirements, specifications and transaction management for an organization, company or general sectors - Design a relational database - Develop and Implement a relational database.
Course References:
Fundamentals of Database Systems, 6th ed., Elmasri &
Navathe, Addison-Wesley, 2011, ISBN: 978-013-608620-8.
Database Systems Concepts, 6th ed., Abraham S., Henry K., S.
Sudarshan, McGraw-Hill, Inc. New York, NY, USA ©2006
ISBN:0072958863 9780072958867.
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
An Introduction to Database Systems (8th Edition): C.J. Date:
9780321197849
Information Modeling and Relational Databases, Second
Edition (The Morgan Kaufmann Series in Data Management
Systems): Terry Halpin, Tony Morgan: 9780123735683 .
Joe Celko's SQL for Smarties, Fifth Edition: Advanced SQL
Programming (The Morgan Kaufmann Series in Data
Management Systems): 9780128007617 .
Course topics (Theory) Week Learning
Outcome Introduction to Databases with Advantages and Disadvantages of Database Management System.
1 What is database system, purpose of database system, view of data, relational databases, database architecture, transaction management,
Database System Architecture 2 three Level Architecture of DBMS, The External Level or Subschema, The Conceptual Level or Conceptual Schema, The Internal Level or Physical Schema, Mapping.
Data Models 3 The importance of data models, Basic building blocks, Business rules, The evolution of data models, Degrees of data abstraction.
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Database Design ,ER-Diagram 4 Database design and ER Model: overview, ER-Model, Constraints, ER-Diagrams, ERD Issues, weak entity sets.
Relational Algebra 5 Relational algebra: introduction, Selection and projection, set operations, renaming, Joins, Division, syntax, semantics. Operators, grouping and ungrouping, relational Comparison.
Normalization 6 Functional Dependency; Anomalies in a Database; Properties of Normalized Relations; First Normalization; Second Normal Form Relation; Third Normal Form; Boyce-Codd Normal Form (BNCF); Fourth and Fifth Normal Form.
Basic SQL 7 SQL Data Definition and Data Types Specifying Constraints in SQL
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Basic Retrieval Queries in SQL INSERT, DELETE, and UPDATE Statements in SQL Additional Features of SQL
More SQL: Complex Queries, Triggers, Views, and Schema Modification
8 More Complex SQL Retrieval Queries Specifying Constraints as Assertions and Actions as Triggers Views (Virtual Tables) in SQL Schema Change Statements in SQL.
Database Programming Techniques 9 Overview of Database Programming Techniques and Issues Embedded SQL, Dynamic SQL.
Query Processing and Optimization 10 Algorithms for External Sorting Algorithms for SELECT Operation Implementing the JOIN Operation Algorithms for PROJECT and Set Operations Implementing Aggregate Operations and Different Types of JOINs Combining Operations Using Pipelining
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Parallel Algorithms for Query Processing
Database Recovery Techniques 11 Recovery Concepts NO-UNDO/REDO Recovery Based on Deferred Update Recovery Techniques Based on Immediate Update Contents Shadow Paging The ARIES Recovery Algorithm Recovery in Multi-database Systems Database Backup and Recovery from Catastrophic Failures.
Distributed Database Concepts 12 Distributed Database Concepts Data Fragmentation, Replication, and Allocation Techniques for Distributed Database Design Overview of Concurrency Control and Recovery in Distributed Databases Overview of Transaction Management in Distributed Databases
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Query Processing and Optimization in Distributed Databases Types of Distributed Database Systems 865 Distributed Database Architectures Distributed Cataloge Management
Database Security 13 Introduction to Database Security Discretionary Access Control Based on Granting and Revoking Privileges Mandatory Access Control and Role
Overview of Data Warehousing and OLAP
14 Introduction, Definitions, and Terminology Characteristics of Data Warehouses Data Modelling for Data Warehouses Building a Data Warehouse Typical Functionality of a Data Warehouse Data Warehouse versus Views 29.7 Difficulties of Implementing Data Warehouses
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Data Mining Concepts 15 Overview of Data Mining Technology Association Rules Classification Clustering Approaches to Other Data Mining Problems Applications of Data Mining Commercial Data Mining Tools.
Practical Topics Week Learning
Outcome Introduction to SQL Server Environment. Hardware and Software Requirements.
1 Installing, Setup Sql Server Environment.
Basics of SQL Types of SQL Statements. 2 DDL, DML, DQL, DCL and TCL.
ER Model Overview, Data types. 3 Drawing ER Diagram and using data types.
Working with Queries (DQL). 4 Understanding Select Statement Usage of Top, Distinct, Null etc... keywords Using String and Arithmetic Expressions
Joins and Set Operations. 5 Introduction to Joins Cross Joins Inner Join Outer Join Self-Join Co-related Sub Queries Set Operations using Unions, Intersect and Except
Working with Constraints. 6 Unique Not NULL
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Primary Key Default Check Foreign Key.
Implementing Views. 7 In this module, how to create a view, advantages of views, altering and dropping a view And advanced options while creating a view.
Writing Transact-SQL (T-SQL). 8 What is T-SQL? Scripts and Batches Declaring Variables Using Statements Working with Temp tables Error Handling.
Implementing Triggers. 9 Introduction to triggers Constraints vs Triggers Creating, Altering, Dropping triggers for/after/instead of triggers Using Rollback Tran.
Questions Example Design Q #1) What is DBMS used for? Answer: DBMS, commonly known as Database Management System, is an application system whose main purpose revolves around the data. This is a system that allows its user to store the data, define it, retrieve it and update the information about the data inside the database. Q #2) Why is the use of DBMS recommended? Explain by listing some of its major advantages. Answer: Some of the major advantages of DBMS are as follows:
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Controlled Redundancy: DBMS supports a mechanism to control the redundancy of data inside the database by integrating all the data into a single database and as data is stored at only one place, the duplicity of data does not happen. Data Sharing: Sharing of data among multiple users simultaneously can also be done in DBMS as the same database will be shared among all the users and by different application programs. Backup and Recovery Facility: DBMS minimizes the pain of creating the backup of data again and again by providing a feature of ‘backup and recovery’ which automatically creates the data backup and restores the data whenever required. Enforcement of Integrity Constraints: Integrity Constraints are very important to be enforced on the data so that the refined data after putting some constraints are stored in the database and this is followed by DBMS. Independence of data: It simply means that you can change the structure of the data without affecting the structure of any of the application programs. Q #3) What are the different types of languages that are available in the DBMS? Answer: Basically, there are 3 types of languages in the DBMS as mentioned below: DDL: DDL is Data Definition Language which is used to define the database and schema structure by using some set of SQL Queries like CREATE, ALTER, TRUNCATE, DROP and RENAME. DCL: DCL is Data Control Language which is used to control the access of the users inside the database by using some set of SQL Queries like GRANT and REVOKE. DML: DML is Data Manipulation Language which is used to do some manipulations in the database like Insertion, Deletion, etc. by using some set of SQL Queries like SELECT, INSERT, DELETE and UPDATE. What is the purpose of SQL? Answer: SQL stands for Structured Query Language whose main purpose is to interact with the relational databases in the form of inserting and updating/modifying the data in the database. Q #4) Explain the concepts of a Primary key and Foreign Key.
Directorate of Quality Assurance and Accreditation خشینبهتی دڵنیایی جۆری و متمانهرایهبهڕێوهبه
Answer: Primary Key is used to uniquely identify the records in a database table while Foreign Key is mainly used to link two or more tables together, as this is a particular field(s) in one of the database tables which are the primary key of some other table. Example: There are 2 tables – Employee and Department. Both have one common field/column as ‘ID’ where ID is the primary key of the Employee table while this is the foreign key for the Department table. Q#5) What is the main difference between UNION and UNION ALL? Answer: UNION and UNION ALL are used to join the data from 2 or more tables but UNION removes duplicate rows and picks the rows which are distinct after combining the data from the tables whereas UNION ALL does not remove the duplicate rows, it just picks all the data from the tables.
Extra notes:
I have been reviewed this course book, its perfect and feet for this subject
in the level of institute student, so I have no suggestion.
Soran Abdulrahman
Assistant Lecture
(Erbil Technology Collage)
Information technology department
External Evaluator