Database management system chapter1

2,174 views

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,174
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
48
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Database management system chapter1

  1. 1. DATABASE MANAGEMENT SYSTEM ORACLE SQL AND PL/SQL PART I : Basic Concepts & Oracle SQL Teaching Aid Material (www.phindia.com/gupta) Authors invite your valuable feedback and suggestions on the book pkdasgupta@gmail.com RadhaKrishna_P@infosys.com
  2. 2. DATABASE MANAGEMENT SYSTEM ORACLE SQL AND PL/SQL PART I : Basic Concepts & Oracle SQL CHAPTER 1 Database Basics System Analysis & Design Data Flow Diagram Entity Relationship Model
  3. 3. CHAPTER 1 Database Basics 1 of 3 A database is a collection of interrelated data stored together without harmful or unnecessary redundancy ADVANTAGES OF DATABASE  Centralized management  Sharing of Database  Security DISADVANTAGES OF DATABASE  Implementation Cost  Maintenance Cost Page reference in the book: 3-5
  4. 4. CHAPTER 1 Database Basics 2 of 3 CHARACTERISTICS OF DBMS  Data Representation  Performance  Integrity  Minimal Redundancy  Privacy  Security Page reference in the book: 5
  5. 5. CHAPTER 1 Database 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 reference in the book: 6-7
  6. 6. CHAPTER 1 Software Development Life Cycle 1 of 2 SDLC MODELS     Waterfall Iterative Waterfall Prototype Evolutionary Page reference in the book: 7-10
  7. 7. CHAPTER 1 Software Development Life Cycle 2 of 2 SDLC PHASES  Feasibility study  System Analysis  System Design  Coding  Testing  Implementation  Maintenance Page reference in the book: 7-10
  8. 8. CHAPTER 1 Data 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
  9. 9. CHAPTER 1 Data Flow Diagram 2 of 4 Page reference in the book: 10-12
  10. 10. CHAPTER 1 Data Flow Diagram 3 of 4 Page reference in the book: 10-12 -
  11. 11. CHAPTER 1 Data Flow Diagram 4 of 4 Page reference in the book: 10-12
  12. 12. CHAPTER 1 Entity 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
  13. 13. CHAPTER 1 Entity 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
  14. 14. CHAPTER 1 Entity Relationship Model 3 of 4 EXTENDED ER MODEL COMPONENTS Page reference in the book: 13-17
  15. 15. CHAPTER 1 Entity Relationship Model 4 of 4 Page reference in the book: 13-17
  16. 16. CHAPTER 1 Short/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 software industry? 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 in ER model. Q9. How module is ER represented in the tabular form?
  17. 17. CHAPTER 1 Short/Objective Type Questions 2 of 5 Q10. (a) (b) (c) (d) The DFD of an application mainly shows Processing requirements and the flow of data Decision and control information Communication network structure Entity relationship model Q11. (a) (b) (c) (d) In an ER diagram, ellipse represents Entity set Attributes Generalization Specialization Q12. (a) (b) (c) (d) ER modeling technique is a Bottom-up approach Black-box approach Top-down approach White-box approach
  18. 18. CHAPTER 1 Short/Objective Type Questions 3 of 5 Q13. Primary job of database administration is/are a. Backup b. Recovery c. Fine-tuning d. None of the above Q14. Low-level data representation deals with a. Number of records b. Physical storage of data c. Logical representation of data d. None of the above Q15. Match the following w.r.t. a. Internal level b. External level c. Conceptual level DBMS. a. View level b. Physical level c. Logical level
  19. 19. CHAPTER 1 Short/Objective Type Questions 4 of 5 Q16. (a) (b) (c) (d) Record based model(s) is/are ER model Network model Hierarchical model Physical data model Q17. The number of phases in SDLC is a. 5 b. 6 c. 7 d. 8 Q18. (a) (b) (c) (d) In SDLC, DFD and ER models are part of Feasibility study System analysis System design System study
  20. 20. CHAPTER 1 Short/Objective Type Questions 5 of 5 Q19. In ER model, derived attribute is represented by a. Double rectangle b. Double diamond c. Dotted ellipse d. Dotted rectangle Q20. In ER model, degree of relationship is based on a. Number of attributes b. Number of entities c. Number of relations d. None of the above
  21. 21. CHAPTER 1 Home Assignment WORKOUT SECTION
  22. 22. DATABASE MANAGEMENT SYSTEM ORACLE SQL AND PL/SQL PART I : Basic Concepts & Oracle SQL Periods Proposed - 10 Chapter 1 Database Basics, System Analysis & Design, Data Flow Diagram & ER Model 2 Periods [Theory] Chapter 2 Relational Algebra and Normal Forms 2 Periods [Theory] Chapter 3 SQL Basics, Functions, Sub query & Joins 1 Period [Theory] 2 Period [Practical] Chapter 4 Data Manipulation Language, Objects, Constraints and Security in Oracle 1 Period [Theory] 2 Period [Practical]
  23. 23. THE BOOK The book is organized into three parts to introduce the theoretical 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, object constraints and security in Oracle. Part II (Application Using Oracle PL/SQL) explains PL/SQL basics, functions, procedures, packages, exception handling, triggers, implicit, explicit and advanced cursors using suitable examples. This part also covers advanced concepts related to PL/SQL, such as collection, records, objects, dynamic SQL and performance tuning. Part III (Advanced Concepts and Technologies) elaborates on advanced database concepts such as query processing, file organization, distributed architecture, backup, recovery, data warehousing, online analytical processing and data mining concepts and their techniques. KEY FEATURES  Includes about 300 examples to illustrate the concepts.  Offers about 400 objective type questions.  Provides about 100 challenging workouts. TEACHING AID MATERIAL Teaching Aid Material for all the chapters is provided on the website of PHI Learning. Visit www.phindia.com/gupta to explore the contents.
  24. 24. Visit PHI Learning Center www.phindia.com/gupta and Click on Instructor Resources to access Teaching Aid Material for all the 18 chapters of the book.

×