DATABASE DEVELOPMENT (H4)

Size: px
Start display at page:

Download "DATABASE DEVELOPMENT (H4)"

Transcription

1 IMIS HIGHER DIPLOMA QUALIFICATIONS DATABASE DEVELOPMENT (H4) Friday 3 rd June :00hrs 13:00hrs DURATION: 3 HOURS Candidates should answer ALL the questions in Part A and THREE of the five questions in Part B. Part A carries 40% of the marks available and Part B carries 60%. Candidates should allocate their time accordingly. No reference material of any kind may be taken into the examination. [Turn over] Page 1 of 9

2 PART A. Answer ALL questions in this section Question A1 Describe two reasons why an attribute would have an index associated with it. - The main reason is to achieve performance. - Used to quickly locate data without having to search all rows in a table - Include examples of use up to 3 examples For example: o include to index a primary key field o Index attributes used most for join operations o Non-key attributes that are searched on frequently Question A2 Describe, with examples, what is meant by entity and referential integrity. Entity integrity applies to primary keys Referential integrity applies to foreign keys Entity integrity means no attribute of the primary key can be null Referential integrity means any values must either match a value in the related primary key value, or must be null Question A3 List five disadvantages of a distributed database system. Any 5 of the following, or equivalent ( each): - Complexity - Cost - Security - Integrity control more difficult - Lack of standards - Database design more complex Page 2 of 9

3 Question A4 Explain the term location transparency in the context of a distributed database management system. - Location is the middle level of distribution transparency - User knows data has been distributed, but does not know location of data - E.g., SELECT name FROM E1 UNION SELECT name FROM E2 - Database can be physically reorganised without impacting on programs that access them Question A5 Describe, with examples, two limitations of the file based approach. Two of the following, with examples: - Separation and isolation of data - Duplication of data - Data dependence - Incompatible file formats - Fixed queries for each limitation, up to for the examples. Question A6 Explain briefly what data mining means. An answer along the lines of the definition found in T1 is acceptable, which explains that data mining is the process of extracting previously unknown, comprehensible and actionable information for a large database and use it to make business decisions. Question A7 By means of a diagram, describe the three levels of the ANSI-SPARC Architecture. (5marks) The candidate should use a diagram to show the three levels: External, Conceptual and Internal levels. External should represent the way users view the data. Internal is how the DBMS and Operating System perceive the data. The conceptual level represents the mapping and independence between the external and internal levels.the levels separate the users view from the physical representation. Question A8 Show how the following relational heading can be created in SQL: Page 3 of 9

4 STAFF(staff_No, name, date_of_birth, salary) CREATE TABLE STAFF (staff_no NUMBER(6) PRIMARY KEY, Name VARCHAR(20), Date_of_birth DATE, Salary NUMBER(7,2)); for CREATE TABLE, for PRIMARY KEY, for attributes with appropriate data types and syntax. Question B9 PART B. Answer any THREE of the following FIVE questions. Use the following tables to answer the questions below: Employee Table Department Table Emp_No Emp_Name Start_Date Dept Dept_No Dept_Name 1234 John Smith 01-Jul Sales 2345 Julie Brown 15-May Research 3456 Tom Jones 01-Mar Human Resources 2245 Susan Sharp 01-Feb Manufacturing 1498 Peter Thomas 15-Sept Vera Jones 25-Jun Ali Patel 15-Oct a. Write a SQL statement to produce a list of all the records in the Employee Table. SELECT * FROM EMPLOYEE; 1 for SELECT 1 for * 1 for correct table name (3 marks) b. Write a SQL statement to produce the Emp_No, Emp_Name, Start_Date of all employees who work in department 20. (4 marks) SELECT Emp_No, Emp_name, Start_Date FROM Employee WHERE Dept_No = 20 for SELECT Page 4 of 9

5 for correct column list for correct table name for correct WHERE modifier c. Write a SQL statement to produce a list of employee names (Emp_Name) who started on or after the 1 st January SELECT Emp_Name FROM Employee WHERE Start_Date >= 01-Jan-2000 ; for SELECT for correct column list for correct table name for correct WHERE modifier (4 marks) d. Write a SQL statement that produces a list of department names that have no employees. Can be written using an OUTER JOIN or subquery, for example: SELECT Dept_Name from Department WHERE Dept_No NOT IN (SELECT Dept_No FROM Employee) for SELECT for correct column list for correct table names for correct WHERE modifier e. It has been decided that the budget for the department needs to be stored, for example: Dept_No Dept_Name Budget 10 Sales 10, Research 500, Human Resources 15, Manufacturing 25,000 Write a SQL statement to make this change to the table structure. (4 marks) ALTER TABLE DEPT ADD (Budget NUMBER(6)); for ALTER TABLE Page 5 of 9

