Database Management Systems. Chapter 5

Size: px
Start display at page:

Download "Database Management Systems. Chapter 5"

Transcription

1 Database Management Systems Chapter 5 SQL: Queries, Constraints, Triggers Example Instances We will use these instances of the Sailors and Reserves relations in our examples. If the key for the Reserves relation contained only the attributes sid and bid, how would the semantics differ? S1 S2 R1 sid bid day /10/ /12/96 sid sname rating age 22 dustin lubber rusty sid sname rating age 28 yuppy lubber guppy rusty

2 Basic SQL Query select-list: columns to be retained. from-list: a cross-product of tables. qualification: selection conditions DISTINCT is an optional keyword indicating that the answer should not contain duplicates. Default is that duplicates are not eliminated! SELECT FROM WHERE [DISTINCT] select-list from-list qualification Conceptual Evaluation Strategy Semantics of an SQL query defined in terms of the following conceptual evaluation strategy: Compute the cross-product of from-list. Discard resulting tuples if they fail qualifications. Delete attributes that are not in select-list. If DISTINCT is specified, eliminate duplicate rows. This strategy is probably the least efficient way to compute a query! An optimizer will find more efficient strategies to compute the same answers. 2

3 Example of Conceptual Evaluation, Reserves R WHERE S.sid=R.sid AND R.bid=103 (sid) sname rating age (sid) bid day 22 dustin /10/96 22 dustin /12/96 31 lubber /10/96 31 lubber /12/96 58 rusty /10/96 58 rusty /12/96 A Note on Range Variables OR Really needed only if the same relation appears twice in the FROM clause. The previous query can also be written as: FROM Sailors AS S, Reserves AS R WHERE S.sid=R.sid AND bid=103; SELECT sname FROM Sailors, Reserves WHERE Sailors.sid=Reserves.sid AND bid=103; Optional It is good style, however, to use range variables always! 3

4 Q1: Find the sids of sailors who ve reserved a red boat SELECT R.sid FROM Boats B, Reserves R WHERE B.bid=R.bid AND B.color= red ; A join of two tables followed by a selection on the color of boats. (( Boats) Re ) sid color ' red' serves Q2: Find the names of sailors who ve reserved a red boat, Reserves R, Boats B WHERE S.sid=R.sid AND R.bid = B.bid AND B.color = red ; A join of three tables, followed by a selection on the color of boats. sname (( Boats) Re serves Sailors) color ' red ' 4

5 Q4: Find names of sailors who ve reserved at least one boat, Reserves R WHERE S.sid=R.sid; sname(reserves Sailors) Expressions and Strings in select-list Select-list: expression AS column_name expression: any arithmetic or string expression over column names and constants. column_name: a new name for this column in the output of the query. Qualification: expression1 = expression2. 5

6 Q17: Compute increments for the ratings of persons who have sailed two different boats on the same day. Q17_1: who have sailed two different boats on the same day? Please show their sailor ids. SELECT DISTINCT R1.sid 1, Reserves R2 WHERE R1.sid=R2.sid AND R1.day = R2.day AND R1.bid<>R2.bid; Q17_2: Names of persons who have sailed two different boats on the same day. SELECT distinct S.sname, Reserves R1, Reserves R2 WHERE S.sid=R1.sid AND R1.sid=R2.sid AND R1.day = R2.day AND R1.bid<>R2.bid; Q17: Compute increments for the ratings of persons who have sailed two different boats on the same day. SELECT distinct S.sname, S.rating+1 AS rating, Reserves R1, Reserves R2 WHERE S.sid=R1.sid AND S.sid=R2.sid AND R1.day = R2.day AND R1.bid<>R2.bid; 6

7 Q18: Find names of sailors whose ratings are different in the given way. SELECT S1.sname AS name1, S2.sname AS name2 1, Sailors S2 WHERE 2*S1.rating = S2.rating; Expressions and Strings in select-list AS and = are two ways to name fields in result. LIKE is used for string matching. `_ stands for any one character and `% stands for 0 or more arbitrary characters. Q: Find triples (of ages of sailors and two fields defined by expressions) for sailors whose names begin and end with B and contain at least three characters. SELECT S.age, age1=s.age-5, 2*S.age AS age2 WHERE S.sname LIKE B_%B 7

8 Union UNION/OR: Can be used to compute the union of any two union-compatible sets of tuples. Q: Find sids of sailors who ve reserved a red or a green boat SELECT R.sid FROM Boats B, Reserves R WHERE R.bid=B.bid AND (B.color= red OR B.color= green ); SELECT R1.sid FROM Boats B1, Reserves R1 WHERE R1.bid=B1.bid AND B1.color= red UNION SELECT R2.sid FROM Boats B2, Reserves R2 WHERE R2.bid=B2.bid AND B2.color= green Union Q: Find all sids of sailors who ve a rating of 10 or reserved boat 104. SELECT S.sid WHERE S.rating =10 UNION SELECT R.sid WHERE R.bid = 104 8

9 Intersect INTERSECT/AND: Can be used to compute the intersection of any two intersect-compatible sets of tuples. Q: Find sid s of sailors who ve reserved a red and a green boat SELECT R1.sid 1, Reserves R2, Boats B1, Boats B2 WHERE R1.sid = R2.sid and R1.bid=B1.bid AND R2.bid=B2.bid AND (B1.color= red AND B2.color= green ) SELECT R1.sid FROM Boats B1, Reserves R1 WHERE R1.bid=B1.bid AND B1.color= red INTERSECT SELECT R2.sid FROM Boats B2, Reserves R2 WHERE R2.bid=B2.bid AND B2.color= green Not supported in mysql Except (Difference) EXCEPT: Can be used to compute the set-difference of any two except-compatible sets of tuples. Q: Find sid s of sailors who ve reserved red boats but not green boats. SELECT R1.sid FROM Boats B1, Reserves R1 WHERE R1.bid=B1.bid AND B1.color= red EXCEPT SELECT R2.sid FROM Boats B2, Reserves R2 WHERE R2.bid=B2.bid AND B2.color= green Not supported in mysql 9

