On Using Collection for Aggregation and Association Relationships in XML Object-Relational Storage

Size: px
Start display at page:

Download "On Using Collection for Aggregation and Association Relationships in XML Object-Relational Storage"

Transcription

1 2004 ACM Symosium on Alied Comuting On Using Collection for Aggregtion nd Assocition Reltionshis in XML Object-Reltionl Storge Eric Prdede, J.Wenny Rhyu Dertment of Comuter Science nd Comuter Eng. L Trobe University Bundoor VIC 3083 Austrli {ekrded, wenny}@cs.ltrobe.edu.u Dvid Tnir School of Business Systems Monsh University Clyton VIC 3800 Austrli Dvid.Tnir@infotech.monsh.edu.u ABSTRACT XML dt cn be stored in different dtbses including Object- Reltionl Dtbse (ORDB). Using ORDB, we get the benefit of the reltionl mturity nd the richness of OO modeling. One modeling concet tht cn be ctured is the collection. Collection structures frequently occur in XML documents esecilly in two reltionshi tyes: ggregtion nd ssocition. However, very often when the dt is stored in dtbse reository, the collection is flttened. We believe tht reserving the collection semntics in the logicl nd the imlementtion level will crete better solution. In this er we roose methods to reserve the collection in XML dt into ORDB using the concet of collection tyes. We use the Semntic Network digrm to reresent the collection of the ggregtion nd the ssocition in XML dt. Ech of these reltionshi tyes will then be trnsformed into storge in n ORDB environment. For ggregtion, we roose different methods bsed on the hierrchy constrint. For ssocition, our method is differentited bsed on the crdinlity. Ctegories nd Subject Descritors H.2.1 [Dtbse Mngement]: Logicl Design dt models Generl Terms Mngement, Design, Theory Keywords XML, XML schem, ORDB, collection 1. INTRODUCTION XML (extensible Mrku Lnguge) is document descrition metlnguge tht is used to reresent lrge-scle dt nd documents in the World Wide Web [11]. For tht reson lone, XML requires efficient dtbse storge to kee its dt. Object-Reltionl Dtbse (ORDB) is incresingly oulr s the dtbse storge for XML Dt [6]. Its oulrity reltes to its bility to cture the object-oriented modeling semntic nd the mturity of the reltionl imlementtion. Mny works hve been roosed to m the Dt Definition Lnguge (DTD) nd the XML Schem into the Object- Reltionl (OR) Schem [6, 7, 12, 13]. These works hve tried to cture different dt structures nd reltionshis tht re exist in XML Documents. One of the structures frequently found in XML Dt is the collection structure. The existing works however, hve med the collections into flt imlementtion model. These rctices hve diminished the concetul level semntic. In ddition, the trnsformtions hve not utilized collection tye in ORDB [8, 9]. These resons hve motivted us to roose different methods of reserving collection in XML Dt into the XML Schem nd the ORDB. We believe tht reserving the concetul semntic in the logicl nd the imlementtion level will crete better solution. Collection in XML Dt cn er in two different reltionshis: ssocition nd ggregtion. While ssocition is defined s reference reltionshi between one to nother object in system, ggregtion is tightly couled form of ssocition [10]. Aggregtion cn be defined s reltionshi in which comosite object ( whole ) consists of other comonent objects ( rts ) [10]. It is the im of this er to roose models tht cn reserve collection for ggregtion nd ssocition reltionshis in XML into ORDB. We erform two ming stes. First is the ming from the concetul model using Semntic Network Digrm to the logicl model using XML Schem. We extend the lgorithm in [3] by roosing different ming methods for ssocition nd ggregtion hierrchy. Second, the logicl model is med into the hysicl imlementtion using SQL in ORDB. For this urose we use the collection dt tyes [8, 9]. Permission to mke digitl or hrd coies of ll or rt of this work for ersonl or clssroom use is grnted without fee rovided tht coies re not mde or distributed for rofit or commercil dvntge nd tht coies ber this notice nd the full cittion on the first ge. To coy otherwise, or reublish, to ost on servers or to redistribute to lists, requires rior secific ermission nd/or fee. SAC 04 Mrch 14-17, 2004, Nicosi, Cyrus. Coyright 2004 ACM /03/04 $5.00. Concetul Model: Semntic Network Model Ste 1 Logicl Model: Ste 2 XML Schem Figure. 1. Ming Stes Physicl Model: ORDB 703

2 2. BACKGROUND In this section we briefly show some existing works on the imlementtion of collection for XML Dt. We lso rovide brief knowledge foundtion on the semntic network model before we use it in our roosed methods. 2.1 Existing Imlementtion in XML Some works hve tried to reserve the design modeling nd to store the XML dt into dtbses tht re bsed on reltionl model including the trditionl reltionl dtbse nd the ORDB. However, there is no work tht utilizes collection dt tyes tht ws introduced by SQL 1999 [5, 9] nd is enriched in SQL4 [8, 9]. Very often when the XML dt is stored in dtbse reository, the collection is not reserved. The collection in ggregtion nd ssocition reltionshi is usully flttened or slit into n entirely serte tble (see Fig.2). [4] resents simle ming of XML dt into the reltionl tbles. In this work, they treted XML documents s grhs with edges nd leves. The edges reresent the reltionshis while the leves reresent the vlues. In this work, the collection ered in ggregtion reltionshi is med into serte flt tbles by using comosite keys. It hs then diminished the collection semntic. [1] rooses comrehensive ming from the DTD into the OO Schem nd the imlementtion of the results into tbles. In the imlementtion stge gin the ggregtion tye is flttened. The ssocition reltionshi is med using IDREF. This is usully done when it is not ossible to form collection or nesting. [11] lso works in the ming of the DTD into the reltionl tbles. They develo n lgorithm nd rototye tht convert the XML documents to tules, trnslte the semi structured XML queries to SQL queries, nd then convert the results to XML dt. This work enlists the limittions of the reltionl dtbse usge for the XML documents. One of those highlights the limittions of imlementing collection semntic in the reltionl tble since this dtbse is unble to hve set-vlued ttributes. [6] rooses ming from the XML Schem into the OO/OR Schem. The work comres how the ming into reltionl schem cn be chnged into the OR schem. Thus, it does not cover the unique roerties of n OR model such s different tyes of reltionshis including ggregtion. Regrding ssocition reltionshi, this work hs mentioned the usge of collection to store the reference. Nevertheless, it does not show the ste-by ste ming from concetul level down to the imlementtion. [7] rooses ming from the DTD into the OR Schem. The min contribution of the work is the usge of hybrid dtbse where the users cn select certin ttributes to be stored in ORDB nd others to be stored s they re (s XML dt). It does not show the ming for different kinds of reltionshi nd dt structures. [15] rooses the ming of the OO Concetul Model into the XML Schem. This work hs included collection for ggregtion reltionshi. However, the usge of UML for XML Dt is not comlete [3]. In ddition, this work does not discuss the usge of collection in ssocition reltionshi. XML DOCUMENTS AGGREGATION BOOK EDITION EDITION EDITION <xsd:element nme = BOOK tye = BookTye /> <xsd:comlextye nme = BookTye >... <xsd:element nme = EDITION minoccurs =?0? mxoccurs=?unbounded?/>... </xsd:element> PK book_id EN1 Book book_title Fundmentls of Dtbse System Book-Edition PK, FK PK book_id ed-no ed-yer EN EN EN XML DOCUMENTS ASSOCIATION CUSTOMER ORDER ORDER ORDER <xs:element nme = CUSTOMER tye = CustomerTye / > <xs:comlextye nme = CustomerTye > <xs:element nme = ORDER tye= OrderTye mx Occurs = unbounded />... </xs:comlextye> <xs:comlextye nme = OrderTye >... </xs:comlextye> Customer PK CustomerID CustomerNme MR2 Mrk Roberts Order PK PK FK OrderNo OrderDte CustomerID 1 25/08/2003 MR2 2 26/08/2003 MR2 3 27/08/2003 MR2 Figure. 2. Collection Flttened in Existing Method 704