6 for ADD for BUDGET for suitable type (e.g. number or currency type) (Total 20 marks) Question B10 Bill Inmon provides a definition of a data warehouse that they are: a) Subject-oriented; The data warehouse is organised round subject areas, such as customers, or sales, rather than application areas, such as stock control. This is due to storing decision support data rather than application oriented data. b) Integrated; A data warehouse will bring together data from various sources.the source data may be in different formats that are inconsistent. For example, metric and imperial measurements. The integrated data needs to be made consistent to give a unified view. c) Time-variant; Historical data is kept in a data warehouse. Data in the warehouse is only accurate at a given time or time period, such as 3 months. The data represents a series of snap-shots. In an OLTP system only the most recent data is usually kept. For example, an OLTP system may hold the most recent address of a customer, where a data warehouse holds all addresses associated with a customer. d) Non-volatile Data in a data warehouse is not updated in real-time, instead data is refreshed from operational systems on a regular basis. Once in the data warehouse the data will not change, unlike OLTP systems, where updates will replace existing data. The data warehouse continually absorbs new data, incrementally integrating it with the previous data. Describe, with examples, what each of these mean and explain how they contrast to an online transaction processing system (OLTP). (Total 20 marks) Question B11 A College maintains information about departments, courses, modules, students and staff. Page 6 of 9

7 A course has a course code (unique), title and start date A module has a module number (unique), name and number of credits A department has a department name (unique) and location A student has a number (unique), name and address A member of staff has a staff number (unique), name and salary A course consists of a number of modules. A module is associated with one course only Each student can take a number of modules. Each module can be taken by a number of students. Some new modules may not have any students yet Each student obtains an overall grade for each module they take Each module is led by a member of staff who belongs to a department A department employs a number of staff Each department runs a number of courses. A course is run by only one department Draw a conceptual module for the above requirements, showing the entities, relationships and attributes. State any assumptions made Sample ER diagram below. UML class diagrams may also be produced, or any other appropriate conceptual diagram per entity per relationship ( for correct cardinality and for correct particiaption constraints) for correct placement of attributes. (Total 20 marks) Page 7 of 9

8 Question B12 In the context of an international bank, describe what each of the following roles would involve in a database environment: Data administrator (DA) - Responsible for management of the data - Includes planning, development, policies and procedures - Responsible for the conceptual and logical design - Liaises with senior managers - Ensures database system would fulfil requirements of the bank, ensures legal requirements covered, such as the UK DPA Database administrator (DBA) - Responsible for the physical requirements of the database - Includes physical design and implementation, security - Maintenance of the database - More technically oriented than data administrator, DBA would be more concerned with keeping the banking systems up and running efficiently Database designer - Can be two types: logical and physical designers - Logical concerned with identifying the data requirements, defining the entities, relationships, business rules - Will produce conceptual and logical designs, such an ER diagram and the mapping to relational tables - Physical designer concerned with how logical design is physically realised, such as creating the tables and any constraints - Would include any security and performance features, such as indexes - In a banking environment logical designer may liaise with DA and maybe others to produce the design End users - These are the users of the database systems developed - Can be two types: naïve and sophisticated - Naïve would be the customers of the bank, most banks would now have an online presence, so system has to be usable by users with little technical skills - Sophisticated could be non-database staff working for the bank, who may have some knowledge of the database structure and could want access via a database tool, or high level language such as SQL 5 marks each per point, up to 5 for each role. Should include a bank specific example for full marks. (Total 20 marks) Page 8 of 9

9 Question B13 a) Garbage in Garbage out (GIGO) is a term that could be applied to a poorly maintained database system. Describe, with examples, 4 techniques that could be used to control the integrity of a database system. The following can be discussed: - Required data and the use of NULL - Domain constraints - Entity integrity - Referential integrity - General constraints 16 marks 4 marks each Other appropriate techniques will be accepted. for technique, for description for example, up to 4 per technique. b) Describe a tool that can be used to monitor the performance of a database management system (DBMS) and explain how the tool helps a Database Administrator (DBA). 4 marks This question is open to a number of answers, different tools provided by Oracle, DB2, SQL Server, etc. can be included. E.g., Oracle s SQL Tuning Advisor, Automatic Database Diagnostic Monitor. For full marks, the candidate should say why the tool helps a DBA. END OF EXAMINATION (Total 20 marks) Page 9 of 9

DATABASE DEVELOPMENT (H4)

DATABASE DEVELOPMENT (H4) IMIS HIGHER DIPLOMA QUALIFICATIONS DATABASE DEVELOPMENT (H4) December 2017 10:00hrs 13:00hrs DURATION: 3 HOURS Candidates should answer ALL the questions in Part A and THREE of the five questions in Part

