24
Teaching Aid Material (www.phindia.com/gupta) Authors invite your valuable feedback and suggestions on the book [email protected] [email protected] DATABASE MANAGEMENT SYSTEM ORACLE SQL AND PL/SQL PART I : Basic Concepts & Oracle SQL

Database management system chapter1

Embed Size (px)

DESCRIPTION

Database management system, Oracle SQL and PL/SQL - Chapter1

Citation preview

Page 1: Database management system chapter1

Teaching Aid Material

(www.phindia.com/gupta)

Authors invite your valuable feedback and suggestions on the [email protected]

[email protected]

DATABASE MANAGEMENT SYSTEM ORACLE SQL AND PL/SQL

PART I : Basic Concepts & Oracle SQL

Page 2: Database management system chapter1

CHAPTER 1

Database BasicsSystem Analysis & Design

Data Flow Diagram Entity Relationship Model

DATABASE MANAGEMENT SYSTEM ORACLE SQL AND PL/SQL

PART I : Basic Concepts & Oracle SQL

Page 3: Database management system chapter1

Page reference in the book: 3-5

CHAPTER 1Database Basics

1 of 3

A database is a collection of interrelated datastored together without harmful or unnecessaryredundancy

ADVANTAGES OF DATABASE Centralized management Sharing of Database Security

DISADVANTAGES OF DATABASE Implementation Cost Maintenance Cost

Page 4: Database management system chapter1

Page reference in the book: 5

CHAPTER 1Database Basics

2 of 3

CHARACTERISTICS OF DBMS Data Representation Performance Integrity Minimal Redundancy Privacy Security

Page 5: Database management system chapter1

Page reference in the book: 6-7

CHAPTER 1Database Basics

3 of 3

DBMS ARCHITECTURE Internal Level Conceptual Level External Level

DBMS MODELS Record-Based Model [ Ex. Network, Hierarchical & Relational]

Object-based Database Model Physical Data Model

Page 6: Database management system chapter1

Page reference in the book: 7-10

CHAPTER 1Software Development Life Cycle

1 of 2

SDLC MODELS Waterfall Iterative Waterfall Prototype Evolutionary

Page 7: Database management system chapter1

Page reference in the book: 7-10

CHAPTER 1Software Development Life Cycle

2 of 2

SDLC PHASES Feasibility study System Analysis System Design Coding Testing Implementation Maintenance

Page 8: Database management system chapter1

CHAPTER 1Data Flow Diagram

1 of 4

Pictorial way of showing the flow of data into,around and out of a system

MAJOR COMPONENTS Process Data Flow External Entity Data Stores

Page reference in the book: 10-12

Page 9: Database management system chapter1

CHAPTER 1Data Flow Diagram

2 of 4

Page reference in the book: 10-12

Page 10: Database management system chapter1

CHAPTER 1Data Flow Diagram

3 of 4

Page reference in the book: 10-12 -

Page 11: Database management system chapter1

CHAPTER 1Data Flow Diagram

4 of 4

Page reference in the book: 10-12

Page 12: Database management system chapter1

CHAPTER 1Entity Relationship Model

1 of 4

ER Model is a high-level database design modeling technique.

ER Model use a set of constructs and rules to provide a precise representation of the data content, structure and constraints required by an application.

Page reference in the book: 13-17

Page 13: Database management system chapter1

CHAPTER 1Entity Relationship Model

2 of 4

CARDINALITY

One to One : Country and its capital

One to Many : State and cities

Many to Many : Parents and their children

Page reference in the book: 13-17

Page 14: Database management system chapter1

CHAPTER 1Entity Relationship Model

3 of 4

EXTENDED ER MODEL COMPONENTS

Page reference in the book: 13-17

Page 15: Database management system chapter1

CHAPTER 1Entity Relationship Model

4 of 4

Page reference in the book: 13-17

Page 16: Database management system chapter1

CHAPTER 1Short/Objective Type Questions

1 of 5

Q1. What is the role of ‘security’ in DBMS?

Q2. What do you mean by ‘maintenance’ of a database?

Q3. Briefly describe various types of database models.

Q4. Mention name of two customer friendly SDLC modules.