3 Finlly [12, 13] roose the ming of ssocition nd ggregtion reltionshi of XML Schem to ORDB. In [12], the collection in XML Schem is disered in the tbles since they store the reference in the mny side or in the serte tble. In [13], the collection is reserved in the XML Schem, but gin the dt is stored sertely in cluster tbles or nested tbles. We find tht the existing works either hve not reserved the collection or hve reserved one ming ste only. Therefore, in this work we re going to roose the comlete ming to reserve the collection in ggregtion nd ssocition reltionshis, from the concetul level to the imlementtion. 2.2 Semntic Network: An Overview In this er we use the Semntic Network Method [3] to model the concetul level of the XML Documents structures. The digrm cn be viewed s richer lterntive of W3C XML Dt Model [14]. The Semntic Network Method is divided into the semntic level nd the schem level. The former develos secific digrm from the XML document structures while the ltter ms the digrm into syntx nd structure formlism such s DTD nd XML Schem. The semntic network digrm is divided into four mjor comonents: nodes, directed edges, lbels, nd constrints. In Figure 3, there re 5 nodes: A, B, X, Y, nd Z. The first two re comlex nodes while the rest re bsic nodes. There re four directed edges reresenting the semntic reltionshis between the objects. We hve different lbels corresonding to ech edge. For exmle indictes in-roerty reltionshi nd reresents ggregtion reltionshi. Finlly, there re constrints dded in nodes or edges such s uniqueness, crdinlity, dhesion, ordering, etc. This digrm cn show the concetul design of the XML documents more comletely thn XML dt model or UML [2]. X {unique} A Y [0..n] Figure. 3. Semntic Network Digrm In the schem level the Semntic Network Method ms the four comonents of the digrm into XML Schem, which is minly concerned with element/ttribute declrtions nd simle/ comlex tye definitions [4]. In the next section we show how we extend the schem level ming to cture the collection semntic then we follow through to the imlementtion of the XML Schem in ORDB. 3. PROPOSED METHODS FOR AGGREGATION RELATIONSHIP In this section we roose the ming methods for ggregtion reltionshis in the XML Dt into the ORDB. The imlementtion will be different bsed on the ggregtion constrints. B Z In the first ste we m both the whole nd the rt comonents s comlex tyes. The loction of the comlex tyes will be determined by the ggregtion constrints. For the second ste, we directly m the whole comlex tye s the tble nd the rt comlex tyes s the collection tye ttributes. Until the time of writing, SQL4 [8, 9] hve stndrdized two collection tyes, rry nd multiset. An rry is dynmiclly sized ordered collection tht llows dulictes. A multiset or bg is n unordered collection tht llows dulictes. The collection itself cn be of simle dt tye (such s INTEGER), constructed dt tye (such s ROW), or user-defined tye. 3.1 Imlementtion of Shreble nd Existence-Indeendent Aggregtion In the first tye of ggregtion, the rt comonents re shreble nd their existence is indeendent from the whole comonent. Therefore, we enble ccess to the rt comonent without firstly ccessing the whole comonent. The ming rules re shown below. Rule 1: Ste 1: For two tyes nmely T 1 nd T 2 with elements/ttributes (A,B) nd (M,N) resectively, if T 1 cn be comosed by collection of shreble nd existence-indeendent T 2, imlement T 1 s comlex tye nd T 2 s nother comlex tye ccessed s n element in T 1 with mxoccurs constrint = unbound. Ste 2: For two comlex tyes nmely T 1 (A,B) nd T 2 (M,N), if T 1 cn be comosed by more thn one shreble nd existence-indeendent T 2, imlement T 2 s collection of UDT ttribute of tble T 1. Trnsformtion result is Tble n T 1 (A, B, UDT T 2 (M, N)) 0 El. A El. B El. M El. N TYPE T 1 [0..n] Ste 1 TABLE T 1 Att A Att B Coll.T 2 Vl A Vl B Att M Att N Vl M 1 Vl N 1 Vl M 2 Vl N 2 Generl Syntx CREATE TYPE <T 2 tye schem> (tt i dt_tye,..., dt_tye); tt i+m TYPE T 2 XML Schem Ste 2 CREATE TABLE <T 1 tble schem> (tt j dt_tye,..., tt j+n MULTISET ARRAY (<T 2 tye schem>)); Figure 4. Aggregtion Tye 1 Trnsformtion Exmle 1: Tye STAFF is the ggregtion of tye DEPENDENT (see Fig.5). The ltter tye cn still exist outside tye STAFF, robbly in 705

4 tye STUDENT, etc. The ggregtion tye will be med into collections of UDT in ORDB tble. Note tht the horizontl line determines the ordering semntic. StffId StffNme DeNme STAFF order [0..n] DEPENDENT Figure 5. STAFF Aggregtion Exmle DeAge Trnsformtion into XML Schem (Ste 1): <xsd:comlextye nme = DEPENDENT_Tye > <xsd:sequence> <xsd:element nme = DeNme tye = <xsd:element nme = DeAge tye = xsd:integer / > </xsd:sequence> <xsd:comlextye nme = STAFF_Tye > <xsd:ttribute nme = StffID tye = xsd:id use = required /> <xsd:element nme = StffNme tye = <xsd:element nme = DEPENDENT tye = xsd:dependent_tye mxoccurs= unbounded /> Trnsformtion into ORDB (Ste 2): CREATE TYPE DeendentTye (DeNme CHARACTER VARYING(40), DeAge INTEGER)/ CREATE TABLE Stff (StffID CHARACTER VARYING(5) CONSTRAINT StffID_k PRIMARY KEY, StffNme CHARACTER VARYING(40), Deendent MULTISET (DeendentTye)); The first contribution of our method is the trnsformtion of semntic network to XML Schem. We come u with XML Schem where both the whole nd the rt comonents re defined s comlex tyes. Inside the whole comlex tye, we will hve n element of the rt comlex tye. Hving done this, the rt tye cn ctully be used inside nother whole comlex tye (shreble). To reserve the collection, we use the XML Schem syntx mxoccurs= unbounded. <xsd:comlextye nme = PART_Tye >... The second contribution is the trnsformtion of the XML Schem to the ORDB in the form of UDT collection ttribute. The ming is strightforwrd. The rt comlex tye is med s UDT nd the whole comlex tye is med s tble with one collection ttribute formed by the rt tye. We use the SQL syntx TABLE( MULTISET<ARRAY[]> (UDT_TYPE)). 3.2 Imlementtion of Non-Shreble nd Existence-Deendent Aggregtion For the next ggregtion tye, the rt comonents re nonshreble nd their existence deends on the whole comonent. This tye is usully clled comosition. We need to exclusively define the rt comonent inside the whole comonent. Rule 2: Ste 1: For two tyes nmely T 1 nd T 2 with elements/ttributes (A,B) nd (M,N) resectively, if T 1 cn be comosed by collection of non-shreble nd existence-deendent T 2, imlement T 1 s comlex tye nd T 2 s n inner comlex tye with mxoccurs constrint = unbound. Ste 2: For two comlex tyes nmely T 1 (A,B) nd T 2 (M, N), if T 1 cn be comosed by collection of shreble nd existence-deendent T 2, imlement T 2 s collection of ROW ttribute of tble T 1. Trnsformtion result is Tble n T 1 (A, B, Row T 2 (M, N)) 0 El. A El. B El. M El. N TYPE T 1 TYPE T 2 [0..n] Ste 1 Ste 2 TABLE T 1 Att A Att B Coll.T 2 Vl A Vl B Att M Att N Vl M 1 Vl N 1 Vl M 2 Vl N 2 XML Schem Generl Syntx CREATE TABLE <T 1 tble schem> (tt i dt_tye,..., tt i+m MULTISET ARRAY ROW (tt (i+m)(j) dt_tye,...)); Figure 6. Aggregtion Tye 2 Trnsformtion Exmle 2: COURSE is the comosition of two multile tyes ASSIGNMENT nd EXAM (see Fig.7). The comosition tye will be med into collections of row ttribute in ORDB tble. <xsd:comlextye nme = WHOLE_Tye > <xsd:element nme = PART_Nme tye = xsd:part_tye mxoccurs= unbounded />