More information

Database Development (H4)

Database Development (H4) IMIS HIGHER DIPLOMA QUALIFICATIONS Database Development (H4) Thursday 30 th November 2017 10:00hrs 13:00hrs DURATION: 3 HOURS Candidates should answer ALL EIGHT questions in Part A and THREE of the FIVE

More information

The Relational Model. Why Study the Relational Model? Relational Database: Definitions

The Relational Model. Why Study the Relational Model? Relational Database: Definitions The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS

BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS Thursday 28th September 2017 Morning Answer any FOUR questions out of SIX. All questions

More information

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?

More information

King Fahd University of Petroleum and Minerals

King Fahd University of Petroleum and Minerals 1 King Fahd University of Petroleum and Minerals Information and Computer Science Department ICS 334: Database Systems Semester 041 Major Exam 1 18% ID: Name: Section: Grades Section Max Scored A 5 B 25

More information

MURANG A UNIVERSITY OF TECHNOLOGY

MURANG A UNIVERSITY OF TECHNOLOGY MURANG A UNIVERSITY OF TECHNOLOGY SCHOOL OF COMPUTING AND INFORMATION TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY UNIVERSITY POSTGRADUATE EXAMINATION 2017/2018 ACADEMIC YEAR FIRST YEAR FIRST SEMESTER

More information

Chapter. Relational Database Concepts COPYRIGHTED MATERIAL

Chapter. Relational Database Concepts COPYRIGHTED MATERIAL Chapter Relational Database Concepts 1 COPYRIGHTED MATERIAL Every organization has data that needs to be collected, managed, and analyzed. A relational database fulfills these needs. Along with the powerful

More information

KINGDOM OF SAUDI ARABIA-JAZAN UNIVERSITY COLLEGE OF COMPUTER SCIENCE & INFORMATION SYSTEMS 221 INFS 3 DATABASE SYSTEMS-1 REVIEW QUESTIONS

KINGDOM OF SAUDI ARABIA-JAZAN UNIVERSITY COLLEGE OF COMPUTER SCIENCE & INFORMATION SYSTEMS 221 INFS 3 DATABASE SYSTEMS-1 REVIEW QUESTIONS KINGDOM OF SAUDI ARABIA-JAZAN UNIVERSITY COLLEGE OF COMPUTER SCIENCE & INFORMATION SYSTEMS 221 INFS 3 DATABASE SYSTEMS-1 REVIEW QUESTIONS Chapter 1: Databases and Database Users 1. Define the following

More information

UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE BSC (HONS) COMPUTING SEMESTER ONE EXAMINATION 2015/2016 DATABASE THEORY AND PRACTICE

UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE BSC (HONS) COMPUTING SEMESTER ONE EXAMINATION 2015/2016 DATABASE THEORY AND PRACTICE OCD52 UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE BSC (HONS) COMPUTING SEMESTER ONE EXAMINATION 2015/2016 DATABASE THEORY AND PRACTICE MODULE NO: CPU5002 Date: Wednesday, 13 January 2016 Time:

More information

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement GIFT Department of Computing Science [Spring 2013] CS-217: Database Systems Lab-2 Manual Data Selection and Filtering using the SELECT Statement V1.0 4/12/2016 Introduction to Lab-2 This lab reinforces

More information

UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE. BSc (HONS) COMPUTING SEMESTER ONE EXAMINATION 2018/2019 DATABASE THEORY AND PRACTICE

UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE. BSc (HONS) COMPUTING SEMESTER ONE EXAMINATION 2018/2019 DATABASE THEORY AND PRACTICE OCD046 UNIVERSITY OF BOLTON WESTERN INTERNATIONAL COLLEGE FZE BSc (HONS) COMPUTING SEMESTER ONE EXAMINATION 2018/2019 DATABASE THEORY AND PRACTICE MODULE NO: CPU5002 Date: Saturday 12th January 2019 Time:

More information

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601 Techno India Batanagar Computer Science and Engineering Model Questions Subject Name: Database Management System Subject Code: CS 601 Multiple Choice Type Questions 1. Data structure or the data stored

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

Sample Question Paper

Sample Question Paper Sample Question Paper Marks : 70 Time:3 Hour Q.1) Attempt any FIVE of the following. a) List any four applications of DBMS. b) State the four database users. c) Define normalization. Enlist its type. d)

More information

Relational Model History. COSC 416 NoSQL Databases. Relational Model (Review) Relation Example. Relational Model Definitions. Relational Integrity

Relational Model History. COSC 416 NoSQL Databases. Relational Model (Review) Relation Example. Relational Model Definitions. Relational Integrity COSC 416 NoSQL Databases Relational Model (Review) Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Relational Model History The relational model was proposed by E. F. Codd

