School of Computer Science and Software Engineering. 1st SEMESTER EXAMINATIONS 2008 CITS3240 DATABASES
|
|
- Kerrie Barnett
- 5 years ago
- Views:
Transcription
1 School of Computer Science and Software Engineering 2008 SURNAME: GIVEN NAMES: STUDENT NO: SIGNATURE: This paper contains:?? pages (including the title page) Time allowed: 2 hours 10 minutes Section A: 1 question Section B: 2 questions Section C: 5 questions (answer FOUR only) TOTAL MARKS: 30 marks 30 marks 40 marks 100 marks You should attempt Section A, Section B and four questions in Section C. The questions should be answered in the supplied answer booklet. PLEASE NOTE Examination candidates may only bring authorised materials into the examination room. If a supervisor finds, during the examination, that you have unauthorised material, in whatever form, in the vicinity of your desk or on your person, whether in the examination room or the toilets or en route to/from the toilets, the matter will be reported to the head of school and disciplinary action will normally be taken against you. This action may result in your being deprived of any credit for this examination or even, in some cases, for the whole unit. This will apply regardless of whether the material has been used at the time it is found. Therefore, any candidate who has brought any unauthorised material whatsoever into the examination room should declare it to the supervisor immediately. Candidates who are uncertain whether any material is authorised should ask the supervisor for clarification.
2 2 Instructions This paper contains three sections totalling 100 marks. Section A is worth 30 marks, Section B is worth 30 marks and Section C is worth 40 marks. Candidates should attempt Section A, Section B and FOUR of the five questions in Section C. If more than four questions are attempted in Section C only the first four will be marked. If you change your mind part way through an answer you should clearly cross the answer out and write NOT ATTEMPTED Please fill in the question numbers in the spaces on the front of the answer booklet.
3 3 Section A 1. Consider a version of a world database with the following schema: CREATE TABLE Country ( code CHAR(3), PRIMARY KEY (code), name CHAR(52), population INT(11), capitalid INT(11) ); CREATE TABLE City ( ID INT(11), PRIMARY KEY (ID), name CHAR(35), countrycode CHAR(3), population INT(11), statecapital ENUM ( Y, N ) ); # 3 letter code of the country # the name of the country # the population of the country # city ID of the national capital # id of the city # the name of the city # 3 letter code of the country # population of the city # Y if city is a state/province/territory capital In the country relation, the capitalid field is a foreign key referencing city.id. The capitalid field identifies the capital city of the country. In the city relation, the countrycode field is a foreign key referencing country.code. The statecapital field identifies cities that are local capitals of states, provinces or territories within a country. Note the national capital is also a state/provincial/territorial capital. Population analysts frequently ask questions of the following form What percentage of the total population of Australia live in the national capital, and what percentage live outside the state/provincial/territorial capitals? where the particular country may change. For example, according to this database, Australia has a total population of 18,886,000 and its capital cities are
4 name population Sydney Melbourne Brisbane Perth Adelaide Canberra Hobart Darwin The percentage of the total population living in the national capital (Canberra) is or 1.71%. The total population living in the capital cities is = Hence the percentage of population living outside the capital cities is or 46.90% Note that the total population of the country is not equal to the sum of the population of all of the cities, because smaller cities are not listed individually. You must write code in each of Java and MySQL to calculate these percentages when you are given the country code. Notice that the input uses the country s code and not its name (e.g. "AUS" rather than "Australia"). For both parts of this question you may assume that the country code is valid. (a) Write two Java methods public double dwellcapital(string code) that returns the percentage of the population of the country identified by code that live in its national capital city and, public double dwelloutside(string code) that returns the percentage of the population of the country identified by code that live outside its state/provincial/territorial capital cities. You may assume that the methods have access to a variable conn that refers to an already-created java.sql.connection. Your Java methods may NOT call the stored procedures of the following question. (15)
5 5 (b) Write two MySQL stored procedures dwellcapital and dwelloutside. Each take one IN parameter code and each have a single OUT parameter. These procedures should calculate the percentage of the population of the country identified by code that live in the national capital city, and the percentage of the population of the country identified by code that live outside its state/provincial/territorial capital cities, respectively. (15)
6 6 Section B 2. Queries in SQL Consider the following schema which represents information in an insurance database. person(driverid:int, name:string, address:string) vehicle(carid:int, model:string, year:year) accident(reportid:int, year:year, location:string) owns(driverid:int, carid:int) involved(driverid:int, carid:int, reportid:int, damageamt:decimal) Note: year is a MySQL type for representing a year in the format CCYY. The meanings of the fields are as follows: Field Meaning Example person.driverid Driver Licence person.name Name John Smith person.address Address 34 ARoad St, ASuburb 6000 vehicle.carid Vehicle Licence vehicle.model Model & Make Rolls Canardly vehicle.year Model Year 1997 accident.reportid Artificial key accident.year Year of accident 2006 accident.location Place of accident 60 BStreet Rd, BSuburb 3400 owns.driverid Foreign key to person.driverid owns.carid Foreign key to vehicle.carid involved.driverid Foreign key to person.driverid involved.carid Foreign key to vehicle.carid involved.reportid Foreign key to accident.reportid involved.damageamt Cost of damage caused by driverid Write MySQL queries for the following tasks: (a) List the names and addresses of all persons involved in an accident in (3) (b) List the model of all vehicles involved in 100 or more accidents between the years of inclusive. The model should only appear once in the list.
7 7 (c) For every individual driver and year, list the number of accidents involving the driver in that year, and the average cost of damage caused by that driver in those accidents. (d) List the worst driver for each year from inclusive. The worst driver in any one year is that driver the causes the highest total cost of accident damage (there may be more than one worst driver in any given year if they cause the same total cost of damage). 3. ER diagramming The Lawrence Wilson Art Gallery at UWA has commissioned the Art-4-U database, that incorporates a schema that captures all the information the gallery needs to maintain. The gallery keeps information about artists, including their name (which are unique), birthplace and their birthdate. For each piece of artwork, the artist, the year it was made, its unique title, its medium (e.g. painting, lithograph, sculpture, photograph), and its price must be stored. Pieces of artwork are also classified into groups of various kinds, for example, portraits, still lifes, works by Picasso, or works of the 19th century; a given piece may belong to more than one group. Each group is identified by a name (like those just given) that describes the group. Finally, the gallery keeps information about its customers; the person s unique name, address, total amount of dollars spent in the gallery, and the artists and groups of art that the customer prefers. Draw a single ER diagram (using the symbols and conventions outlined in lectures) that captures the requirements for this database. Use natural keys where appropriate. Make sure you incorporate any participation and key constraints implied by the specifications. (15)
8 8 Section C 4. Data Mining A Pizza restaurant records the following sales for pizzas with extra toppings, in various combinations. The toppings are mushrooms (M), pepperoni (P) and extra cheese (C). Menu Pizza Extra Item Sales Toppings M P C M & P M & C P & C M, P & C None Total 2000 Complete a market-basket analysis to answer the following questions (a) Find the frequent itemsets with minimum support 40%. (b) Find association rules with minimum confidence 50%. (c) What is the strongest inference we can make about consumer behaviour when choosing extra toppings? (2)
9 9 5. Normalization A company has several sales people (SP) selling hardware products (Prod). Each sales person is attached to a specific department (Dept), that has one manager (Mngr). Any sales person can sell a product, which has a fixed unit price. Each sales person receives a fixed percentage commission (Com) from their total sales (Qnty). An example of typical data is shown in the table below: SP Prod SP Com Year of Dept Mngr Prod Unit Qnty Num Num Name Pcnt Hire Num Name Name Price Baker Scott Hammer Saw Pliers Adams Lopez Wrench Hammer Drill Saw Dickens Scott Drill Pliers Carlyle Scott Wrench Drill Pliers Use the theory of database normalization to identify the functional dependencies and design a well-structured relational database schema to store data of this type. Explain your reasoning. (10) 6. Transactions (a) Explain what a database transaction is, and outline the desirable ACID properties of database transactions. (b) What is a recovery manager of a DBMS and what desirable properties of a transaction does it ensure? (7) (3)
10 10 7. Relational Algebra Consider the following relations containing airline flight information. Flights(flno: integer, from: string, to: string, distance: integer, departs: time, arrives: time) Aircraft(aid: integer, model: string, cruisingrange: integer) Certified(eid: integer, aid: integer) Employees(eid: integer, name: string, salary: integer) Note that the Employees relation describes pilots and other kinds of employees as well; every pilot is certified for some aircraft (otherwise, he or she would not qualify as a pilot), and only pilots are certified to fly. (a) Write a relational algebra query that lists the names of pilots certified for the 747 model of aircraft. (b) Write a relational algebra query that lists the aids of all aircraft that can be used on non-stop flights from Bonn to Madras. (c) Write a relational algebra query to list the names of pilots who can operate planes with a range greater than 3,000 miles but are not certified on the A300 model of aircraft. (2) 8. Database Applications (a) Give a brief outline of how a database abstraction layer such as PHP s MDB2 works, and explain the advantages and disadvantages of using a database abstraction layer. (b) What are the factors that a DBA should consider when deciding whether to use stored procedures and/or client programs (e.g. Java or PHP) in a database application? (6)
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 informationSchool of Computer Science & Software Engineering The University of Western Australia. Mid-Semester Test September 2017
School of Computer Science & Software Engineering The University of Western Australia Mid-Semester Test September 2017 () This paper contains 1 section This paper contains: 8 pages (including this title
More informationHomework 2: E/R Models and More SQL (due February 17 th, 2016, 4:00pm, in class hard-copy please)
Virginia Tech. Computer Science CS 4604 Introduction to DBMS Spring 2016, Prakash Homework 2: E/R Models and More SQL (due February 17 th, 2016, 4:00pm, in class hard-copy please) Reminders: a. Out of
More informationCSSE SEMESTER 1, 2017 EXAMINATIONS. CITS1001 Object-oriented Programming and Software Engineering FAMILY NAME: GIVEN NAMES:
CSSE SEMESTER 1, 2017 EXAMINATIONS CITS1001 Object-oriented Programming and Software Engineering FAMILY NAME: GIVEN NAMES: STUDENT ID: SIGNATURE: This Paper Contains: 20 pages (including title page) Time
More informationSEMESTER 1, 2011 EXAMINATIONS. CITS1200 Java Programming FAMILY NAME: GIVEN NAMES:
Computer Science & Software Engineering SEMESTER 1, 2011 EXAMINATIONS CITS1200 Java Programming FAMILY NAME: GIVEN NAMES: STUDENT ID: SIGNATURE: This Paper Contains: 26 pages (including title page) Time
More informationNormalization. VI. Normalization of Database Tables. Need for Normalization. Normalization Process. Review of Functional Dependence Concepts
VI. Normalization of Database Tables Normalization Evaluating and correcting relational schema designs to minimize data redundancies Reduces data anomalies Assigns attributes to tables based on functional
More informationRelational Databases Lecture 2
Relational Databases Lecture 2 Robb T Koether Hampden-Sydney College Fri, Jan 20, 2012 Robb T Koether (Hampden-Sydney College) Relational DatabasesLecture 2 Fri, Jan 20, 2012 1 / 36 1 Databases Systems
More informationSchool of Computer Science and Software Engineering 2ND SEMESTER EXAMINATIONS CITS4230 Internet Technologies
School of Computer Science and Software Engineering 2ND SEMESTER EXAMINATIONS 2012 Internet Technologies FAMILY NAME: GIVEN NAMES: STUDENT ID: SIGNATURE: This paper contains: 16 pages (including the title
More informationRelational Database Model. III. Introduction to the Relational Database Model. Relational Database Model. Relational Terminology.
III. Introduction to the Relational Database Model Relational Database Model In 1970, E. F. Codd published A Relational Model of Data for Large Shared Data Banks in CACM. In the early 1980s, commercially
More informationComputer Science and Software Engineering SEMESTER 1, 2016 EXAMINATIONS. CITS1001 Object-oriented Programming and Software Engineering
Computer Science and Software Engineering SEMESTER 1, 2016 EXAMINATIONS CITS1001 Object-oriented Programming and Software Engineering FAMILY NAME: GIVEN NAMES: STUDENT ID: SIGNATURE: This Paper Contains:
More informationNorthern India Engineering College, New Delhi Question Bank Database Management System. B. Tech. Mechanical & Automation Engineering V Semester
1. List four significant differences between a file-processing system and a DBMS. 2. Explain the difference between physical and logical data independence. 3. What are five main functions of a database
More information1. Consider the following functional dependencies, to be used in the analysis of a database design for the Furman Air enterprise of the first exam:
CSC-341 Exam #2 October 20, 2009 Name: 1. Consider the following functional dependencies, to be used in the analysis of a database design for the Furman Air enterprise of the first exam: Attributes Pilot
More informationDatabase 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 informationCS 461: Database Systems. Final Review. Julia Stoyanovich
CS 461: Database Systems Final Review (stoyanovich@drexel.edu) Final exam logistics When: June 6, in class The same format as the midterm: open book, open notes 2 hours in length The exam is cumulative,
More informationCSCI315 Database Design and Implementation Singapore Assignment 2 11 January 2018
School of Computer Science & Software Engineering Session: 1, January 2017 University of Wollongong Lecturer: Janusz R. Getta CSCI315 Database Design and Implementation Singapore 2018-1 Assignment 2 11
More informationSchool 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 informationSoftware Systems Development Unit AS1: Introduction to Object Oriented Development
New Specification Centre Number 71 Candidate Number ADVANCED SUBSIDIARY (AS) General Certificate of Education 2014 Software Systems Development Unit AS1: Introduction to Object Oriented Development [A1S11]
More information2011 DATABASE MANAGEMENT SYSTEM
Name :. Roll No. :..... Invigilator s Signature :.. CS/B.TECH(IT)/SEM-6/IT-604/2011 2011 DATABASE MANAGEMENT SYSTEM Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks.
More informationName :. Roll No. :... Invigilator s Signature : DATABASE MANAGEMENT SYSTEM
Name :. Roll No. :..... Invigilator s Signature :.. CS/B.TECH(IT)/SEM-6/IT-604/2012 2012 DATABASE MANAGEMENT SYSTEM Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks.
More informationEntity-Relationship Modelling. Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables
Entity-Relationship Modelling Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables 1 Entity Sets A enterprise can be modeled as a collection of: entities, and
More informationConceptual 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 informationINSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad
Course Name Course Code Class Branch INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 04 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK : DATABASE MANAGEMENT SYSTEMS
More informationDatabases - Classic Models
Databases - Classic Models Gordon Royle School of Mathematics & Statistics University of Western Australia Gordon Royle (UWA) Classic Models 1 / 33 This lecture This lecture analyses a freely available
More informationReview the syntax of. Create a new Schema CREATE TABLE INSERT SELECT UPDATE DELETE
CSI 2132 Lab2 Basic SQL Programming 1 Outline Review the syntax of Create a new Schema CREATE TABLE INSERT SELECT UPDATE DELETE Exercise: Create a new schema to work on it and set it as default Creating
More informationMySQL Creating a Database Lecture 3
MySQL Creating a Database Lecture 3 Robb T Koether Hampden-Sydney College Mon, Jan 23, 2012 Robb T Koether (Hampden-Sydney College) MySQL Creating a DatabaseLecture 3 Mon, Jan 23, 2012 1 / 31 1 Multiple
More informationAssignment 3: SQL SELECT Queries
Assignment 3: SQL SELECT Queries Install MySQL on your computer ("sudo apt-get install mysql-server" on Ubuntu Linux / or follow instructions for your o/s installs). Put the following lines in ~/.my.cnf
More informationSchool of Computer Science & Software Engineering SEMESTER 2, 2008 EXAMINATIONS 2008 JAVA PROGRAMMING 1200 (CITS1200)
School of Computer Science & Software Engineering SEMESTER 2, 2008 EXAMINATIONS 2008 () This paper contains: 19 pages (including the title page) Time allowed: 2 hours 10 minutes TOTAL MARKS: 100 marks
More informationDBMS Questions for IBPS Bank Exam
DBMS Questions for IBPS Bank Exam DBMS Questions for IBPS Bank Exam - In this article, we provided the study material of DBMS for the IBPS exam.you can answer the question based on topic. Candidate those
More informationRelational Databases
Relational Databases Lecture 2 Chapter 3 Robb T. Koether Hampden-Sydney College Fri, Jan 18, 2013 Robb T. Koether (Hampden-Sydney College) Relational Databases Fri, Jan 18, 2013 1 / 26 1 Types of Databases
More informationChapter 11 Database Concepts
Chapter 11 Database Concepts INTRODUCTION Database is collection of interrelated data and database system is basically a computer based record keeping system. It contains the information about one particular
More informationThe 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 information1/24/2012. Chapter 7 Outline. Chapter 7 Outline (cont d.) CS 440: Database Management Systems
CS 440: Database Management Systems Chapter 7 Outline Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys Relationship
More informationDatabase Design. 2-3 Entity Relationship Modeling and ERDs. Copyright 2015, Oracle and/or its affiliates. All rights reserved.
Database Design 2-3 Objectives This lesson covers the following objectives: Define the meaning of implementation-free as it relates to data models and database design implementation List the four goals
More informationNCC EDUCATION INTERNATIONAL DIPLOMA IN COMPUTER STUDIES SYSTEMS DEVELOPMENT. 5 th June 2005
NCC EDUCATION INTERNATIONAL DIPLOMA IN COMPUTER STUDIES SYSTEMS DEVELOPMENT 5 th June 2005 SECTION A - 1 Answer all questions from this section. Each question requires ONE response only. SECTION A - 2
More informationPLEASE HAND IN UNIVERSITY OF TORONTO Faculty of Arts and Science
PLEASE HAND IN UNIVERSITY OF TORONTO Faculty of Arts and Science DECEMBER 2011 EXAMINATIONS CSC 343 H1F Instructors: Horton and Papangelis Duration 3 hours PLEASE HAND IN Examination Aids: None Student
More informationDatabases SQL2. Gordon Royle. School of Mathematics & Statistics University of Western Australia. Gordon Royle (UWA) SQL2 1 / 26
Databases SQL2 Gordon Royle School of Mathematics & Statistics University of Western Australia Gordon Royle (UWA) SQL2 1 / 26 This lecture This lecture introduces the fundamental concept of SELECT from
More informationWeek 11, Friday, 5pm Submit the individual work file, named 'a2-<surname_id>.zip', by Week 11, Friday, 5pm via Moodle.
Assignment 2 School of Engineering and Information Technology ITECH1006/5006: Database Management Systems Aims To analyse and comprehend a given ER diagram and Database schema To implement a database based
More informationScore. 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 informationKing 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 informationKing Fahd University of Petroleum and Minerals
Exam 1 March 16, 2008 Page 1 of 7 King Fahd University of Petroleum and Minerals Department of Information and Computer Science ICS 324: Database Systems Spring 2007-2008 Date: 16-March-2008 Major Exam
More informationDatabase Management Systems,
Database Management Systems SQL Query Language (1) 1 Topics Introduction SQL History Domain Definition Elementary Domains User-defined Domains Creating Tables Constraint Definition INSERT Query SELECT
More informationCT13 DATABASE MANAGEMENT SYSTEMS DEC 2015
Q.1 a. Explain the role of concurrency control software in DBMS with an example. Answer: Concurrency control software in DBMS ensures that several users trying to update the same data do so in a controlled
More informationF.Y.B.Sc. Computer Science Semester I (75:25) Regular Solution Set USCS104 DBMS, November 2017 QP Code: (23/11/2017)
F.Y.B.Sc. Computer Science Semester I (75:25) Regular Solution Set USCS104 DBMS, November 2017 QP Code: 12182 (23/11/2017) Q. 1 Attempt All. (15M) (a) Multiple Choice Questions 1. Row 2. CITY, ID 3. Sigma(Greek)
More informationData Management Lecture Outline 2 Part 2. Instructor: Trevor Nadeau
Data Management Lecture Outline 2 Part 2 Instructor: Trevor Nadeau Data Entities, Attributes, and Items Entity: Things we store information about. (i.e. persons, places, objects, events, etc.) Have relationships
More informationCode No. : 9919 Sub. Code : HCAM 35
Reg. No. :... Sub. Code : HCAM 35 M.C.A. (CBCS) DEGREE EXAMINATION, APRIL 2015. Third Semester Computer Applications DATABASE MANAGEMENT SYSTEMS (For those who joined in July 2012 onwards) Time : Three
More informationF453. COMPUTING Advanced Computing Theory ADVANCED GCE. Thursday 23 June 2011 Morning
ADVANCED GCE COMPUTING Advanced Computing Theory F453 *F430360611* Candidates answer on the question paper. OCR supplied materials: None Other materials required: None Thursday 23 June 2011 Morning Duration:
More informationOutline. Database Management Systems (DBMS) Database Management and Organization. IT420: Database Management and Organization
Outline IT420: Database Management and Organization Dr. Crăiniceanu Capt. Balazs www.cs.usna.edu/~adina/teaching/it420/spring2007 Class Survey Why Databases (DB)? A Problem DB Benefits In This Class? Admin
More informationDBS Assignment I. 1. With necessary examples, explain any four major disadvantages of keeping organizational information in a file-processing system.
DBS Assignment I 1. With necessary examples, explain any four major disadvantages of keeping organizational information in a file-processing system. Data redundancy and inconsistency - Since different
More information3 February 2011 CSE-3421M Test #1 p. 1 of 14. CSE-3421M Test #1. Design
3 February 2011 CSE-3421M Test #1 p. 1 of 14 CSE-3421M Test #1 Design Sur / Last Name: Given / First Name: Student ID: Instructor: Parke Godfrey Exam Duration: 75 minutes Term: Winter 2011 Answer the following
More informationDatabase Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams
Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The
More informationDATABASE DEVELOPMENT (H4)
IMIS HIGHER DIPLOMA QUALIFICATIONS DATABASE DEVELOPMENT (H4) Friday 3 rd June 2016 10:00hrs 13:00hrs DURATION: 3 HOURS Candidates should answer ALL the questions in Part A and THREE of the five questions
More informationSAMPLE FINAL EXAM SPRING/2H SESSION 2017
SAMPLE FINAL EXAM SPRING/2H SESSION 2017 School of Computing, Engineering and Mathematics Complete your details in this section when instructed by the Exam Supervisor at the start of the exam. You should
More informationThe 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 informationRelational terminology. Databases - Sets & Relations. Sets. Membership
Relational terminology Databases - & Much of the power of relational databases comes from the fact that they can be described analysed mathematically. In particular, queries can be expressed with absolute
More informationCS348: INTRODUCTION TO DATABASE MANAGEMENT (Winter, 2011) FINAL EXAMINATION
CS348: INTRODUCTION TO DATABASE MANAGEMENT (Winter, 2011) FINAL EXAMINATION INSTRUCTOR: Grant Weddell TIME: 150 minutes WRITE YOUR NAME AND ID HERE: NOTE 1: This is a closed book examination. For example,
More informationNOTE: DO NOT REMOVE THIS EXAM PAPER FROM THE EXAM VENUE
Exams, Awards & Graduations NOTE: DO NOT REMOVE THIS EXAM PAPER FROM THE EXAM VENUE EXAM COVER SHEET EXAMINATION DETAILS Course Code/s: ISYS1055/1057 Course Name/s: Database Concepts Date of Exam: Sample
More informationThis 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 informationComp 5311 Database Management Systems. 4b. Structured Query Language 3
Comp 5311 Database Management Systems 4b. Structured Query Language 3 1 SQL as Data Definition Language Creates the Students relation. The type (domain) of each field is specified, and enforced by the
More informationSai Nath University. Assignment For MCA 1 st
Sai Nath University Assignment For MCA 1 st Sem. The Assignment will consist of two parts, A and B. will have 5 short answer questions(40-60 words) of 4 marks each. will have 4 long answer questions of
More informationSchool of Computing and Information Technology. Examination Paper Autumn 2016
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 2016
More informationFinal Examination Computer Science 420 Dr. St. John Lehman College City University of New York 21 May 2002
Final Examination Computer Science 420 Dr. St. John Lehman College City University of New York 21 May 2002 NAME (Printed) NAME (Signed) E-mail Exam Rules Show all your work. Your grade will be based on
More informationGUJARAT TECHNOLOGICAL UNIVERSITY
Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER III (NEW) - EXAMINATION SUMMER 2017 Subject Code: 21303 Date: 02/06/2017 Subject Name: Database Management Systems Time: 10:30 AM
More informationCS145 Final Examination
CS145 Final Examination Spring 2003, Prof. Widom ffl Please read all instructions (including these) carefully. ffl There are 11 problems on the exam, with a varying number of points for each problem and
More informationIntroduction to Database Systems. Motivation. Werner Nutt
Introduction to Database Systems Motivation Werner Nutt 1 Databases Are Everywhere Database = a large (?) collection of related data Classically, a DB models a real-world organisation (e.g., enterprise,
More information14 October 2015 EECS-3421A Test #1 p. 1 of 14. EECS-3421A Test #1. Design
14 October 2015 EECS-3421A Test #1 p. 1 of 14 EECS-3421A Test #1 Design Sur / Last Name: Given / First Name: Student ID: Instructor: Parke Godfrey Exam Duration: 75 minutes Term: Fall 2015 Answer the following
More informationSlide Copyright 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION. Chapter 13. Statistics Sampling Techniques
SEVENTH EDITION and EXPANDED SEVENTH EDITION Slide - Chapter Statistics. Sampling Techniques Statistics Statistics is the art and science of gathering, analyzing, and making inferences from numerical information
More informationE-R Model. Hi! Here in this lecture we are going to discuss about the E-R Model.
E-R Model Hi! Here in this lecture we are going to discuss about the E-R Model. What is Entity-Relationship Model? The entity-relationship model is useful because, as we will soon see, it facilitates communication
More informationDatabase 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 informationWho, where, when. Database Management Systems (LIX022B05) Literature. Evaluation. Lab Sessions. About this course. After this course...
Who, where, when base Management Systems (LIX022B05) Instructor: Çağrı Çöltekin c.coltekin@rug.nl Information science/informatiekunde Fall 2012 Course bases (LIX022B05) 2012/13 Instructor Çağrı Çöltekin
More information0. 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 informationVersion: 1.2 Date Updated: 08/21/2012. Subcontract Entry
Version: 1.2 Date Updated: 08/21/2012 Subcontract Entry Table of Contents INTRODUCTION 2 LOGS 3 CREATING A SUBCONTRACT 4 ENTER SUBCONTRACT / CHANGE ORDER LAYOUT 5 SUBCONTRACT INFORMATION 5 Contract Numbering
More informationFaculty of Environment & Technology
Faculty of Environment & Technology Academic Year: 2012/13 Module Leader: Module Code: Title of Module: Prakash Chatterjee UFCE8K-15-M Data Management Examination Date: TBA Examination Start time: TBA
More informationVALLIAMMAI 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 informationTHE UNIVERSITY OF BRITISH COLUMBIA CPSC 304: MIDTERM EXAMINATION SET A OCTOBER 2016
THE UNIVERSITY OF BRITISH COLUMBIA CPSC 304: MIDTERM EXAMINATION SET A OCTOBER 2016 General Instructions 1. This is a closed book, closed notes exam. There are total 12 pages. Answer all questions in the
More informationComp 5311 Database Management Systems. 2. Relational Model and Algebra
Comp 5311 Database Management Systems 2. Relational Model and Algebra 1 Basic Concepts of the Relational Model Entities and relationships of the E-R model are stored in tables also called relations (not
More informationIntroduction to Databases
Introduction to Databases Lecture 1 Chapters 1-2 Robb T. Koether Hampden-Sydney College Wed, Jan 15, 2014 Robb T. Koether (Hampden-Sydney College) Introduction to Databases Wed, Jan 15, 2014 1 / 23 1 Overview
More informationAdaptive Temporal Entity Resolution on Dynamic Databases
Adaptive Temporal Entity Resolution on Dynamic Databases Peter Christen 1 and Ross Gayler 2 1 Research School of Computer Science, ANU College of Engineering and Computer Science, The Australian National
More informationSankalchand 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 informationBSc (Hons) Software Engineering. BSc (Hons) Computer Science with Network Security. Examinations for / Semester 2 & 2017 / Semester 1
BSc (Hons) Software Engineering BSc (Hons) Computer Science with Network Security Cohort: BSE/16B/FT & BCNS/17A/FT Examinations for 2016 2017 / Semester 2 & 2017 / Semester 1 Resit Examinations for BCNS/14B/FT,
More informationInformatics 1: Data & Analysis
Informatics 1: Data & Analysis Lecture 3: The Relational Model Ian Stark School of Informatics The University of Edinburgh Tuesday 24 January 2017 Semester 2 Week 2 https://blog.inf.ed.ac.uk/da17 Lecture
More informationDatabase Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra
Database Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra Relational Data Model and Relational Constraints Part 1 A simplified diagram to illustrate the main
More informationTranslating an ER Diagram to a Relational Schema
Translating an ER Diagram to a Relational Schema CS386/586 Introduction to Database Systems, Lois Delcambre 1999-2009 Slide 1 Translate each entity set into a table, with keys. Entity set: represented
More informationAd Hoc Reporting with Report Builder
BI316 Ad Hoc Reporting with Report Builder David Lean Principal Technology Specialist Microsoft Australia Visit www.sqlserver.com.au Monthly Meetings + Great info + Great Contacts + Pizza & Beer It s Free!!!
More informationINDIAN SCHOOL MUSCAT FIRST PRELIMINARY EXAMINATION 2017 INFORMATICS PRACTICES
Roll Number Code Number 065/ INDIAN SCHOOL MUSCAT FIRST PRELIMINARY EXAMINATION 07 INFORMATICS PRACTICES CLASS: XII Sub. Code: 065 Time Allotted: 3 Hrs...07 Max. Marks: 70 Instructions:. All the questions
More informationHomework 2. Develop an EER model for the following situation using the EER diagram,
Homework 2 1. An international school of technology has hired you to create a database management system to assist in scheduling classes. After several interviews with the president, you have come up with
More informationCSE 544 Principles of Database Management Systems
CSE 544 Principles of Database Management Systems Lecture 1 - Introduction and the Relational Model 1 Outline Introduction Class overview Why database management systems (DBMS)? The relational model 2
More informationA practical introduction to database design
A practical introduction to database design Dr. Chris Tomlinson Bioinformatics Data Science Group, Room 126, Sir Alexander Fleming Building chris.tomlinson@imperial.ac.uk Computer Skills Classes 17/01/19
More informationDatabase 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 informationDatabase Management Systems
Sample Questions 1 Write SQL query to create a table for describing a book. The table should have Book Title, Author, Publisher, Year published, and ISBN fields. Your table should have a primary key. For
More informationVIEW OTHER QUESTION PAPERS
VIEW OTHER QUESTION PAPERS E B4E0562 Reg No.: Name: Total Pages: 2 APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY FOURTH SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017 Course Code: CS208 Course Name: PRINCIPLES
More informationX. Query Optimization
X. Lecture Topics Representing Plans Using Relational Algebra Transformation Rules Statistics Estimation CS338 1 Overview Generally, there are many possible access plans for processing a given query. The
More informationBBM371- Data Management. Lecture 1: Course policies, Introduction to DBMS
BBM371- Data Management Lecture 1: Course policies, Introduction to DBMS 26.09.2017 Today Introduction About the class Organization of this course Introduction to Database Management Systems (DBMS) About
More informationDatabase 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 information1.264 Lecture 6. Data modeling
1.264 Lecture 6 Data modeling 1. Data models Data model is representation of Things (or entities or objects) of importance to a business How the things relate to each other It is built and modified until
More informationData Modeling with the Entity Relationship Model. CS157A Chris Pollett Sept. 7, 2005.
Data Modeling with the Entity Relationship Model CS157A Chris Pollett Sept. 7, 2005. Outline Conceptual Data Models and Database Design An Example Application Entity Types, Sets, Attributes and Keys Relationship
More informationCS 338: Computer Applications in Business: Databases
CS 338: Computer Applications in Business: Databases Spring 207 Midterm Exam Section 00 June 9, 207 0:00am :5am. There are 0 pages in this booklet, including this cover page. Please make sure that you
More informationQuick Facts about the course. CS 2550 / Spring 2006 Principles of Database Systems. Administrative. What is a Database Management System?
Quick Facts about the course CS 2550 / Spring 2006 Principles of Database Systems 01 Introduction Alexandros Labrinidis University of Pittsburgh When: Tue & Thu 2:30pm 3:45pm Where: 5313 SENSQ Instructor:
More informationRevised Guidelines for B.A. Programme Semester II Paper: Database Management System (Meeting held on 15 th Jan 2015)
Revised Guidelines for B.A. Programme Semester II Paper: Database Management System (Meeting held on 15 th Jan 2015) Theory Theory Periods 4 periods/ week Tutorial - 1 period / 15 days Theory Paper Marks
More informationEE221 Databases Practicals Manual
EE221 Databases Practicals Manual Lab 1 An Introduction to SQL Lab 2 Database Creation and Querying using SQL Assignment Data Analysis, Database Design, Implementation and Relation Normalisation School
More informationUNIVERSITY 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