Q5. Which phase of SDLC generates the maximum revenue in the softwareindustry?

Q6. Describe black box, white box, alpha and beta level test strategies.

Q7. Describe four major components of data flow diagram.

Q8. Elaborate the terms aggregation, generalization and specializations inER model.

Q9. How module is ER represented in the tabular form?

Page 17: Database management system chapter1

CHAPTER 1Short/Objective Type Questions

2 of 5

Q10. The DFD of an application mainly shows(a) Processing requirements and the flow of data(b) Decision and control information(c) Communication network structure (d) Entity relationship model

Q11. In an ER diagram, ellipse represents(a) Entity set(b) Attributes (c) Generalization(d) Specialization

Q12. ER modeling technique is a (a) Bottom-up approach(b) Black-box approach(c) Top-down approach(d) White-box approach

Page 18: Database management system chapter1

CHAPTER 1Short/Objective Type Questions

3 of 5

Q13. Primary job of database administration is/are a. Backupb. Recoveryc. Fine-tuningd. None of the above

Q14. Low-level data representation deals witha. Number of records b. Physical storage of datac. Logical representation of data d. None of the above

Q15. Match the following w.r.t. DBMS.a. Internal level a. View levelb. External level b. Physical levelc. Conceptual level c. Logical level

Page 19: Database management system chapter1

CHAPTER 1Short/Objective Type Questions

4 of 5

Q16. Record based model(s) is/are(a) ER model (b) Network model (c) Hierarchical model (d) Physical data model

Q17. The number of phases in SDLC isa. 5b. 6c. 7d. 8

Q18. In SDLC, DFD and ER models are part of (a) Feasibility study(b) System analysis(c) System design(d) System study

Page 20: Database management system chapter1

CHAPTER 1Short/Objective Type Questions

5 of 5

Q19. In ER model, derived attribute is represented bya. Double rectangleb. Double diamondc. Dotted ellipsed. Dotted rectangle

Q20. In ER model, degree of relationship is based ona. Number of attributes b. Number of entities c. Number of relationsd. None of the above

Page 21: Database management system chapter1

CHAPTER 1Home Assignment

WORKOUT SECTION

Page 22: Database management system chapter1

Periods Proposed - 10

Chapter 1Database Basics, System Analysis & Design, Data Flow Diagram & ER Model

2 Periods [Theory]

Chapter 2Relational Algebra and Normal Forms

2 Periods [Theory]

Chapter 3SQL Basics, Functions, Sub query & Joins

1 Period [Theory]2 Period [Practical]

Chapter 4Data Manipulation Language, Objects, Constraints and Security in Oracle

1 Period [Theory]2 Period [Practical]

DATABASE MANAGEMENT SYSTEM ORACLE SQL AND PL/SQL

PART I : Basic Concepts & Oracle SQL

Page 23: Database management system chapter1

THE BOOKThe book is organized into three parts to introduce thetheoretical and programming concepts of DBMS. Part I(Basic Concepts and Oracle SQL) deals with DBMS basic,software analysis and design, data flow diagram, ER model,relational algebra, normal forms, SQL queries, functions,sub‐queries, different types of joins, DCL, DDL, DML, objectconstraints and security in Oracle. Part II (Application UsingOracle PL/SQL) explains PL/SQL basics, functions,procedures, packages, exception handling, triggers, implicit,explicit and advanced cursors using suitable examples. Thispart also covers advanced concepts related to PL/SQL, suchas collection, records, objects, dynamic SQL andperformance tuning. Part III (Advanced Concepts andTechnologies) elaborates on advanced database conceptssuch as query processing, file organization, distributedarchitecture, backup, recovery, data warehousing, onlineanalytical processing and data mining concepts and theirtechniques.

KEY FEATURES Includes about 300 examples to illustrate the concepts. Offers about 400 objective type questions. Provides about 100 challenging workouts.

TEACHING AID MATERIALTeaching Aid Material for all the chapters is provided on thewebsite of PHI Learning. Visit www.phindia.com/gupta toexplore the contents.

Page 24: Database management system chapter1

Visit PHI Learning Center www.phindia.com/gupta and Click on Instructor Resources toaccess Teaching Aid Material for all the 18 chapters of the book.