More information

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010 CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE III SEMESTER - B.E COMPUTER SCIENCE AND ENGINEERING QUESTION BANK - CS6302 DATABASE MANAGEMENT SYSTEMS UNIT I 1. What are the disadvantages of file processing system? 2.

More information

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept]

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] 1. What is DBMS? A Database Management System (DBMS) is a program that controls creation, maintenance and use

More information

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 RAJIV GANDHI COLLEGE OF ENGINEERING & TECHNOLOGY, KIRUMAMPAKKAM-607 402 DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

More information

UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES GROUP COMPUTING TECHNOLOGY SEMESTER ONE EXAMINATION 2018/2019 DATABASE THEORY & PRACTICE MODULE NO: CPU5002

UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES GROUP COMPUTING TECHNOLOGY SEMESTER ONE EXAMINATION 2018/2019 DATABASE THEORY & PRACTICE MODULE NO: CPU5002 [CRT05] UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES GROUP COMPUTING TECHNOLOGY SEMESTER ONE EXAMINATION 2018/2019 DATABASE THEORY & PRACTICE MODULE NO: CPU5002 Date: Monday 14 th January 2019 Time: 10:00

More information

SYSTEM CODE COURSE NAME DESCRIPTION SEM

SYSTEM CODE COURSE NAME DESCRIPTION SEM Course: CS691- Database Management System Lab PROGRAMME: COMPUTER SCIENCE & ENGINEERING DEGREE:B. TECH COURSE: Database Management System Lab SEMESTER: VI CREDITS: 2 COURSECODE: CS691 COURSE TYPE: Practical

More information

Chapter 6. Foundations of Business Intelligence: Databases and Information Management VIDEO CASES

Chapter 6. Foundations of Business Intelligence: Databases and Information Management VIDEO CASES Chapter 6 Foundations of Business Intelligence: Databases and Information Management VIDEO CASES Case 1a: City of Dubuque Uses Cloud Computing and Sensors to Build a Smarter, Sustainable City Case 1b:

More information

TIM 50 - Business Information Systems

TIM 50 - Business Information Systems TIM 50 - Business Information Systems Lecture 15 UC Santa Cruz May 20, 2014 Announcements DB 2 Due Tuesday Next Week The Database Approach to Data Management Database: Collection of related files containing

More information

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline B.C.A 2017-18 DATA BASE MANAGEMENT SYSTEM Course Outline MODULE SPECIFICATION SHEET This course introduces the fundamental concepts necessary for designing, using and implementing database systems and

More information

Course Outline Faculty of Computing and Information Technology

Course Outline Faculty of Computing and Information Technology Course Outline Faculty of Computing and Information Technology Title Code Instructor Name Credit Hours Prerequisite Prerequisite Skill/Knowledge/Understanding Category Course Goals Statement of Course

More information

Fundamentals of Information Systems, Seventh Edition

Fundamentals of Information Systems, Seventh Edition Chapter 3 Data Centers, and Business Intelligence 1 Why Learn About Database Systems, Data Centers, and Business Intelligence? Database: A database is an organized collection of data. Databases also help

More information

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions. Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated

More information

Objective. The goal is to review material covered in Chapters 1-5. Do the following questions from the book.

Objective. The goal is to review material covered in Chapters 1-5. Do the following questions from the book. CSCE 4523 Assignment 2 - Due Sunday, Feb. 19, 2017; 11:59pm on Blackboard This assignment may be done in pairs (undergrads only). Grad students must do the assignment individually. Objective The goal is

More information

Logical Database Design. ICT285 Databases: Topic 06

Logical Database Design. ICT285 Databases: Topic 06 Logical Database Design ICT285 Databases: Topic 06 1. What is Logical Database Design? Why bother? Bad logical database design results in bad physical database design, and generally results in poor database

More information

To understand the concept of candidate and primary keys and their application in table creation.

To understand the concept of candidate and primary keys and their application in table creation. CM0719: Database Modelling Seminar 5 (b): Candidate and Primary Keys Exercise Aims: To understand the concept of candidate and primary keys and their application in table creation. Outline of Activity:

More information

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems DATABASE MANAGEMENT SYSTEMS UNIT I Introduction to Database Systems Terminology Data = known facts that can be recorded Database (DB) = logically coherent collection of related data with some inherent

More information

Creating SQL Tables and using Data Types

Creating SQL Tables and using Data Types Creating SQL Tables and using Data Types Aims: To learn how to create tables in Oracle SQL, and how to use Oracle SQL data types in the creation of these tables. Outline of Session: Given a simple database

More information

UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES GROUP COMPUTING TECHNOLOGY SEMESTER ONE EXAMINATION 2017/2018 DATABASE THEORY & PRACTICE MODULE NO: CPU5002

UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES GROUP COMPUTING TECHNOLOGY SEMESTER ONE EXAMINATION 2017/2018 DATABASE THEORY & PRACTICE MODULE NO: CPU5002 [CRT01] UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES GROUP COMPUTING TECHNOLOGY SEMESTER ONE EXAMINATION 2017/2018 DATABASE THEORY & PRACTICE MODULE NO: CPU5002 Date: Monday 15 th January 2018 Time: 10:00

More information

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World Chapter 10 Managing a Database Discovering Computers 2012 Your Interactive Guide to the Digital World Databases, Data, and Information Database Collection of data organized in a manner that allows access,

More information

Relational Database Management Systems Oct I. Section-A: 5 X 4 =20 Marks

Relational Database Management Systems Oct I. Section-A: 5 X 4 =20 Marks Relational Database Management Systems Oct 2015 1 I. Section-A: 5 X 4 =20 Marks 1. Data Consistency Files and application programs are created by different programmers over a long period of time, the files

More information

Objectives. After completing this lesson, you should be able to do the following:

Objectives. After completing this lesson, you should be able to do the following: Objectives After completing this lesson, you should be able to do the following: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries Write single-row

More information

Course Logistics & Chapter 1 Introduction

Course Logistics & Chapter 1 Introduction CMSC 461, Database Management Systems Spring 2018 Course Logistics & Chapter 1 Introduction These slides are based on Database System Concepts book th edition, and the 2009 CMSC 461 slides by Dr. Kalpakis

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Chapter 2: Intro. To the Relational Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS is Collection of

More information

The Relational Model Constraints and SQL DDL

The Relational Model Constraints and SQL DDL The Relational Model Constraints and SQL DDL Week 2-3 Weeks 2-3 MIE253-Consens 1 Schedule Week Date Lecture Topic 1 Jan 9 Introduction to Data Management 2 Jan 16 The Relational Model 3 Jan. 23 Constraints

More information

An Introduction to Structured Query Language

An Introduction to Structured Query Language An Introduction to Structured Query Language Alexandra Roatiş David R. Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Winter 2016 CS 348 SQL Winter

More information

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 IS220 : Database Fundamentals College of Computer and Information Sciences - Information Systems Dept. Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 Ref. Chapter6 Prepared by L.

More information

School of Computer Science and Software Engineering. 2nd SEMESTER EXAMINATIONS 2007 CITS3240 DATABASES

School of Computer Science and Software Engineering. 2nd SEMESTER EXAMINATIONS 2007 CITS3240 DATABASES School of Computer Science and Software Engineering 2nd SEMESTER EXAMINATIONS 2007 SURNAME: GIVEN NAMES: STUDENT NO: SIGNATURE: This paper contains: 9 pages (including the title page) Time allowed: 2 hours

More information

UNIT I. Introduction

UNIT I. Introduction UNIT I Introduction Objective To know the need for database system. To study about various data models. To understand the architecture of database system. To introduce Relational database system. Introduction

More information

Birkbeck. (University of London) BSc/FD EXAMINATION. Department of Computer Science and Information Systems. Database Management (COIY028H6)

Birkbeck. (University of London) BSc/FD EXAMINATION. Department of Computer Science and Information Systems. Database Management (COIY028H6) Birkbeck (University of London) BSc/FD EXAMINATION Department of Computer Science and Information Systems Database Management (COIY028H6) CREDIT VALUE: 15 credits Date of examination: Monday 9th June 2014

More information

Introduction to Data Management. Lecture #4 (E-R Relational Translation)

Introduction to Data Management. Lecture #4 (E-R Relational Translation) Introduction to Data Management Lecture #4 (E-R Relational Translation) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements v Today

More information

Database Technology Introduction. Heiko Paulheim

Database Technology Introduction. Heiko Paulheim Database Technology Introduction Outline The Need for Databases Data Models Relational Databases Database Design Storage Manager Query Processing Transaction Manager Introduction to the Relational Model

More information

Database Applications (15-415)

Database Applications (15-415) Database Applications (15-415) The Relational Model Lecture 3, January 18, 2015 Mohammad Hammoud Today Last Session: The entity relationship (ER) model Today s Session: ER model (Cont d): conceptual design

More information

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries T E H U N I V E R S I T Y O H F R G E D I N B U CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries Chris Walton (cdw@dcs.ed.ac.uk) 11 February 2002 Multiple Tables 1 Redundancy requires excess

More information

Basant Group of Institution