5 CourseID [1..n] COURSE [1..n] CourseNme <xsd:comlextye nme = WHOLE_Tye >... <xsd:element nme = PART_Nme mxoccurs= unbounded />> <xsd:comlextye>... AssignTitle ASSIGNMENT order AssignTye ExmDte EXAM order Figure 7. COURSE Comosition Exmle ExmPercent Trnsformtion into XML Schem (Ste 1): <xsd:comlextye nme = COURSE_Tye > <xsd:ttribute nme = CourseID tye = xsd:id use = required /> <xsd:element nme = CourseNme tye = <xsd:element nme = ASSIGNMENT tye = mxoccurs= unbounded /> <xsd:comlextye> <xsd:sequence> <xsd:element nme = AssignTitle tye = <xsd:element nme = AssignTye tye = xsd:string /> </xsd:sequence> <xsd:element nme = EXAM mxoccurs= unbounded /> <xsd:comlextye> <xsd:sequence> <xsd:element nme = ExmDte tye = xsd:dte/> <xsd:element nme = ExmPercent tye = xsd:integer / > </xsd:sequence> Trnsformtion into ORDB (Ste 2): CREATE TABLE Course (CourseID CHARACTER VARYING(5) CONSTRAINT CourseID_k PRIMARY KEY, CourseNme CHARACTER VARYING(40), Assignment MULTISET (ROW (AssignTitle CHARACTER VARYING(40), AssignTye CHARACTER VARYING (20))), Exm MULTISET (ROW (ExmDte DATE, ExmPercent INTEGER))); In the second ste, we m the outer comlex tye s the tble in the ORDB nd the inner comlex tye s the ROW ttribute. To reserve the collection we imlement the ROW s collection with this syntx TABLE( MULTISET<ARRAY[]>(ROW()). 4. PROPOSED METHODS FOR ASSOCIATION RELATIONSHIPS In this section we roose the ming methods of the ssocition reltionshi in the XML structures into the ORDB using the collection tyes. As we wnt to ccommodte the collection, we only cover the ssocition with mny crdinlity: 1:N nd N:N. Like the revious section, the roosed method is divided into two stes. In the first ste we m the concetul model in the semntic network into the XML Schem. The ssociting tyes will become the comlex tyes. In the second ste we m the comlex tyes s the tbles nd the referentil object s the collection tye ttribute. 4.1 Imlementtion of 1:N Assocition For the 1:N ssocition reltionshi, the reference cn be stored s collection inside the tye tht hs one side. In usul rctice, the XML Schem ming to ORDB is not strightforwrd becuse the loction of reference key in both schems is different. Our method rooses more strightforwrd ming since the reference tye is lwys locted in the tye tht hs one side. Rule 3: Ste 1: For two tyes nmely T 1 (A,B) nd T 2 (M,N), if T 1 nd T 2 hs 1:N ssocition reltionshi, imlement both s comlex tyes with T 1 hs collection of reference to T 2 Ste 2: For two comlex tyes nmely T 1 (A,B) nd T 2 (M,N), if T 1 holds collection of reference to T 2, imlement both s tbles with T 1 hs collection ttribute refer to T 2. n Trnsformtion result is Tble T 1 (A, B, 2 _ Key ) nd Tble T 2 (M, N) T 1 The roosed method from the concetul to the imlementtion level hs ctured the rel semntic of the comosition hierrchy. In the first trnsformtion, we come u with the XML Schem where the rt comonent is defined s comlex tye inside the whole tye element. By doing this we void other element tye to shre the rticulr rt comonent (non-shreble constrint). We lso ensure tht on removl of the whole tye, we remove ll rt comonents tht re defined inside it (existence-deendent constrint). To reserve the collection, we use the XML Schem syntx mxoccurs= unbounded. 707

6 El. A El. B El. M El. N TYPE T1 TYPE T2 Ste 1 Ste 2 XML Schem Trnsformtion into ORDB (Ste 2): CREATE TABLE Building (BuildingID CHARACTER VARYING(5) CONSTRAINT BuildingID_k PRIMARY KEY, BuildingNme CHARACTER VARYING(40)); TABLE T 1 Att A Att B Coll.T 2 Vl A Vl B Vl M1 Vl M2 TABLE T 2 Att M Att N Vl M 1 Vl N 1 Vl M 2 Vl N 2 CREATE TABLE Fculty (FcultyID CHARACTER VARYING(5) CONSTRAINT FcultyID_k PRIMARY KEY, FcultyNme CHARACTER VARYING(50), BuildingID MULTISET(CHARACTER VARYING(5))); Generl Syntx CREATE TABLE <T 2 tble schem> (tt i dt_tye,..., tt i+m dt_tye); CREATE TABLE <T 1 tble schem> (tt j dt_tye,..., tt j+n MULTISET ARRAY (T 2 Key dt_tye)); Figure 8. 1:N Assocition Trnsformtion Exmle 3: Tye FACULTY hs n ssocition reltionshi with tye BUILDING (see Fig.9). The reference element/ttribute from one to mny side tye will be med s collections ttribute in ORDB tble. FcultyID FACULTY FcultyNme BUILDING BuildingNme BuildingID Figure 9. FACULTY-BUILDING Assocition Exmle Trnsformtion into XML Schem (Ste 1): <xsd:comlextye nme = BUILDING_Tye > <xsd:ttribute nme = BuildingID tye = xsd:id use = required /> <xsd:element nme = BuildingNme tye = <xsd:comlextye nme = FACULTY_Tye > <xsd:ttribute nme = FcultyID tye = xsd:id use = required /> <xsd:element nme = FcultyNme tye = <xsd:ttribute nme = BuildingID tye = xsd:string mxoccurs= unbounded /> <keyref nme= BUILDING_BuildingID_Ref refer= BUILDING_BuildingID > <selector xth = FACULTY > <field /></keyref> <key nme= FACULTY_FcultyID > <selector xth = FACULTY > <field /></key> In our method, we utilize the collection to store the reltionshi between two tyes. For the first trnsformtion we come u with two comlex tyes. In the one comlex tye we will hve collection of element of the mny comlex tye. To reserve the collection, we use XML Schem syntx mxoccurs= unbounded. And to mintin the reltionshi, we use key nd keyref insted of ID nd IDREF. Using the formers we enble one to secify scoe within which uniqueness lies. <xsd:comlextye nme = ONE_Tye >... <xsd:comlextye nme = MANY_Tye > <xsd:ttribute nme = ONE_Key... mxoccurs= unbounded />... <key nme= ONE_Key > <selector xth = ONE_Tye >...</key> <keyref nme= ONE_Key_Ref refer= ONE_Key > <selector xth = MANY_Tye >...</keyref> In the second ste, we m the comlex tyes s the tbles in the ORDB. In the mny tye we hve collection ttribute consist of ttribute key from the one tye. If we hve single key we will use collection of simle dt tye. Otherwise, we will hve collection of ROW tye. To reserve the collection the imlementtion syntx is TABLE( MULTISET<ARRAY[]> (SIMPLE_TYPE ROW()). We hve one shortcoming of using collection in the second ste of ssocition reltionshi. At resent, we cnnot use current SQL to embed integrity constrint checking in ORDB. As we know, in trditionl methods we cn include the foreign key or REF nd then define the integrity constrint checking such s ON DELETE CASCADE, ON UPDATE NULLIFY, etc. We still cnnot ly this for collection ttribute. Nevertheless, it does not men we cnnot hve integrity constrint checking for our methods. Triggers nd embedded routines re vilble in ORDB to enforce this tsk. 4.2 Imlementtion of N:N Assocition In the N:N ssocition, the reference cn be stored s collection inside one of the ssocited tye (see Fig.10). Our method rooses different wy of imlementing N:N ssocition becuse we do not require to store the reltionshi in serte tble. Rule 4: Ste 1: For two tyes T 1 (A,B) nd T 2 (M,N) hve N:N ssocition reltionshi in T 3 (X), imlement both s 708

7 comlex tyes with T 1 hs collection of T 3 nd reference to T 2. Ste 2: For two comlex tyes nmely T 1 (A,B) nd T 2 (M,N) hve N:N reltionshi, if T 1 hs the collection of the reltionshi nd the reference to T 2, imlement both s tbles with T 1 hs collection ROW ttribute. n Trnsformtion results re Tble T 1 (A, B, Row (T 2 Key, 1 T 3(X))) nd Tble T 2 (M, N) El. M El. N El. A El. B El. X TABLE T 2 Att M Att N Vl M 1 Vl N 1 Vl M 2 Vl N 2 TYPE T 2 TYPE T 1 TYPE T 3 Ste 1 Ste 2 XML Schem TABLE T 1 Att A Att B Coll. T 2 Key nd T 3 Vl A Vl B T2 Key T3 Att X Vl M 1 Vl X 1 Vl M 2 Vl X 2 Generl Syntx CREATE TABLE <T 2 tble schem> (tt i dt_tye,..., tt i+m dt_tye); CREATE TABLE <T 1 tble schem> (tt j dt_tye,..., tt j+n MULTISET ARRAY ROW (tt i dt tye,..., tt h dt tye,..., tt h+1 dt tye); Figure 10. N:N Assocition Trnsformtion Exmle 4: STUDENT nd SUBJECT hve N:N ssocition reltionshi (see Fig.11). The reference of one tye together with the reltionshis ttributes will be med s collection in nother tye tble. StudentID StudentNme STUDENT SubjectNme ENROLMENT SUBJECT Mrks SubjectCode Figure 11. STUDENT-SUBJECT Assocition Exmle Trnsformtion into XML Schem (Ste 1): <xsd:comlextye nme = SUBJECT_Tye > <xsd:ttribute nme = SubjectCode tye = xsd:id use = required /> <xsd:element nme = SubjectNme tye = <xsd:comlextye nme = STUDENT_Tye > <xsd:ttribute nme = StudentID tye = xsd:id use = required /> <xsd:element nme = StudentNme tye = <xsd:element nme = ENROLMENT_Tye mxoccurs= unbounded /> <xsd:comlextye> <xsd:sequence> <xsd:ttribute nme = SubjectCode tye = <xsd:element nme = Mrks tye = xsd:integer/> </xsd:sequence> <keyref nme= SUBJECT_SubjectCode_Ref refer= SUBJECT_SubjectCode > <selector xth = STUDENT/ENROLMENT > <field /></keyref> <key nme= STUDENT_StudentID > <selector xth = STUDENT > <field /></key> Trnsformtion into ORDB (Ste 2): CREATE TABLE Subject (SubjectCode CHARACTER VARYING(5) CONSTRAINT SubjectCode_k PRIMARY KEY, SubjectNme CHARACTER VARYING(20)); CREATE TABLE Student (StudentID CHARACTER VARYING(5) CONSTRAINT StudentID_k PRIMARY KEY, StudentNme CHARACTER VARYING(20), SubjectTken MULTISET (ROW (SubjectCode CHARACTER VARYING(5), Mrks NUMBER(3))); In the first ste we m the ssocited tyes into two serte comlex tyes. In one of the comlex tye we include the key to the other comlex tye s well s the reltionshi elements/ ttributes. Sme s 1:N ssocition, we use mxoccurs= unbounded with key nd keyref to reserve the collection nd the referentil constrint. The difference is now we hve dditionl elements/ttributes tht come u with the reltionshi. In the second ste we will likely to hve collection of ROW ttribute inside one of the mny side tble. It is becuse we need to include the key to the other mny side tble nd the dditionl reltionshi ttributes. To reserve the collection we imlement the collection with this syntx TABLE( MULTISET <ARRAY[]> (ROW()). 5. CONCLUSION By nture, the XML documents contin lot of collection structures. Mny works hve shred the sme solution in imlementing the collection in dtbse storge by ming them into flt tbles. This rctice hs diminished the concetul model semntic. With the existence of collection tyes in ORDB, we im to roose different imlementtion of collection structure in XML. In this er we show how the collection in the ggregtion nd the ssocition reltionshi of XML dt using semntic-network bsed concetul model cn be reserved in the imlementtion using the Object Reltionl Dtbse (ORDB). We roose the 709

8 usge of collection tye both for ggregtion nd ssocition reltionshi. In the ggregtion we differentite the method bsed on the hierrchy constrints, while in the ssocition we differentite bsed on the crdinlity. Unlike other works in trnsformtion, our roosed methods cover two strightforwrd ming stes, snned from the concetul model to the imlementtion into tbles. By doing this, the results mintin the semntic stted in the concetul level. In ddition, using collection tye, we hve utilized the rich fcility in ORDB. 6. REFERENCES [1] Bourret,R. Ming DTDs to Dtbses, in htt:// [2] Conrd, S., Scheffner, D. nd Freytg, J. XML Concetul Modeling using UML, ER 2000, Sringer-Verlg, 2000, [3] Feng, L., Chng, E. nd T. Dillon, A Semntic Network- Bsed Design Methodology for XML Documents, ACM TOIS 20(4), 2002, [4] Florescu, D. nd Kossmnn, D. Storing nd Querying XML Dt using n RDMBS, IEEE Dt Engineering Bulletin 22(3), 1999, [5] Fortier, P. SQL3 Imlementing the SQL Foundtion Stndrd, McGrw Hill, 1999 [6] Hn, W-S., Lee, K-H. nd Lee, B.S. An XML Storge System for Object-Oriented/Object-Reltionl DBMSs, Journl of Object Technology 2(1), 2003, [7] Klettke, M. nd Meyer, H. XML nd Object-Reltionl Dtbse Systems - Enhncing Structurl Mings Bsed on Sttistics, WebDB 2000, Sringer-Verlg, 2000, [8] Melton, J. (ed.), Dtbse Lnguge SQL Prt 2 Foundtion. ISO-ANSI WD , Interntionl Orgniztion for Stndrdiztion, Working Grou WG3 (August 2002) [9] Prdede, E., Rhyu, J.W. nd Tnir, D. New SQL Stndrd for Object-Reltionl Dtbse Alictions, SIIT 2003, Delft TU, 2003, [10] Rumbugh, J. et l, Object-Oriented Modelling nd Design, Prentice Hll, 1991 [11] Shnmugsundrm, J., Tufte, K., Zhng, C. He, Ge. DeWitt, D.J. nd Nughton, J.F. Reltionl Dtbses for Querying XML Documents: Limittions nd Oortunities, VLDB 1999, Morgn-Kuffmn, 1999, [12] Widjy, N.D., Tnir, D., Rhyu, J.W. nd Prdede, E. Assocition Reltionshi Trnsformtion of XML Schems to Object-Reltionl Dtbses, iiwas 2002, SCS Publishing House, 2002, [13] Widjy, N.D., Tnir, D. nd Rhyu, J.W. "Aggregtion Trnsformtion of XML Schems to Object-Reltionl Dtbses", IICS 2003, Sringer-Verlg, 2003 [14] W.W.W, The XML dt model, vilble t htt:// [15] Xiou, R., Dillon, T.S., Chng, E., nd, Feng, L. Modeling nd Trnsformtion of Object-Oriented Concetul Models into XML Schem, DEXA 2001, Sringer-Verlg, 2001,

Preserving Constraints for Aggregation Relationship Type Update in XML Document

Preserving Constraints for Aggregation Relationship Type Update in XML Document Preserving Constrints for Aggregtion Reltionship Type Updte in XML Document Eric Prdede 1, J. Wenny Rhyu 1, nd Dvid Tnir 2 1 Deprtment of Computer Science nd Computer Engineering, L Trobe University, Bundoor

More information

Preserving Referential Constraints in XML Document Association Relationship Update

Preserving Referential Constraints in XML Document Association Relationship Update Preserving Referentil Constrints in XML Document Assocition Reltionshi Udte Eric Prdede 1, J. Wenny Rhyu 1, Dvid Tnir 2 1 Dertment of Comuter Science nd Comuter Engineering, L Trobe University, Bundoor

More information

High Priority Traffic in HCF on Wireless Networks

High Priority Traffic in HCF on Wireless Networks High Priority Trffic in HC on Wireless Networks Mo Add, Amnd Pert, Gordon Erly School of Comuting, University of Portsmouth, Lion Terrce, Portsmouth, UK {mo.dd, mnd.ert, gordon.erly }@ort.c.uk Abstrct

More information

Uninformed Search. Hal Daumé III. Computer Science University of Maryland CS 421: Introduction to Artificial Intelligence 31 Jan 2012

Uninformed Search. Hal Daumé III. Computer Science University of Maryland CS 421: Introduction to Artificial Intelligence 31 Jan 2012 1 Hl Dumé III (me@hl3.nme) Uninformed Serch Hl Dumé III Comuter Science University of Mrylnd me@hl3.nme CS 421: Introduction to Artificil Intelligence 31 Jn 2012 Mny slides courtesy of Dn Klein, Sturt

More information

Page. Harsh Reality. Dynamic Memory Allocation. Malloc Package. Process Memory Image. Assumptions. Malloc Example

Page. Harsh Reality. Dynamic Memory Allocation. Malloc Package. Process Memory Image. Assumptions. Malloc Example Hrsh Relity Memory Mtters Memory is not unbounded It must be llocted nd mnged 1 Mny lictions re memory dominted Esecilly those bsed on comlex, grh lgorithms Memory referencing bugs esecilly ernicious Effects

More information

A Scalable and Reliable Mobile Agent Computation Model

A Scalable and Reliable Mobile Agent Computation Model A Sclble nd Relible Mobile Agent Computtion Model Yong Liu, Congfu Xu, Zhohui Wu, nd Yunhe Pn College of Computer Science, Zhejing University Hngzhou 310027, Chin cckffe@yhoo.com.cn Abstrct. This pper

More information

Copyright (C) 1997, 1998 by the Association for Computing Machinery, Inc. Permission to make digital or hard copies of part or all of this work for

Copyright (C) 1997, 1998 by the Association for Computing Machinery, Inc. Permission to make digital or hard copies of part or all of this work for Coyright (C) 1997, 1998 by the Assocition for Comuting Mchinery, Inc. Permission to mke digitl or hrd coies of rt or ll of this work for ersonl or clssroom use is grnted without fee rovided tht coies re

More information

Elena Baralis, Silvia Chiusano Politecnico di Torino. Pag. 1. Query optimization. DBMS Architecture. Query optimizer. Query optimizer.

Elena Baralis, Silvia Chiusano Politecnico di Torino. Pag. 1. Query optimization. DBMS Architecture. Query optimizer. Query optimizer. DBMS Architecture SQL INSTRUCTION OPTIMIZER Dtbse Mngement Systems MANAGEMENT OF ACCESS METHODS BUFFER MANAGER CONCURRENCY CONTROL RELIABILITY MANAGEMENT Index Files Dt Files System Ctlog DATABASE 2 Query

More information

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties, Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

CPSC 213. Polymorphism. Introduction to Computer Systems. Readings for Next Two Lectures. Back to Procedure Calls

CPSC 213. Polymorphism. Introduction to Computer Systems. Readings for Next Two Lectures. Back to Procedure Calls Redings for Next Two Lectures Text CPSC 213 Switch Sttements, Understnding Pointers - 2nd ed: 3.6.7, 3.10-1st ed: 3.6.6, 3.11 Introduction to Computer Systems Unit 1f Dynmic Control Flow Polymorphism nd

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Linear Lists. Linked List Mechanics. Sequential Lists. Linked Lists. 6. LL Mechanics. 6. LL Mechanics. Slides

Linear Lists. Linked List Mechanics. Sequential Lists. Linked Lists. 6. LL Mechanics. 6. LL Mechanics. Slides Lked Lt Mechnics 6. LL Mechnics 1 Ler Lts 6. LL Mechnics 2 Slides 1. Tble Contents 2. Ler Lts 3. Lt Node Design 4. Self Referencg Structures 5. Lt Formtion Exmle 6. Lt Trversl 7. Lked Lt Oertions 8. Dt

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

The Structure of Forward, Reverse, and Transverse Path Graphs in The Pattern Recognition Algorithms of Sellers

The Structure of Forward, Reverse, and Transverse Path Graphs in The Pattern Recognition Algorithms of Sellers The Structure of Forwrd, Reverse, nd Trnsverse Pth Grhs in The Pttern Recognition Algorithms of Sellers Lewis Lsser Dertment of Mthemtics nd Comuter Science York College/CUNY Jmic, New York 11451 llsser@york.cuny.edu

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

UNIT 11. Query Optimization

UNIT 11. Query Optimization UNIT Query Optimiztion Contents Introduction to Query Optimiztion 2 The Optimiztion Process: An Overview 3 Optimiztion in System R 4 Optimiztion in INGRES 5 Implementing the Join Opertors Wei-Png Yng,

More information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-188 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

Introduction to Computer Engineering EECS 203 dickrp/eecs203/ CMOS transmission gate (TG) TG example

Introduction to Computer Engineering EECS 203  dickrp/eecs203/ CMOS transmission gate (TG) TG example Introduction to Computer Engineering EECS 23 http://ziyng.eecs.northwestern.edu/ dickrp/eecs23/ CMOS trnsmission gte TG Instructor: Robert Dick Office: L477 Tech Emil: dickrp@northwestern.edu Phone: 847

More information

Object-relational complex structures for XML storage

Object-relational complex structures for XML storage Information and Software Technology 48 (2006) 370 384 www.elsevier.com/locate/infsof Object-relational complex structures for XML storage Eric Pardede a, *, J. Wenny Rahayu a, David Taniar b a Department

More information

Semistructured Data Management Part 2 - Graph Databases

Semistructured Data Management Part 2 - Graph Databases Semistructured Dt Mngement Prt 2 - Grph Dtbses 2003/4, Krl Aberer, EPFL-SSC, Lbortoire de systèmes d'informtions réprtis Semi-structured Dt - 1 1 Tody's Questions 1. Schems for Semi-structured Dt 2. Grph

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Midterm I Solutions CS164, Spring 2006

Midterm I Solutions CS164, Spring 2006 Midterm I Solutions CS164, Spring 2006 Februry 23, 2006 Plese red ll instructions (including these) crefully. Write your nme, login, SID, nd circle the section time. There re 8 pges in this exm nd 4 questions,

More information

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012 Dynmic Progrmming Andres Klppenecker [prtilly bsed on slides by Prof. Welch] 1 Dynmic Progrmming Optiml substructure An optiml solution to the problem contins within it optiml solutions to subproblems.

More information

In-Line Deflagration Flame Arrester PROTEGO FA-E. eccentric design, bidirectional. Function and Description. Design and Specifications

In-Line Deflagration Flame Arrester PROTEGO FA-E. eccentric design, bidirectional. Function and Description. Design and Specifications In-Line Deflgrtion Flme Arrester eccentric design, bidirectionl d dismntling dimension for servicing (temerture sensor) Design with one or two temerture sensors b Ø c The stndrd design will work t n oerting

More information

Misrepresentation of Preferences

Misrepresentation of Preferences Misrepresenttion of Preferences Gicomo Bonnno Deprtment of Economics, University of Cliforni, Dvis, USA gfbonnno@ucdvis.edu Socil choice functions Arrow s theorem sys tht it is not possible to extrct from

More information

Functor (1A) Young Won Lim 8/2/17

Functor (1A) Young Won Lim 8/2/17 Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published

More information

Relational Algebra. Today s Lecture. 1. The Relational Model & Relational Algebra. 2. Relational Algebra Pt. II

Relational Algebra. Today s Lecture. 1. The Relational Model & Relational Algebra. 2. Relational Algebra Pt. II Reltionl Algebr BBM471 Dtbse Mngement Systems Dr. Fut Akl kl@hcettepe.edu.tr Tody s Lecture 1. The Reltionl Model & Reltionl Algebr 2. Reltionl Algebr Pt. II 2 1. The Reltionl Model & Reltionl Algebr Wht

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

Functor (1A) Young Won Lim 10/5/17

Functor (1A) Young Won Lim 10/5/17 Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published

More information

Aggregation Transformation of XML Schemas to Object-Relational Databases

Aggregation Transformation of XML Schemas to Object-Relational Databases Aggregation Transformation of XML Schemas to Object-Relational Databases Nathalia Devina Widjaya 1, David Taniar 1, and J. Wenny Rahayu 2 1 Monash University, School of Business Systems, Vic 3800, Australia

More information

Manipulation of Viewpoints in 3D Environment using Interlocked Motion of Coordinate Pairs

Manipulation of Viewpoints in 3D Environment using Interlocked Motion of Coordinate Pairs Humn-Comuter Interction -- INTERACT'03 M. Ruterberg et l. (Eds.) Published by IOS Press, (c) IFIP, 2003,. 327-334 Mniultion of Viewoints in 3D Environment using Interlocked Motion of Coordinte Pirs Shinji

More information

Data sharing in OpenMP

Data sharing in OpenMP Dt shring in OpenMP Polo Burgio polo.burgio@unimore.it Outline Expressing prllelism Understnding prllel threds Memory Dt mngement Dt cluses Synchroniztion Brriers, locks, criticl sections Work prtitioning

More information

Epson Projector Content Manager Operation Guide

Epson Projector Content Manager Operation Guide Epson Projector Content Mnger Opertion Guide Contents 2 Introduction to the Epson Projector Content Mnger Softwre 3 Epson Projector Content Mnger Fetures... 4 Setting Up the Softwre for the First Time

More information

L. Yaroslavsky. Fundamentals of Digital Image Processing. Course

L. Yaroslavsky. Fundamentals of Digital Image Processing. Course L. Yroslvsky. Fundmentls of Digitl Imge Processing. Course 0555.330 Lecture. Imge enhncement.. Imge enhncement s n imge processing tsk. Clssifiction of imge enhncement methods Imge enhncement is processing

More information

How to Design REST API? Written Date : March 23, 2015

How to Design REST API? Written Date : March 23, 2015 Visul Prdigm How Design REST API? Turil How Design REST API? Written Dte : Mrch 23, 2015 REpresenttionl Stte Trnsfer, n rchitecturl style tht cn be used in building networked pplictions, is becoming incresingly

More information

1 The Definite Integral

1 The Definite Integral The Definite Integrl Definition. Let f be function defined on the intervl [, b] where

More information

Towards a High Integrity XML Link Update in Object-Relational Database

Towards a High Integrity XML Link Update in Object-Relational Database Towards a High Integrity XML Link Update in Object-Relational Database Eric Pardede, J. Wenny Rahayu, and David Taniar Department of Computer Science and Computer Engineering, La Trobe University, undoora

More information

Tool Vendor Perspectives SysML Thus Far

Tool Vendor Perspectives SysML Thus Far Frontiers 2008 Pnel Georgi Tec, 05-13-08 Tool Vendor Perspectives SysML Thus Fr Hns-Peter Hoffmnn, Ph.D Chief Systems Methodologist Telelogic, Systems & Softwre Modeling Business Unit Peter.Hoffmnn@telelogic.com

More information

Presentation Martin Randers

Presentation Martin Randers Presenttion Mrtin Rnders Outline Introduction Algorithms Implementtion nd experiments Memory consumption Summry Introduction Introduction Evolution of species cn e modelled in trees Trees consist of nodes

More information

EasyMP Multi PC Projection Operation Guide

EasyMP Multi PC Projection Operation Guide EsyMP Multi PC Projection Opertion Guide Contents 2 Introduction to EsyMP Multi PC Projection 5 EsyMP Multi PC Projection Fetures... 6 Connection to Vrious Devices... 6 Four-Pnel Disply... 6 Chnge Presenters

More information

A Comparison of the Discretization Approach for CST and Discretization Approach for VDM

A Comparison of the Discretization Approach for CST and Discretization Approach for VDM Interntionl Journl of Innovtive Reserch in Advnced Engineering (IJIRAE) Volume1 Issue1 (Mrch 2014) A Comprison of the Discretiztion Approch for CST nd Discretiztion Approch for VDM Omr A. A. Shib Fculty

More information

Overview. Network characteristics. Network architecture. Data dissemination. Network characteristics (cont d) Mobile computing and databases

Overview. Network characteristics. Network architecture. Data dissemination. Network characteristics (cont d) Mobile computing and databases Overview Mobile computing nd dtbses Generl issues in mobile dt mngement Dt dissemintion Dt consistency Loction dependent queries Interfces Detils of brodcst disks thlis klfigopoulos Network rchitecture

More information

Introduction to Integration

Introduction to Integration Introduction to Integrtion Definite integrls of piecewise constnt functions A constnt function is function of the form Integrtion is two things t the sme time: A form of summtion. The opposite of differentition.

More information

MIPS I/O and Interrupt

MIPS I/O and Interrupt MIPS I/O nd Interrupt Review Floting point instructions re crried out on seprte chip clled coprocessor 1 You hve to move dt to/from coprocessor 1 to do most common opertions such s printing, clling functions,

More information

Improper Integrals. October 4, 2017

Improper Integrals. October 4, 2017 Improper Integrls October 4, 7 Introduction We hve seen how to clculte definite integrl when the it is rel number. However, there re times when we re interested to compute the integrl sy for emple 3. Here

More information

vcloud Director Service Provider Admin Portal Guide vcloud Director 9.1

vcloud Director Service Provider Admin Portal Guide vcloud Director 9.1 vcloud Director Service Provider Admin Portl Guide vcloud Director 9. vcloud Director Service Provider Admin Portl Guide You cn find the most up-to-dte technicl documenttion on the VMwre website t: https://docs.vmwre.com/

More information

vcloud Director Service Provider Admin Portal Guide 04 OCT 2018 vcloud Director 9.5

vcloud Director Service Provider Admin Portal Guide 04 OCT 2018 vcloud Director 9.5 vcloud Director Service Provider Admin Portl Guide 04 OCT 208 vcloud Director 9.5 You cn find the most up-to-dte technicl documenttion on the VMwre website t: https://docs.vmwre.com/ If you hve comments

More information

USING HOUGH TRANSFORM IN LINE EXTRACTION

USING HOUGH TRANSFORM IN LINE EXTRACTION Stylinidis, Efstrtios USING HOUGH TRANSFORM IN LINE EXTRACTION Efstrtios STYLIANIDIS, Petros PATIAS The Aristotle University of Thessloniki, Deprtment of Cdstre Photogrmmetry nd Crtogrphy Univ. Box 473,

More information

Lists in Lisp and Scheme

Lists in Lisp and Scheme Lists in Lisp nd Scheme Lists in Lisp nd Scheme Lists re Lisp s fundmentl dt structures, ut there re others Arrys, chrcters, strings, etc. Common Lisp hs moved on from eing merely LISt Processor However,

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

Complexities In DSP Software Compilation: Performance, Code Size, Power, Retargetability

Complexities In DSP Software Compilation: Performance, Code Size, Power, Retargetability 1060-3425/98 $1000 (C) 1998 IEEE Comlexities In DSP Softwre Comiltion: Performnce, Code Size, Power, Retrgetbility Ctherine H Gebotys Robert J Gebotys Dertment of Electricl nd Comuter Engineering University

More information

10.5 Graphing Quadratic Functions

10.5 Graphing Quadratic Functions 0.5 Grphing Qudrtic Functions Now tht we cn solve qudrtic equtions, we wnt to lern how to grph the function ssocited with the qudrtic eqution. We cll this the qudrtic function. Grphs of Qudrtic Functions

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. TechAdvisory.org SME Reports sponsored by Voice over Internet Protocol (VoIP)

More information

Epson iprojection Operation Guide (Windows/Mac)

Epson iprojection Operation Guide (Windows/Mac) Epson iprojection Opertion Guide (Windows/Mc) Contents 2 Introduction to Epson iprojection 5 Epson iprojection Fetures... 6 Connection to Vrious Devices... 6 Four-Pnel Disply... 6 Chnge Presenters nd Projection

More information

- 2 U NIX FILES 1. Explin different file types vilble in UNIX or P OSIX s ystem. ( 08 mrks) ( My-08/Dec-08/My-10/My- 12) 2. Wht is n API? How is it di

- 2 U NIX FILES 1. Explin different file types vilble in UNIX or P OSIX s ystem. ( 08 mrks) ( My-08/Dec-08/My-10/My- 12) 2. Wht is n API? How is it di -1 I NTRODUCTION 1. Wht is posix stndrd? Explin different subset of posix stndrd. Write structure of progrm to filter out non- p osix complint codes from user progrm. ( 06 mrks) ( Dec- 2010). 2. W rite

More information

Basics of Logic Design Arithmetic Logic Unit (ALU)

Basics of Logic Design Arithmetic Logic Unit (ALU) Bsics of Logic Design Arithmetic Logic Unit (ALU) CPS 4 Lecture 9 Tody s Lecture Homework #3 Assigned Due Mrch 3 Project Groups ssigned & posted to lckord. Project Specifiction is on We Due April 9 Building

More information

VoIP for the Small Business

VoIP for the Small Business VoIP for the Smll Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become

More information

INTRODUCTION TO SIMPLICIAL COMPLEXES

INTRODUCTION TO SIMPLICIAL COMPLEXES INTRODUCTION TO SIMPLICIAL COMPLEXES CASEY KELLEHER AND ALESSANDRA PANTANO 0.1. Introduction. In this ctivity set we re going to introduce notion from Algebric Topology clled simplicil homology. The min

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

In the last lecture, we discussed how valid tokens may be specified by regular expressions.

In the last lecture, we discussed how valid tokens may be specified by regular expressions. LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.

More information

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork MA1008 Clculus nd Liner Algebr for Engineers Course Notes for Section B Stephen Wills Deprtment of Mthemtics University College Cork s.wills@ucc.ie http://euclid.ucc.ie/pges/stff/wills/teching/m1008/ma1008.html

More information

2 Computing all Intersections of a Set of Segments Line Segment Intersection

2 Computing all Intersections of a Set of Segments Line Segment Intersection 15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design

More information

CS201 Discussion 10 DRAWTREE + TRIES

CS201 Discussion 10 DRAWTREE + TRIES CS201 Discussion 10 DRAWTREE + TRIES DrwTree First instinct: recursion As very generic structure, we could tckle this problem s follows: drw(): Find the root drw(root) drw(root): Write the line for the

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

The Reciprocal Function Family. Objectives To graph reciprocal functions To graph translations of reciprocal functions

The Reciprocal Function Family. Objectives To graph reciprocal functions To graph translations of reciprocal functions - The Reciprocl Function Fmil Objectives To grph reciprocl functions To grph trnsltions of reciprocl functions Content Stndrds F.BF.3 Identif the effect on the grph of replcing f () b f() k, kf(), f(k),

More information

TASK SPECIFIC DESCRIPTION

TASK SPECIFIC DESCRIPTION MYP Algebr II/Trig Unit 2 Ch. 4 Trnsformtions Project Nme: Block: - Due Dte: Tuesdy, 11/7 (B-dy) & Wednesdy, 11/8 (A-dy) Mterils: Grph pper, ruler, protrctor, compss, highlight mrkers/colored pencils SCORE:

More information

CSE 401 Midterm Exam 11/5/10 Sample Solution

CSE 401 Midterm Exam 11/5/10 Sample Solution Question 1. egulr expressions (20 points) In the Ad Progrmming lnguge n integer constnt contins one or more digits, but it my lso contin embedded underscores. Any underscores must be preceded nd followed

More information

CMSC 331 First Midterm Exam

CMSC 331 First Midterm Exam 0 00/ 1 20/ 2 05/ 3 15/ 4 15/ 5 15/ 6 20/ 7 30/ 8 30/ 150/ 331 First Midterm Exm 7 October 2003 CMC 331 First Midterm Exm Nme: mple Answers tudent ID#: You will hve seventy-five (75) minutes to complete

More information

9.1 apply the distance and midpoint formulas

9.1 apply the distance and midpoint formulas 9.1 pply the distnce nd midpoint formuls DISTANCE FORMULA MIDPOINT FORMULA To find the midpoint between two points x, y nd x y 1 1,, we Exmple 1: Find the distnce between the two points. Then, find the

More information

9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association 9. CISC - Curriculum & Instruction Steering Committee The Winning EQUATION A HIGH QUALITY MATHEMATICS PROFESSIONAL DEVELOPMENT PROGRAM FOR TEACHERS IN GRADES THROUGH ALGEBRA II STRAND: NUMBER SENSE: Rtionl

More information

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment File Mnger Quick Reference Guide June 2018 Prepred for the Myo Clinic Enterprise Khu Deployment NVIGTION IN FILE MNGER To nvigte in File Mnger, users will mke use of the left pne to nvigte nd further pnes

More information

MATH 2530: WORKSHEET 7. x 2 y dz dy dx =

MATH 2530: WORKSHEET 7. x 2 y dz dy dx = MATH 253: WORKSHT 7 () Wrm-up: () Review: polr coordintes, integrls involving polr coordintes, triple Riemnn sums, triple integrls, the pplictions of triple integrls (especilly to volume), nd cylindricl

More information

VoIP for the Small Business

VoIP for the Small Business VoIP for the Smll Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become

More information

VoIP for the Small Business

VoIP for the Small Business VoIP for the Smll Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become

More information

Pointer Analysis. CSE 501 Spring 15

Pointer Analysis. CSE 501 Spring 15 Pointer Anlysis CSE 501 Sring 15 Course Outline St8c nlysis Dtflow nd strct interret8on Alic8ons We re here Beyond generl- urose lnguges Progrm Verific8on Dynmic nlysis New comilers Tody Intro to ointer

More information

Class Overview. Database Design. Database Design Process. Database Design. Introduction to Data Management CSE 414

Class Overview. Database Design. Database Design Process. Database Design. Introduction to Data Management CSE 414 Introution to Dt Mngement CSE 44 Unit 6: Coneptul Design E/R Digrms Integrity Constrints BCNF Introution to Dt Mngement CSE 44 E/R Digrms ( letures) CSE 44 Autumn 08 Clss Overview Dtse Design Unit : Intro

More information

VoIP for the Small Business

VoIP for the Small Business VoIP for the Smll Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become

More information

Pointer Analysis. What is Points-to Analysis? Outline. What is Points-to Analysis? What is Points-to Analysis? What is Pointer Analysis? Rupesh Nasre.

Pointer Analysis. What is Points-to Analysis? Outline. What is Points-to Analysis? What is Points-to Analysis? What is Pointer Analysis? Rupesh Nasre. Pointer Anlysis Wht is? Ruesh Nsre. CS6843 Anlysis IIT Mdrs Jn 2014 = &x; = ; if ( == *) { } else { } oints to x 4 Outline Wht is? Introduction Pointer nlysis s DFA rolem Design decisions nlysis, Steensgrd's

More information

COMMON HALF YEARLY EXAMINATION DECEMBER 2018

COMMON HALF YEARLY EXAMINATION DECEMBER 2018 li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net.pds.pds COMMON HALF YEARLY EXAMINATION DECEMBER 2018 STD : XI SUBJECT: COMPUTER SCIENCE

More information

ECE 468/573 Midterm 1 September 28, 2012

ECE 468/573 Midterm 1 September 28, 2012 ECE 468/573 Midterm 1 September 28, 2012 Nme:! Purdue emil:! Plese sign the following: I ffirm tht the nswers given on this test re mine nd mine lone. I did not receive help from ny person or mteril (other

More information

Control-Flow Analysis and Loop Detection

Control-Flow Analysis and Loop Detection ! Control-Flow Anlysis nd Loop Detection!Lst time! PRE!Tody! Control-flow nlysis! Loops! Identifying loops using domintors! Reducibility! Using loop identifiction to identify induction vribles CS553 Lecture

More information

II. THE ALGORITHM. A. Depth Map Processing

II. THE ALGORITHM. A. Depth Map Processing Lerning Plnr Geometric Scene Context Using Stereo Vision Pul G. Bumstrck, Bryn D. Brudevold, nd Pul D. Reynolds {pbumstrck,brynb,pulr2}@stnford.edu CS229 Finl Project Report December 15, 2006 Abstrct A

More information

Midterm 2 Sample solution

Midterm 2 Sample solution Nme: Instructions Midterm 2 Smple solution CMSC 430 Introduction to Compilers Fll 2012 November 28, 2012 This exm contins 9 pges, including this one. Mke sure you hve ll the pges. Write your nme on the

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

An Efficient Divide and Conquer Algorithm for Exact Hazard Free Logic Minimization

An Efficient Divide and Conquer Algorithm for Exact Hazard Free Logic Minimization An Efficient Divide nd Conquer Algorithm for Exct Hzrd Free Logic Minimiztion J.W.J.M. Rutten, M.R.C.M. Berkelr, C.A.J. vn Eijk, M.A.J. Kolsteren Eindhoven University of Technology Informtion nd Communiction

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become vible solution for even the

More information

Integration. October 25, 2016

Integration. October 25, 2016 Integrtion October 5, 6 Introduction We hve lerned in previous chpter on how to do the differentition. It is conventionl in mthemtics tht we re supposed to lern bout the integrtion s well. As you my hve

More information

From Dependencies to Evaluation Strategies

From Dependencies to Evaluation Strategies From Dependencies to Evlution Strtegies Possile strtegies: 1 let the user define the evlution order 2 utomtic strtegy sed on the dependencies: use locl dependencies to determine which ttriutes to compute

More information

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables George Boole IT 3123 Hrdwre nd Softwre Concepts My 28 Digitl Logic The Little Mn Computer 1815 1864 British mthemticin nd philosopher Mny contriutions to mthemtics. Boolen lger: n lger over finite sets

More information

EasyMP Network Projection Operation Guide

EasyMP Network Projection Operation Guide EsyMP Network Projection Opertion Guide Contents 2 Introduction to EsyMP Network Projection EsyMP Network Projection Fetures... 5 Disply Options... 6 Multi-Screen Disply Function... 6 Movie Sending Mode...

More information

VoIP for the Small Business

VoIP for the Small Business VoIP for the Smll Business Reducing your telecommunictions costs Reserch firm IDC 1 hs estimted tht VoIP system cn reduce telephony-relted expenses by 30%. Voice over Internet Protocol (VoIP) hs become

More information