10 Nested Query One of the most powerful features of SQL. A query that has another query embedded within it. Q: Find names of sailors who ve reserved boat #103: WHERE S.sid IN (SELECT R.sid WHERE R.bid=103) SELECT distinct S.sname, Reserves R WHERE S.sid=R.sid AND bid=103 Non-nested Query Nested Query Example Q: Find names of sailors who ve not reserved boat #103: WHERE S.sid NOT IN (SELECT R.sid WHERE R.bid=103) Works as Difference Q: Find names of sailors who ve not reserved boat #103, but other boats., Reserves R WHERE S.sid=R.sid AND bid<>103 Non-nested Query 10

11 Nested Query Example Q: Find names of sailors who ve reserved a red boat: WHERE S.sid IN (SELECT R.sid WHERE R.bid IN ( SELECT B.bid FROM Boats B WHERE B.color = red )) Non-nested Query, Reserves R, Boats B WHERE S.sid=R.sid AND R.bid = B.bid AND B.color = red ; Q: Find names of sailors who ve not reserved a red boat: WHERE S.sid NOT IN (SELECT R.sid WHERE R.bid IN ( SELECT B.bid FROM Boats B WHERE B.color = red )) Nested Query Example Works as WHERE S.sid NOT IN (SELECT R.sid Difference, Boats B WHERE R.bid = B.bid and B.color = red )) 11

12 Q: Find names of sailors who ve reserved a boat that is not red: WHERE S.sid IN (SELECT R.sid WHERE R.bid NOT IN ( SELECT B.bid FROM Boats B WHERE B.color = red )), Reserves R, Boats B WHERE S.sid=R.sid AND R.bid = B.bid and B.color <> red; Q: Find names of sailors who ve reserved both a red and a green boat., Boats B, Reserves R WHERE S.sid = R.sid AND R.bid=B.bid AND B.color= red AND S.sid IN ( SELECT S2.sid FROM Sailor S2, Boats B2, Reserves R2 WHERE S2.sid = R2.sid AND R2.bid=B2.bid AND B2.color= green ) SELECT R1.sid FROM Boats B1, Reserves R1 WHERE R1.bid=B1.bid AND B1.color= red INTERSECT SELECT R2.sid FROM Boats B2, Reserves R2 WHERE R2.bid=B2.bid AND B2.color= green 12

13 Correlated Nested Queries The inner query could depend on the row currently being examined in the outer query. Illustrates why, in general, subquery must be recomputed for each Sailors tuple. EXISTS is another set comparison operator, like IN. Q: Find names of sailors who ve reserved boat #103: WHERE EXISTS (SELECT * WHERE R.bid=103 AND S.sid=R.sid) Set-comparison Operators Also available: op ANY, op ALL, op IN,,,,, Q: Find sailors whose rating is greater than some sailor called Horatio: SELECT * WHERE S.rating > ANY (SELECT S2.rating 2 WHERE S2.sname= Horatio ) If there were no sailor called this name, the comparison is false, an empty set will be returned. 13

14 Q: Find sailors whose rating is greater than every sailor called Horatio: SELECT * WHERE S.rating > ALL (SELECT S2.rating 2 WHERE S2.sname= Horatio ) If there were no sailor called this name, the comparison is true, all sailors will be returned. Q: Find sailors with highest rating. SELECT S.sid WHERE S.rating > =ALL (SELECT S2.rating 2) Division is SQL Q: Find sailors who ve reserved all boats. WHERE NOT EXISTS ((SELECT B.bid FROM Boats B) EXCEPT (SELECT R.bid WHERE R.sid=S.sid)) 14

CSIT5300: Advanced Database Systems

CSIT5300: Advanced Database Systems CSIT5300: Advanced Database Systems E03: SQL Part 1 Exercises Dr. Kenneth LEUNG Department of Computer Science and Engineering The Hong Kong University of Science and Technology Hong Kong SAR, China kwtleung@cse.ust.hk

More information

{ } Plan#for#Today# CS#133:#Databases# RelaKonal#Calculus# Rel.#Alg.#Compound#Operator:# Division# A B = x y B( x, y A)

{ } Plan#for#Today# CS#133:#Databases# RelaKonal#Calculus# Rel.#Alg.#Compound#Operator:# Division# A B = x y B( x, y A) Planforoday CS133:Databases Spring2017 Lec8 2/9 SQL Prof.Bethrushkowsky EnhanceunderstandingofsemanKcsof conceptualqueryevaluakon Buildonunderstandingoftheroleofprimary keysandnullvaluesinqueries PracKcereadingandwriKngmorecomplex

More information

SQL Aggregate Queries