Basant Group of Institution Basant Group of Institution Visual Basic 6.0 Objective Question Q.1 In the relational modes, cardinality is termed as: (A) Number of tuples. (B) Number of attributes. (C) Number of tables. (D) Number of

More information

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model Database Design Section1 - Introduction 1-1 Introduction to the Oracle Academy o Give examples of jobs, salaries, and opportunities that are possible by participating in the Academy. o Explain how your

More information

Introduction Database Technology [DBTECO601]

Introduction Database Technology [DBTECO601] Introduction Database Technology [DBTECO601] Thomas D. Devine http://www.noucamp.org thomas.devine@lyit.ie September 8, 2008 1 Contents 1 Document Information 4 2 Introduction 4 3 Traditional File-Based

More information

ER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1

ER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1 ER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1 ER Diagram ID-Dependent and Weak Entities Ray Lockwood Points: An ID-dependent entity is an entity whose identifier (key) includes the identifier

More information

School of Computing, Engineering and Information Sciences University of Northumbria. Set Operations

School of Computing, Engineering and Information Sciences University of Northumbria. Set Operations Set Operations Aim: To understand how to do the equivalent of the UNION, DIFFERENCE and INTERSECT set operations in SQL. Outline of Session: Do some example SQL queries to learn to differentiate between

More information

Mahathma Gandhi University

Mahathma Gandhi University Mahathma Gandhi University BSc Computer science III Semester BCS 303 OBJECTIVE TYPE QUESTIONS Choose the correct or best alternative in the following: Q.1 In the relational modes, cardinality is termed

More information

Normalization in DBMS

Normalization in DBMS Unit 4: Normalization 4.1. Need of Normalization (Consequences of Bad Design-Insert, Update & Delete Anomalies) 4.2. Normalization 4.2.1. First Normal Form 4.2.2. Second Normal Form 4.2.3. Third Normal

More information

Lecture 02. Fall 2017 Borough of Manhattan Community College

Lecture 02. Fall 2017 Borough of Manhattan Community College Lecture 02 Fall 2017 Borough of Manhattan Community College 1 2 Introduction A major aim of a database system is to provide users with an abstract view of data, hiding certain details of how data is stored

More information

EASTERN ARIZONA COLLEGE Database Design and Development

EASTERN ARIZONA COLLEGE Database Design and Development EASTERN ARIZONA COLLEGE Database Design and Development Course Design 2016-2017 Course Information Division Business Course Number CMP 280 Title Database Design and Development Credits 3 Developed by Lydia

More information

Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment

Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment Introductory concepts of DBMS 1. Explain detailed 3-level architecture

More information

School of Computing and Information Technology. Examination Paper Autumn Session 2017

School of Computing and Information Technology. Examination Paper Autumn Session 2017 School of Computing and Information Technology CSIT115 Data Management and Security Wollongong Campus Student to complete: Family name Other names Student number Table number Examination Paper Autumn Session

More information

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World Discovering Computers Fundamentals, 2011 Edition Living in a Digital World Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe the qualities

More information

Database Management Systems,

Database Management Systems, Database Management Systems Database Design (2) 1 Topics Data Base Design Logical Design (Review) Physical Design Entity Relationship (ER) Model to Relational Model Entity Relationship Attributes Normalization

More information

Review for Exam 1 CS474 (Norton)

Review for Exam 1 CS474 (Norton) Review for Exam 1 CS474 (Norton) What is a Database? Properties of a database Stores data to derive information Data in a database is, in general: Integrated Shared Persistent Uses of Databases The Integrated

More information

0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart

More information

Conceptual Design. The Entity-Relationship (ER) Model

Conceptual Design. The Entity-Relationship (ER) Model Conceptual Design. The Entity-Relationship (ER) Model CS430/630 Lecture 12 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Database Design Overview Conceptual design The Entity-Relationship

More information

namib I A U n IVERS I TY

namib I A U n IVERS I TY namib I A U n IVERS I TY OF SCIEnCE AnD TECH n 0 LOGY FACULTY OF COMPUTING AND INFORMATICS DEPARTMENT OF COMPUTER SCIENCE QUALIFICATION: BACHELOR OF COMPUTER SCIENCE QUALIFICATION CODE: 07BACS LEVEL: 5

More information

collection of data that is used primarily in organizational decision making.

collection of data that is used primarily in organizational decision making. Data Warehousing A data warehouse is a special purpose database. Classic databases are generally used to model some enterprise. Most often they are used to support transactions, a process that is referred

More information

SQL Structured Query Language Introduction

SQL Structured Query Language Introduction SQL Structured Query Language Introduction Rifat Shahriyar Dept of CSE, BUET Tables In relational database systems data are represented using tables (relations). A query issued against the database also

More information

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT DATABASE SYSTEMS September 2017 Answer any THREE questions out of FIVE. All questions carry equal marks.

More information

Top 88 Question Asked in Part I of MIS 150 EXAM #1 (Chapter 1-4, Appendix C) Exams questions gathered from old tests dating back to Fall 2000

Top 88 Question Asked in Part I of MIS 150 EXAM #1 (Chapter 1-4, Appendix C) Exams questions gathered from old tests dating back to Fall 2000 Top 88 Question Asked in Part I of MIS 150 EXAM #1 (Chapter 1-4, Appendix C) Exams questions gathered from old tests dating back to Fall 2000 1. Name one data model that emphasizes the concept of reusable

More information

Question Bank. 4) It is the source of information later delivered to data marts.

Question Bank. 4) It is the source of information later delivered to data marts. Question Bank Year: 2016-2017 Subject Dept: CS Semester: First Subject Name: Data Mining. Q1) What is data warehouse? ANS. A data warehouse is a subject-oriented, integrated, time-variant, and nonvolatile

More information

Data, Databases, and DBMSs

Data, Databases, and DBMSs Todd S. Bacastow January 2004 IST 210 Data, Databases, and DBMSs 1 Evolution Ways of storing data Files ancient times (1960) Databases Hierarchical (1970) Network (1970) Relational (1980) Object (1990)

More information

The Relational Model. Chapter 3. Comp 521 Files and Databases Fall

The Relational Model. Chapter 3. Comp 521 Files and Databases Fall The Relational Model Chapter 3 Comp 521 Files and Databases Fall 2012 1 Why Study the Relational Model? Most widely used model by industry. IBM, Informix, Microsoft, Oracle, Sybase, etc. It is simple,

More information

An Introduction to Structured Query Language

An Introduction to Structured Query Language An Introduction to Structured Query Language Grant Weddell Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Winter 2017 CS 348 (Intro to DB Mgmt) SQL

More information

Consistency The DBMS must ensure the database will always be in a consistent state. Whenever data is modified, the database will change from one

Consistency The DBMS must ensure the database will always be in a consistent state. Whenever data is modified, the database will change from one Data Management We start our studies of Computer Science with the problem of data storage and organization. Nowadays, we are inundated by data from all over. To name a few data sources in our lives, we

More information

CS2 Current Technologies Note 1 CS2Bh

CS2 Current Technologies Note 1 CS2Bh CS2 Current Technologies Note 1 Relational Database Systems Introduction When we wish to extract information from a database, we communicate with the Database Management System (DBMS) using a query language

More information

Name: Answers Q

Name: Answers Q p.1 of 10 INFS 4240/6240 (Section A) Database Management System Fall 2018 Test 3 December 4, 2018 2:00 3:15 pm Q.1-1 10 10 Q.1-2 8 8 Q.2 12 12 Name: Answers Q.3-1 6 6 Q.3-2 32 32 Q.3-3 32 32 Total 100

More information

Lecture 8. Database vs. Files SQL (I) Introduction to SQL database management systems (DBMS)

Lecture 8. Database vs. Files SQL (I) Introduction to SQL database management systems (DBMS) Lecture 8 SQL (I) Money are kept by boxes buried in the ground in the backyard. Money are kept in the bank 1 Source: system analysis and design methods, by Jeffrey L Whitten et al., 2 McGraw-Hill/Irwin,

More information

Database Systems Relational Model. A.R. Hurson 323 CS Building

Database Systems Relational Model. A.R. Hurson 323 CS Building Relational Model A.R. Hurson 323 CS Building Relational data model Database is represented by a set of tables (relations), in which a row (tuple) represents an entity (object, record) and a column corresponds

More information

SYED AMMAL ENGINEERING COLLEGE

SYED AMMAL ENGINEERING COLLEGE CS6302- Database Management Systems QUESTION BANK UNIT-I INTRODUCTION TO DBMS 1. What is database? 2. Define Database Management System. 3. Advantages of DBMS? 4. Disadvantages in File Processing System.

More information

Detailed Data Modelling: Attribute Collection and Normalisation of Data

Detailed Data Modelling: Attribute Collection and Normalisation of Data Detailed Data Modelling IMS1002 /CSE1205 Systems Analysis and Design Detailed Data Modelling: Attribute Collection and Normalisation of Data The objective of detailed data modelling is to develop a detailed

More information

8) A top-to-bottom relationship among the items in a database is established by a

8) A top-to-bottom relationship among the items in a database is established by a MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant

More information

Detailed Data Modelling. Detailed Data Modelling. Detailed Data Modelling. Identifying Attributes. Attributes