SQL Aggregate Queries SQL Aggregate Queries CS430/630 Lecture 8 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Aggregate Operators Significant extension of relational algebra COUNT (*) COUNT (

More information

Comp115: Databases. Relational Algebra

Comp115: Databases. Relational Algebra Comp115: Databases Relational Algebra Instructor: Manos Athanassoulis Up to now we have been discussing how to: (i) model the requirements (ii) translate them into relational schema (iii) refine the schema

More information

RESERVATION.Sid and RESERVATION.Bid are foreign keys referring to SAILOR.Sid and BOAT.Bid, respectively.

RESERVATION.Sid and RESERVATION.Bid are foreign keys referring to SAILOR.Sid and BOAT.Bid, respectively. relational schema SAILOR ( Sid: integer, Sname: string, Rating: integer, Age: real ) BOAT ( Bid: integer, Bname: string, Color: string ) RESERVATION ( Sid: integer, Bid: integer, Day: date ) RESERVATION.Sid

More information

CS 461: Database Systems. Relational Algebra. supplementary material: Database Management Systems Sec. 4.1, 4.2 class notes

CS 461: Database Systems. Relational Algebra. supplementary material: Database Management Systems Sec. 4.1, 4.2 class notes CS 461: Database Systems Relational Algebra supplementary material: Database Management Systems Sec. 4.1, 4.2 class notes Julia Stoyanovich (stoyanovich@drexel.edu) Game of Thrones Characters Episodes

More information

RESERVATION.Sid and RESERVATION.Bid are foreign keys referring to SAILOR.Sid and BOAT.Bid, respectively.

RESERVATION.Sid and RESERVATION.Bid are foreign keys referring to SAILOR.Sid and BOAT.Bid, respectively. relational schema SAILOR ( Sid: integer, Sname: string, Rating: integer, Age: real ) BOAT ( Bid: integer, Bname: string, Color: string ) RESERVATION ( Sid: integer, Bid: integer, Day: date ) RESERVATION.Sid

More information

sname rating 8 .forward Relational Algebra Operator Precedence Sample Query 0 Example Schema bid 103 sname( ( Sailors) Relational Algebra Queries

sname rating 8 .forward Relational Algebra Operator Precedence Sample Query 0 Example Schema bid 103 sname( ( Sailors) Relational Algebra Queries .forward Please put your preferred email address in.forward file of your login directory at cs.umb.edu, for example: Relational Algebra Queries cat >.forward joe@gmail.com Then email to joe@cs.umb.edu

More information

CSIT5300: Advanced Database Systems

CSIT5300: Advanced Database Systems CSIT5300: Advanced Database Systems E03: SQL Part 2 Exercises Dr. Kenneth LEUNG Department of Computer Science and Engineering The Hong Kong University of Science and Technology Hong Kong SAR, China kwtleung@cse.ust.hk

More information

SQL language: set operators

SQL language: set operators The operator The INTEECT operator The EXCET operator QL language: basics The operator et union operator A B The operator It performs the union of the two relational expressions A and B relational expressions

More information

Using SQL in MS Access

Using SQL in MS Access Using SQL in MS Access Himadri Barman 1. Creating Tables Create a table PLAYERS. The fields and corresponding data types along with other requirements are: Player_ID Text of size 10, primary key Player_Name

More information

Database Systems CSE 414

Database Systems CSE 414 Database Systems CSE 414 Lectures 4: Joins & Aggregation (Ch. 6.1-6.4) CSE 414 - Spring 2017 1 Announcements WQ1 is posted to gradebook double check scores WQ2 is out due next Sunday HW1 is due Tuesday

More information

TECHNICAL NOTE HOW TO USE LOOPERS. Kalipso_TechDocs_Loopers. Revision: 1.0. Kalipso version: Date: 16/02/2017.

TECHNICAL NOTE HOW TO USE LOOPERS. Kalipso_TechDocs_Loopers. Revision: 1.0. Kalipso version: Date: 16/02/2017. TECHNICAL NOTE HOW TO USE LOOPERS Document: Kalipso_TechDocs_Loopers Revision: 1.0 Kalipso version: 4.0 20161231 Date: 16/02/2017 Author: RS Contents 1. About... 3 2. Application Examples... 4 2.1. List

More information

Couples, Relations and Functions

Couples, Relations and Functions Couples, and Lecture 7 Tony Mullins Griffith College Dublin 1 Selector Given and Couples Tony Mullins Griffith College Dublin 3 Couples Tony Mullins Griffith College Dublin 5 Couples A couple is a pair

More information

The Coach then sorts the 25 players into separate teams and positions

The Coach then sorts the 25 players into separate teams and positions Section 4 A: Contingency Tables Introduction A local school has a Varsity and Junior Varsity basketball team. No player plays on both teams and no player plays at more than one position. The coach writes

More information

MEETPLANNER DESIGN DOCUMENT IDENTIFICATION OVERVIEW. Project Name: MeetPlanner. Project Manager: Peter Grabowski

MEETPLANNER DESIGN DOCUMENT IDENTIFICATION OVERVIEW. Project Name: MeetPlanner. Project Manager: Peter Grabowski MEETPLANNER DESIGN DOCUMENT IDENTIFICATION Project Name: MeetPlanner Project Manager: Peter Grabowski OVERVIEW Swim coaches are often faced with a dilemma while planning swim meets. On the one hand, they

More information

NCSS Statistical Software

NCSS Statistical Software Chapter 256 Introduction This procedure computes summary statistics and common non-parametric, single-sample runs tests for a series of n numeric, binary, or categorical data values. For numeric data,

More information

Team BUSY : Excise register RG-23 A-11, provision made to input starting S.No.

Team BUSY : Excise register RG-23 A-11, provision made to input starting S.No. The BUSY development team is proud to announce the immediate release of BUSY 16 ( Rel 4.0 ) with following feedbacks implemented and bugs rectified : Statutory Changes Team BUSY : Delhi VAT ereturn as

More information

Iteration: while, for, do while, Reading Input with Sentinels and User-defined Functions

Iteration: while, for, do while, Reading Input with Sentinels and User-defined Functions Iteration: while, for, do while, Reading Input with Sentinels and User-defined Functions This programming assignment uses many of the ideas presented in sections 6 and 7 of the course notes. You are advised

More information

Gaia ARI. ARI s Gaia Workshop. Grégory Mantelet. 20 th June 2018 CDS / ARI

Gaia ARI. ARI s Gaia Workshop. Grégory Mantelet. 20 th June 2018 CDS / ARI Gaia Services @ ARI ARI s Gaia Workshop Grégory Mantelet CDS / ARI 20 th June 2018 Grégory Mantelet (CDS / ARI) Gaia Services @ ARI 20 th June 2018 1 / 29 1 1. Available services 2 2. Gaia-DR2 @ ARI Feedback

More information

USA Jump Rope Tournament Software User Guide 2014 Edition

USA Jump Rope Tournament Software User Guide 2014 Edition USA Jump Rope Tournament Software User Guide www.usajumprope.org Table of Contents Contents System Requirements... 3 System Conventions... 4 Phase 1 Tournament Pre registration Preparation... 5 Name Your

More information

Applied Econometrics with. Time, Date, and Time Series Classes. Motivation. Extension 2. Motivation. Motivation

Applied Econometrics with. Time, Date, and Time Series Classes. Motivation. Extension 2. Motivation. Motivation Applied Econometrics with Extension 2 Time, Date, and Time Series Classes Time, Date, and Time Series Classes Christian Kleiber, Achim Zeileis 2008 2017 Applied Econometrics with R Ext. 2 Time, Date, and

More information

An Overview of Recent Auction Formats

An Overview of Recent Auction Formats An Overview of Recent Auction Formats Prepared for the 6 th annual European Spectrum Management Conference Dr Soren Sorensen Senior Consultant, NERA London Brussels 14 June 2011 Some Recent Auction Formats

More information

Working with Object- Orientation

Working with Object- Orientation HOUR 3 Working with Object- Orientation What You ll Learn in This Hour:. How to model a class. How to show a class s features, responsibilities, and constraints. How to discover classes Now it s time to

More information

by Robert Gifford and Jorge Aranda University of Victoria, British Columbia, Canada

by Robert Gifford and Jorge Aranda University of Victoria, British Columbia, Canada Manual for FISH 4.0 by Robert Gifford and Jorge Aranda University of Victoria, British Columbia, Canada Brief Introduction FISH 4.0 is a microworld exercise designed by University of Victoria professor

More information

Homework 4 PLAYERS, TEAMS, MATCHES, PENALTIES, COMMITTEE_MEMBERS

Homework 4 PLAYERS, TEAMS, MATCHES, PENALTIES, COMMITTEE_MEMBERS Homework 4 In this homework assignment, you will create tennis club database named tennis and write SQL statements to create database tables, load data to the tables, and run MySQL queries. Referential

More information

Design, Operation and Maintenance of a Swimming Pool

Design, Operation and Maintenance of a Swimming Pool Page 1 of 2 WASHINGTON STATE MATHEMATICS COUNCIL 2018 MIDDLE SCHOOL MATH OLYMPIAD Session I: PROBLEM SOLVING Design, Operation and Maintenance of a Swimming Pool The City is planning to build a swimming

More information

CENTER PIVOT EVALUATION AND DESIGN

CENTER PIVOT EVALUATION AND DESIGN CENTER PIVOT EVALUATION AND DESIGN Dale F. Heermann Agricultural Engineer USDA-ARS 2150 Centre Avenue, Building D, Suite 320 Fort Collins, CO 80526 Voice -970-492-7410 Fax - 970-492-7408 Email - dale.heermann@ars.usda.gov

More information

Exam Name: db2 udb v7.1 family fundamentals

Exam Name: db2 udb v7.1 family fundamentals Exam Code: 000-512 Exam Name: db2 udb v7.1 family fundamentals Vendor: IBM Version: DEMO Part: A 1: Given a table T1, with a column C1 char(3), that contains strings in upper and lower case letters, which

More information

SIDRA INTERSECTION 6.1 UPDATE HISTORY

SIDRA INTERSECTION 6.1 UPDATE HISTORY Akcelik & Associates Pty Ltd PO Box 1075G, Greythorn, Vic 3104 AUSTRALIA ABN 79 088 889 687 For all technical support, sales support and general enquiries: support.sidrasolutions.com SIDRA INTERSECTION

More information

Healthcare Analytics Anticoagulation Time in Therapeutic Range Calculation Documentation September 4, 2015

Healthcare Analytics Anticoagulation Time in Therapeutic Range Calculation Documentation September 4, 2015 Healthcare Analytics Anticoagulation Time in Therapeutic Range Calculation Documentation September 4, 2015 Reference #1: Percent of Days in Range (Rosendaal Method) Article: http://www.inrpro.com/article.asp?id=1

More information

Oracle 11g Secure Files Overview Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.

Oracle 11g Secure Files Overview  Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc. ORACLE 11G SECURE FILES - PART 1 Inderpal S. Johal, Data Softech Inc. INTRODUCTION Oracle has provided various features like Domain Indexes. Partitioning, Parallelism etc which can provide good performance

More information

Events Committee Format WP Olympic Format Options for 2016 Mid-Year Report April 2012

Events Committee Format WP Olympic Format Options for 2016 Mid-Year Report April 2012 Events Committee Format WP Olympic Format Options for 2016 Mid-Year Report April 2012 1. Objectives For the purposes of format, sailing can be considered to have six different Olympic Events: Board (RSX

More information

Chapter 4 (sort of): How Universal Are Turing Machines? CS105: Great Insights in Computer Science

Chapter 4 (sort of): How Universal Are Turing Machines? CS105: Great Insights in Computer Science Chapter 4 (sort of): How Universal Are Turing Machines? CS105: Great Insights in Computer Science Some Probability Theory If event has probability p, 1/p tries before it happens (on average). If n distinct

More information

IWR PLANNING SUITE II PCOP WEBINAR SERIES. Laura Witherow (IWR) and Monique Savage (MVP) 26 July

IWR PLANNING SUITE II PCOP WEBINAR SERIES. Laura Witherow (IWR) and Monique Savage (MVP) 26 July IWR PLANNING SUITE II 1 255 255 255 237 237 237 0 0 0 217 217 217 163 163 163 200 200 200 131 132 122 239 65 53 80 119 27 PCOP WEBINAR SERIES 110 135 120 252 174.59 112 92 56 62 102 130 102 56 48 130 120

More information

G53CLP Constraint Logic Programming

G53CLP Constraint Logic Programming G53CLP Constraint Logic Programming Dr Rong Qu Basic Search Strategies CP Techniques Constraint propagation* Basic search strategies Look back, look ahead Search orders B & B *So far what we ve seen is

More information

Dive Planet. Manual. Rev Basic User Interface. 2 How to organize your dives. 3 Statistics. 4 Location Service and Map View.

Dive Planet. Manual. Rev Basic User Interface. 2 How to organize your dives. 3 Statistics. 4 Location Service and Map View. Dive Planet Manual Rev 1.2 1 Basic User Interface 2 How to organize your dives 3 Statistics 4 Location Service and Map View 5 Settings 6 Languages 7 Buddies and guide 8 Backup and restore of the data 9

More information

We release Mascot Server 2.6 at the end of last year. There have been a number of changes and improvements in the search engine and reports.

We release Mascot Server 2.6 at the end of last year. There have been a number of changes and improvements in the search engine and reports. 1 We release Mascot Server 2.6 at the end of last year. There have been a number of changes and improvements in the search engine and reports. I ll also be covering some enhancements and changes in Mascot

More information

Fantasy Baseball Filename: baseball

Fantasy Baseball Filename: baseball Fantasy Baseball Filename: baseball Each year the state of Florida picks a Most Valuable Player (MVP) amongst all of its baseball players. Last year however, many were outraged when the winner became the

More information

2005 FISA Extraordinary Congress

2005 FISA Extraordinary Congress 1. General 2005 FISA Extraordinary Congress to the Statutes, Rules of Racing and Regulations for FISA Championship Regattas. You will find three columns in the Proposed Changes section of the Agenda Papers.

More information

CSE 3401: Intro to AI & LP Uninformed Search II

CSE 3401: Intro to AI & LP Uninformed Search II CSE 3401: Intro to AI & LP Uninformed Search II Required Readings: R & N Chapter 3, Sec. 1-4. 1 {Arad}, {Zerind, Timisoara, Sibiu}, {Zerind, Timisoara, Arad, Oradea, Fagaras, RimnicuVilcea }, {Zerind,

More information

Racing Rules of Sailing

Racing Rules of Sailing Racing Rules of Sailing Changes for 2009-2012 Affecting Race Management Presented by Bill Kirkpatrick December 7, 2008 Changes to RRS Summary - 1 PART 2, SECTION B General Limitations RRS 17 On the Same

More information

[CROSS COUNTRY SCORING]

[CROSS COUNTRY SCORING] 2015 The Race Director Guide [CROSS COUNTRY SCORING] This document describes the setup and scoring processes employed when scoring a cross country race with Race Director. Contents Intro... 3 Division

More information

- 2 - Companion Web Site. Back Cover. Synopsis

- 2 - Companion Web Site. Back Cover. Synopsis Companion Web Site A Programmer's Introduction to C# by Eric Gunnerson ISBN: 1893115860 Apress 2000, 358 pages This book takes the C programmer through the all the details from basic to advanced-- of the

More information

Markings Technical Committee Chapter 3H: Roundabout Markings APPROVED IN NCUTCD COUNCIL ON JANUARY 20, 2006

Markings Technical Committee Chapter 3H: Roundabout Markings APPROVED IN NCUTCD COUNCIL ON JANUARY 20, 2006 ATTACHMENT NO. 30 Markings Technical Committee Chapter 3H: Roundabout Markings APPROVED IN NCUTCD COUNCIL ON JANUARY 20, 2006 Roundabouts are becoming an increasingly utilized form of intersection design

More information

Topic No January 2000 Manual on Uniform Traffic Studies Revised July Chapter 8 GAP STUDY

Topic No January 2000 Manual on Uniform Traffic Studies Revised July Chapter 8 GAP STUDY Chapter 8 8.1 PURPOSE GAP STUDY (1) The Gap Study is used to determine the size and the number of gaps in the vehicular traffic stream for unsignalized intersections and access points, pedestrian studies,

More information

Search I. Tuomas Sandholm Carnegie Mellon University Computer Science Department. [Read Russell & Norvig Chapter 3]

Search I. Tuomas Sandholm Carnegie Mellon University Computer Science Department. [Read Russell & Norvig Chapter 3] Search I Tuomas Sandholm Carnegie Mellon University Computer Science Department [Read Russell & Norvig Chapter 3] Search I Goal-based agent (problem solving agent) Goal formulation (from preferences).

More information

CS 221 PROJECT FINAL

CS 221 PROJECT FINAL CS 221 PROJECT FINAL STUART SY AND YUSHI HOMMA 1. INTRODUCTION OF TASK ESPN fantasy baseball is a common pastime for many Americans, which, coincidentally, defines a problem whose solution could potentially

More information

All Work and no Play. Is that work? Work, work, work. You might head off to your job one day, sit at a computer, and type away at the keys.

All Work and no Play. Is that work? Work, work, work. You might head off to your job one day, sit at a computer, and type away at the keys. All Work and no Play Work, work, work. You might head off to your job one day, sit at a computer, and type away at the keys. Is that work? To a physicist, only parts of it are. Work is done when a force

More information

Chapter 3 BUS IMPROVEMENT CONCEPTS

Chapter 3 BUS IMPROVEMENT CONCEPTS Chapter 3 BUS IMPROVEMENT CONCEPTS The purpose of this chapter is to describe potential bus improvement strategies and potential impacts or implications associated with BRT implementation within the existing

More information

CSE 3402: Intro to Artificial Intelligence Uninformed Search II

CSE 3402: Intro to Artificial Intelligence Uninformed Search II CSE 3402: Intro to Artificial Intelligence Uninformed Search II Required Readings: Chapter 3, Sec. 1-4. 1 {Arad}, {Zerind, Timisoara, Sibiu}, {Zerind, Timisoara, Arad, Oradea, Fagaras, RimnicuVilcea },

More information

Spacecraft Simulation Tool. Debbie Clancy JHU/APL

Spacecraft Simulation Tool. Debbie Clancy JHU/APL FSW Workshop 2011 Using Flight Software in a Spacecraft Simulation Tool Debbie Clancy JHU/APL debbie.clancy@jhuapl.edu 443-778-7721 Agenda Overview of RBSP and FAST Technical Challenges Dropping FSW into

More information

Repetition Structures

Repetition Structures Repetition Structures Chapter 5 5-1 Chapter 5 Objectives The Loop Instruction The While Instruction Nested Loops 5-2 The Loop Instruction Simple control structure allows o Instruction (or block of instructions)

More information

5.1 Introduction. Learning Objectives

5.1 Introduction. Learning Objectives Learning Objectives 5.1 Introduction Statistical Process Control (SPC): SPC is a powerful collection of problem-solving tools useful in achieving process stability and improving capability through the

More information

UNITY 2 TM. Air Server Series 2 Operators Manual. Version 1.0. February 2008

UNITY 2 TM. Air Server Series 2 Operators Manual. Version 1.0. February 2008 UNITY 2 TM Air Server Series 2 Operators Manual Version 1.0 February 2008 1. Introduction to the Air Server Accessory for UNITY 2...2 1.1. Summary of Operation...2 2. Developing a UNITY 2-Air Server method

More information

Twitter Analysis of IPL cricket match using GICA method

Twitter Analysis of IPL cricket match using GICA method Twitter Analysis of IPL cricket match using GICA method Ajay Ramaseshan, Joao Pereira, Santosh Tirunagari July 28, 2012 Abstract Twitter is a powerful medium to express views and opinions, in fields such

More information

Evaluating the Influence of R3 Treatments on Fishing License Sales in Pennsylvania

Evaluating the Influence of R3 Treatments on Fishing License Sales in Pennsylvania Evaluating the Influence of R3 Treatments on Fishing License Sales in Pennsylvania Prepared for the: Pennsylvania Fish and Boat Commission Produced by: PO Box 6435 Fernandina Beach, FL 32035 Tel (904)

More information

Xactix XeF2 OPERATION MANUAL

Xactix XeF2 OPERATION MANUAL General Information The Xactix e-1 is a xenon difluoride (XeF 2) isotropic silicon etcher. XeF 2 is a vapor phase etch, which exhibits very high selectivity of silicon to photo-resist, silicon dioxide,

More information

Look again at the election of the student council president used in the previous activities.

Look again at the election of the student council president used in the previous activities. Activity III: Pairwise Comparisons (Grades 8-11) NCTM Standards: Number and Operation Data Analysis, Statistics, and Probability Problem Solving Reasoning and Proof Communication Connections Representation

More information

FIG: 27.1 Tool String

FIG: 27.1 Tool String Bring up Radioactive Tracer service. Click Acquisition Box - Edit - Tool String Edit the tool string as necessary to reflect the tool string being run. This is important to insure proper offsets, filters,

More information

[CROSS COUNTRY SCORING]

[CROSS COUNTRY SCORING] 2018 The Race Director Guide [CROSS COUNTRY SCORING] This document describes the setup and scoring processes employed when scoring a cross country race with Race Director. Contents Intro... 3 Division

More information

Background Information. Project Instructions. Problem Statement. EXAM REVIEW PROJECT Microsoft Excel Review Baseball Hall of Fame Problem

Background Information. Project Instructions. Problem Statement. EXAM REVIEW PROJECT Microsoft Excel Review Baseball Hall of Fame Problem Background Information Every year, the National Baseball Hall of Fame conducts an election to select new inductees from candidates nationally recognized for their talent or association with the sport of

More information

Full-Time People and Registrations Version 5.0

Full-Time People and Registrations Version 5.0 Full-Time People and Registrations Version 5.0 Full-Time People and Registrations Page 1 1.0 People 1.1 How to Add New League Administrators 3 1.2 How to Add Other New Administrators 4 1.3 How to Change

More information

13. TIDES Tidal waters

13. TIDES Tidal waters Water levels vary in tidal and non-tidal waters: sailors should be aware that the depths shown on the charts do not always represent the actual amount of water under the boat. 13.1 Tidal waters In tidal

More information

CT PET-2018 Part - B Phd COMPUTER APPLICATION Sample Question Paper

CT PET-2018 Part - B Phd COMPUTER APPLICATION Sample Question Paper CT PET-2018 Part - B Phd COMPUTER APPLICATION Sample Question Paper Note: All Questions are compulsory. Each question carry one mark. 1. Error detection at the data link layer is achieved by? [A] Bit stuffing

More information

Simulating Major League Baseball Games

Simulating Major League Baseball Games ABSTRACT Paper 2875-2018 Simulating Major League Baseball Games Justin Long, Slippery Rock University; Brad Schweitzer, Slippery Rock University; Christy Crute Ph.D, Slippery Rock University The game of

More information

Spreading Activation in Soar: An Update

Spreading Activation in Soar: An Update Spreading Activation in Soar: An Update Steven Jones Computer Science and Engineering, University of Michigan, Ann Arbor scijones@umich.edu June 13, 2016 Steven Jones (U-M) Spreading Activation in Soar

More information

Autodesk Moldflow Communicator Process settings

Autodesk Moldflow Communicator Process settings Autodesk Moldflow Communicator 212 Process settings Revision 1, 3 March 211. Contents Chapter 1 Process settings....................................... 1 Profiles.................................................

More information

Relational Schema Design. Part II: Schema Decomposition. Example of Bad Design. Result of bad design: Anomalies

Relational Schema Design. Part II: Schema Decomposition. Example of Bad Design. Result of bad design: Anomalies Relational Schema Design 50 51 Part II: Schema Decomposition Goal of relational schema design is to avoid redundancy, and the anomalies it enables. Update anomaly : one occurrence of a fact is changed,

More information

STATIONARY SPRINKLER IRRIGATION SYSTEM

STATIONARY SPRINKLER IRRIGATION SYSTEM STATIONARY SPRINKLER North Carolina Cooperative Extension Service North Carolina State University STATIONARY SPRINKLER General Guidelines Operating an irrigation system differently than assumed in the

More information

RML Example 26: pto. First Try at a PTO. PTO with a table inside

RML Example 26: pto. First Try at a PTO. PTO with a table inside RML (Report Markup Language) is ReportLab's own language for specifying the appearance of a printed page, which is converted into PDF by the utility rml2pdf. These RML samples showcase techniques and features

More information

MIKE NET AND RELNET: WHICH APPROACH TO RELIABILITY ANALYSIS IS BETTER?

MIKE NET AND RELNET: WHICH APPROACH TO RELIABILITY ANALYSIS IS BETTER? MIKE NET AND RELNET: WIC APPROAC TO RELIABILITY ANALYSIS IS BETTER? Alexandr Andrianov Water and Environmental Engineering, Department of Chemical Engineering, Lund University P.O. Box 124, SE-221 00 Lund,

More information

N E W J U D G I N G S Y S T E M F O R A R T I S T I C R O L L E R S K A T I N G C O M P E T I T I O N S THE SYSTEM.

N E W J U D G I N G S Y S T E M F O R A R T I S T I C R O L L E R S K A T I N G C O M P E T I T I O N S THE SYSTEM. N E W J U D G I N G S Y S T E M F O R A R T I S T I C R O L L E R S K A T I N G C O M P E T I T I O N S THE SYSTEM By Nicola Genchi INDEX INDEX... 2 1 OWNERSHIP... 3 2 OVERVIEW... 3 3 GLOSSARY... 3 4 NEW

More information

Participation of Women in the Joint Statistical Meetings: Beginning in 1996, the American Statistical Association s Committee on Women in

Participation of Women in the Joint Statistical Meetings: Beginning in 1996, the American Statistical Association s Committee on Women in Participation of Women in the Joint Statistical Meetings: 1996 2004 Beginning in 1996, the American Statistical Association s Committee on Women in Statistics (COWIS) has been tracking the participation

More information

Hydrostatics Physics Lab XI

Hydrostatics Physics Lab XI Hydrostatics Physics Lab XI Objective Students will discover the basic principles of buoyancy in a fluid. Students will also quantitatively demonstrate the variance of pressure with immersion depth in

More information

STIPumpCard. User Manual

STIPumpCard. User Manual STIPumpCard User Manual Contents 1. Introduction...1 1.1. What is STIPumpCard?... 1 1.2. Main User Interface... 2 2. Input Parameters...4 2.1. Project... 4 2.2. Simulation Settings GroupBox... 4 2.3. Pump

More information

Prerequisites: Layout:

Prerequisites: Layout: Create a.csv File to Import Competitors. Excel, (and most other spread sheets), databases and some word processors allow the export of data ("save as..") a 'flat' text file in Comma Separated Variables

More information

Excel Solver Case: Beach Town Lifeguard Scheduling

Excel Solver Case: Beach Town Lifeguard Scheduling 130 Gebauer/Matthews: MIS 213 Hands-on Tutorials and Cases, Spring 2015 Excel Solver Case: Beach Town Lifeguard Scheduling Purpose: Optimization under constraints. A. GETTING STARTED All Excel projects

More information

Flyweight Pattern. Flyweight: Intent. Use sharing to support large numbers of fine-grained objects efficiently. CSIE Department, NTUT Chien-Hung Liu

Flyweight Pattern. Flyweight: Intent. Use sharing to support large numbers of fine-grained objects efficiently. CSIE Department, NTUT Chien-Hung Liu Flyweight Pattern CSIE Department, NTUT Chien-Hung Liu Flyweight: Intent Use sharing to support large numbers of fine-grained objects efficiently 1 Flyweight: Motivation (1) Some applications could benefit

More information

Cloud real-time single-elimination tournament chart system

Cloud real-time single-elimination tournament chart system International Journal of Latest Research in Engineering and Technology () Cloud real-time single-elimination tournament chart system I-Lin Wang 1, Hung-Yi Chen 2, Jung-Huan Lee 3, Yuan-Mei Sun 4,*, Yen-Chen

More information

A Nomogram Of Performances In Endurance Running Based On Logarithmic Model Of Péronnet-Thibault

A Nomogram Of Performances In Endurance Running Based On Logarithmic Model Of Péronnet-Thibault American Journal of Engineering Research (AJER) e-issn: 2320-0847 p-issn : 2320-0936 Volume-6, Issue-9, pp-78-85 www.ajer.org Research Paper Open Access A Nomogram Of Performances In Endurance Running

More information

4.1 Why is the Equilibrium Diameter Important?

4.1 Why is the Equilibrium Diameter Important? Chapter 4 Equilibrium Calculations 4.1 Why is the Equilibrium Diameter Important? The model described in Chapter 2 provides information on the thermodynamic state of the system and the droplet size distribution.

More information

Acknowledgments...iii. Section 1: Introduction to /ILE... 1

Acknowledgments...iii. Section 1: Introduction to /ILE... 1 Contents Acknowledgments...iii Section 1: Introduction to /ILE... 1 Chapter 1: A High-Level Introduction to ILE... 3 The Organization of the Book... 4 What Is Was OPM?... 6 Problems with OPM... 6 What

More information

Real World Search Problems. CS 331: Artificial Intelligence Uninformed Search. Simpler Search Problems. Example: Oregon. Search Problem Formulation

Real World Search Problems. CS 331: Artificial Intelligence Uninformed Search. Simpler Search Problems. Example: Oregon. Search Problem Formulation Real World Search Problems S 331: rtificial Intelligence Uninformed Search 1 2 Simpler Search Problems ssumptions bout Our Environment Fully Observable Deterministic Sequential Static Discrete Single-agent

More information

501 (OPTIONS: L01, L02, L03, L04, L05, L06) This game is played the same as 301 except a player starts with 501 points.

501 (OPTIONS: L01, L02, L03, L04, L05, L06) This game is played the same as 301 except a player starts with 501 points. DART GAMES 301 (OPTIONS: L01, L02, L03, L04, L05, L06) Each player begins with 301 points, and must reach exactly zero to win. The score of each dart thrown is subtracted from the beginning score of each

More information

MP-70/50 Series Scoreboard Controller User Guide

MP-70/50 Series Scoreboard Controller User Guide MP-70/50 Series Scoreboard Controller User Guide Document No.: 98-0002-29 Document Version: 1709.13 Effective with Firmware Version: 3.08g TIMEOUT TIMER SET TO On the numeric keypad, enter the number of

More information

The system design must obey these constraints. The system is to have the minimum cost (capital plus operating) while meeting the constraints.

The system design must obey these constraints. The system is to have the minimum cost (capital plus operating) while meeting the constraints. Computer Algorithms in Systems Engineering Spring 2010 Problem Set 6: Building ventilation design (dynamic programming) Due: 12 noon, Wednesday, April 21, 2010 Problem statement Buildings require exhaust

More information

At each type of conflict location, the risk is affected by certain parameters:

At each type of conflict location, the risk is affected by certain parameters: TN001 April 2016 The separated cycleway options tool (SCOT) was developed to partially address some of the gaps identified in Stage 1 of the Cycling Network Guidance project relating to separated cycleways.

More information

A IMPROVED VOGEL S APPROXIMATIO METHOD FOR THE TRA SPORTATIO PROBLEM. Serdar Korukoğlu 1 and Serkan Ballı 2.

A IMPROVED VOGEL S APPROXIMATIO METHOD FOR THE TRA SPORTATIO PROBLEM. Serdar Korukoğlu 1 and Serkan Ballı 2. Mathematical and Computational Applications, Vol. 16, No. 2, pp. 370-381, 2011. Association for Scientific Research A IMPROVED VOGEL S APPROXIMATIO METHOD FOR THE TRA SPORTATIO PROBLEM Serdar Korukoğlu

More information

Application of Bayesian Networks to Shopping Assistance

Application of Bayesian Networks to Shopping Assistance Application of Bayesian Networks to Shopping Assistance Yang Xiang, Chenwen Ye, and Deborah Ann Stacey University of Guelph, CANADA Abstract. We develop an on-line shopping assistant that can help a e-shopper

More information

Package mrchmadness. April 9, 2017

Package mrchmadness. April 9, 2017 Package mrchmadness April 9, 2017 Title Numerical Tools for Filling Out an NCAA Basketball Tournament Bracket Version 1.0.0 URL https://github.com/elishayer/mrchmadness Imports dplyr, glmnet, Matrix, rvest,

More information

For IEC use only. Technical Committee TC3: Information structures, documentation and graphical symbols

For IEC use only. Technical Committee TC3: Information structures, documentation and graphical symbols For IEC use only 3/686/INF 2003-08 INTERNATIONAL ELECTROTECHNICAL COMMISSION Technical Committee TC3: Information structures, documentation and graphical symbols Labels to be used in database standards

More information

living with the lab control of salinity 2012 David Hall

living with the lab control of salinity 2012 David Hall control of salinity 2012 David Hall General Idea The objective is to keep the salinity close to a setpoint which will be provided by your instructor The salinity sensor measures the analog voltage output

More information

Report. User guide for the NOWIcob tool (D5.1-75) Author(s) Matthias Hofmann Iver Bakken Sperstad Magne Kolstad

Report. User guide for the NOWIcob tool (D5.1-75) Author(s) Matthias Hofmann Iver Bakken Sperstad Magne Kolstad - Unrestricted Report User guide for the NOWIcob tool (D5.1-75) Author(s) Matthias Hofmann Iver Bakken Sperstad Magne Kolstad SINTEF Energy Research Energy Systems 2014-12-18 Table of contents 1 Installation...

More information

3 Revising Diagnostic Imaging PARs

3 Revising Diagnostic Imaging PARs 3 Revising Diagnostic Imaging PARs This chapter covers revisions for Diagnostic Imaging PARs submitted through eqsuite. There are only a handful of scenarios in which a Diagnostic Imaging PAR would need

More information

Trawl fishery management of Eastern Arabian Sea

Trawl fishery management of Eastern Arabian Sea Trawl fishery management of Eastern Arabian Sea Dr. A.P.Dineshbabu, Central Marine Fisheries Research Institute, India Existing management practices Seasonal closure of fishery: The regulations for closed

More information

PLA 2.1. Release Notes PLA 2.1 (build 604) December 21, 2015

PLA 2.1. Release Notes PLA 2.1 (build 604) December 21, 2015 PLA 2.1 Release Notes PLA 2.1 (build 604) December 21, 2015 PLA 2.1 - Release Notes PLA 2.1 (build 604) COPYRIGHT 2015 by Stegmann Systems GmbH, Rodgau, Germany. All rights reserved. CONTACT Stegmann Systems

More information

Solving MINLPs with BARON. Mustafa Kılınç & Nick Sahinidis Department of Chemical Engineering Carnegie Mellon University

Solving MINLPs with BARON. Mustafa Kılınç & Nick Sahinidis Department of Chemical Engineering Carnegie Mellon University Solving MINLPs with BARON Mustafa Kılınç & Nick Sahinidis Department of Chemical Engineering Carnegie Mellon University MINLP 2014 Carnegie Mellon University June 4, 2014 MIXED-INTEGER NONLINEAR PROGRAMS

More information

An Efficient Code Compression Technique using Application-Aware Bitmask and Dictionary Selection Methods

An Efficient Code Compression Technique using Application-Aware Bitmask and Dictionary Selection Methods An Efficient Code Compression Technique using Application-Aware Bitmask and Selection Methods Seok-Won Seong sseong@cise.ufl.edu Prabhat Mishra prabhat@cise.ufl.edu Department of Computer and Information

More information

Performance/Pilot Math

Performance/Pilot Math Performance/Pilot Math Charath Ranganathan, AGI http://pfactor.io/ facebook.com/pfactor.io (chuh-ruh-th) License This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0

More information