Detailed Data Modelling. Detailed Data Modelling. Detailed Data Modelling. Identifying Attributes. Attributes IMS1002 /CSE1205 Systems Analysis and Design Detailed Data Modelling The objective of detailed data modelling is to develop a detailed data structure that: Detailed Data Modelling: Attribute Collection

More information

An Introduction to Structured Query Language

An Introduction to Structured Query Language An Introduction to Structured Query Language Grant Weddell Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Spring 2016 CS 348 (Intro to DB Mgmt) SQL

More information

Introduction to Data Management. Lecture #5 Relational Model (Cont.) & E-Rà Relational Mapping

Introduction to Data Management. Lecture #5 Relational Model (Cont.) & E-Rà Relational Mapping Introduction to Data Management Lecture #5 Relational Model (Cont.) & E-Rà Relational Mapping Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1

More information

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World Chapter 10 Managing a Database Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Define the term, database, and explain how a database interacts with data and information

More information

Official Statistics - Relational Database Management Systems. Official Statistics - Relational Database Management Systems

Official Statistics - Relational Database Management Systems. Official Statistics - Relational Database Management Systems Chapter 1 Database fundamentals 1.1. What is a database? A database is a stored collection of data designed for efficient information retrieval, efficient data maintenance and centralised control of an

More information

Testing Masters Technologies

Testing Masters Technologies 1. What is Data warehouse ETL TESTING Q&A Ans: A Data warehouse is a subject oriented, integrated,time variant, non volatile collection of data in support of management's decision making process. Subject

More information

Teaching Scheme BIT/MMC/BCS Database Systems 1

Teaching Scheme BIT/MMC/BCS Database Systems 1 Teaching Scheme BIT/MMC/BCS Database Systems 1 Level : 1 Year : 2000 2001 Konstantina Lepinioti (tlepinio@bournemouth.ac.uk) Melanie Coles (mcoles@bournemouth.ac.uk) Autumn Term Week Lecture Seminar/Lab

More information

Score. 1 (10) 2 (10) 3 (8) 4 (13) 5 (9) Total (50)

Score. 1 (10) 2 (10) 3 (8) 4 (13) 5 (9) Total (50) Student number: Signature: UNIVERSITY OF VICTORIA Faculty of Engineering Department of Computer Science CSC 370 (Database Systems) Instructor: Daniel M. German Midterm 18 June 2003 Duration: 75 minutes

More information

Database Management Systems MIT Introduction By S. Sabraz Nawaz

Database Management Systems MIT Introduction By S. Sabraz Nawaz Database Management Systems MIT 22033 Introduction By S. Sabraz Nawaz Recommended Reading Database Management Systems 3 rd Edition, Ramakrishnan, Gehrke Murach s SQL Server 2008 for Developers Any book

More information

Relational Database Management Systems Mar/Apr I. Section-A: 5 X 4 =20 Marks

Relational Database Management Systems Mar/Apr I. Section-A: 5 X 4 =20 Marks Relational Database Management Systems Mar/Apr 2015 1 I. Section-A: 5 X 4 =20 Marks 1. Database Database: Database is a collection of inter-related data which contains the information of an enterprise.

More information

Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University

Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University 1 Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University Lecture 3 Part A CIS 311 Introduction to Management Information Systems (Spring 2017)

More information

COWLEY COLLEGE & Area Vocational Technical School

COWLEY COLLEGE & Area Vocational Technical School COWLEY COLLEGE & Area Vocational Technical School COURSE PROCEDURE FOR Student Level: This course is open to students on the college level in either the freshman or sophomore year. Catalog Description:

More information

Practice for Test 1 (not counted for credit, but to help you prepare) Time allowed: 1 hour 15 minutes

Practice for Test 1 (not counted for credit, but to help you prepare) Time allowed: 1 hour 15 minutes p.1 of 8 INFS 4240/6240 (Section A) Database Management System Fall 2018 Practice for Test 1 (not counted for credit, but to help you prepare) Time allowed: 1 hour 15 minutes Q.1(a) 15 15 Q.1(b) 10 10

More information

This lecture. Basic Syntax

This lecture. Basic Syntax This lecture Databases - Database Definition This lecture covers the process of implementing an ER diagram as an actual relational database. This involves converting the various entity sets and relationship

More information

The Relational Model. Chapter 3

The Relational Model. Chapter 3 The Relational Model Chapter 3 Why Study the Relational Model? Most widely used model. Systems: IBM DB2, Informix, Microsoft (Access and SQL Server), Oracle, Sybase, MySQL, etc. Legacy systems in older

More information

DB Creation with SQL DDL

DB Creation with SQL DDL DB Creation with SQL DDL Outline SQL Concepts Data Types Schema/Table/View Creation Transactions and Access Control Objectives of SQL Ideally, database language should allow user to: create the database

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

More information