Σημασιολογικός Ιστός (Semantic Web) - XML

Μέγεθος: px
Εμφάνιση ξεκινά από τη σελίδα:

Download "Σημασιολογικός Ιστός (Semantic Web) - XML"

Transcript

1 Πανεπιστήμιο Πειραιώς Τμήμα Ψηφιακών Συστημάτων Σημασιολογικός Ιστός (Semantic Web) - XML Δρ. Ανδριάνα Πρέντζα Αναπληρώτρια Καθηγήτρια aprentza@unipi.gr

2 Πανεπιστήμιο Πειραιά Τμήμα Ψηφιακών Συστημάτων XML Schema

3 Let s create the XML Schema!!!!

4

5

6 <?xml version="1.0" encoding="iso "?> <xs:schema xmlns:xs=" <xs:element name="shiporder"> <xs:complextype> <xs:sequence> <xs:element name="orderperson" type="xs:string"/> <xs:element name="shipto"> <xs:complextype> <xs:sequence> <xs:element name="name" type="xs:string"/> <xs:element name="address" type="xs:string"/> <xs:element name="city" type="xs:string"/> <xs:element name="country" type="xs:string"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="item" maxoccurs="unbounded"> <xs:complextype> <xs:sequence> <xs:element name="title" type="xs:string"/> <xs:element name="note" type="xs:string" minoccurs="0"/> <xs:element name="quantity" type="xs:positiveinteger"/> <xs:element name="price" type="xs:decimal"/> </xs:sequence> </xs:complextype> </xs:element> </xs:sequence> <xs:attribute name="orderid" type="xs:string" use="required"/> </xs:complextype> </xs:element> </xs:schema> This design method is very simple, but can be difficult to read and maintain when documents are complex. The next design method is based on defining all elements and attributes first, and then referring to them using the ref attribute.

7

8 Άσκηση Να καθοριστεί νέος τύπος δεδομένων σε ένα XML Schema ο οποίος να διαδέχεται τις ακέραιες τιμές από -100 έως το 500.

9 Άσκηση Tο XML Schema φαίνεται παρακάτω.

10 Επεξήγηση... complextype: ορίζει σύνθετο τύπο που υποστηρίζει ιδιότητες και περιεχόμενα στοιχείων simpletype: ορίζει απλό τύπο complexcontent: περιέχει επεκτάσεις ή περιορισμούς για ένα σύνθετο τύπο που περιέχει μεικτά περιεχόμενα ή στοιχεία μόνο simplecontent: περιέχει επεκτάσεις ή περιορισμούς σε ένα στοιχείο complextype με δεδομένα χαρακτήρα ή ένα στοιχείο simpletype ως content και δεν περιέχει στοιχεία

11 Πανεπιστήμιο Πειραιά Τμήμα Ψηφιακών Συστημάτων XML Schema Παραδείγματα

12 1) Select which of the following correctly explain the value that can be described in the ItemPrice element content. <xs:element name="itemprice" type="itempricetype" /> <xs:simpletype name="itempricetype"> <xs:restriction base="xs:int"> <xs:mininclusive value="500" /> <xs:maxinclusive value=" " /> </xs:restriction> </xs:simpletype> a.the value can be described, but the value cannot be described b.the value can be described, but the value cannot be described c. The value 501 can be described, but the value 500 cannot be described d. The value 500 can be described, but the value 499 cannot be described

13 The extension element extends an existing simpletype or complextype element.

14 2) Select which of the following is a valid XML document with respect to XML Schema Document below. <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs=" <xs:element name="personal_information" type="newpersonalinfotype" /> <xs:complextype name="newpersonalinfotype"> <xs:complexcontent> <xs:extension base="personalinfotype"> <xs:sequence> <xs:element ref="birth_date" /> <xs:element ref="hobbies" maxoccurs="30" /> </xs:sequence> </xs:extension> </xs:complexcontent> </xs:complextype> <xs:complextype name="personalinfotype"> <xs:sequence> <xs:element ref="name"/> <xs:element ref=" _address" /> </xs:sequence> </xs:complextype> <xs:element name="name" type="xs:string" /> <xs:element name=" _address" type="xs:string" /> <xs:element name="birth_date" type="xs:string" /> <xs:element name="hobbies" type="xs:string" /> </xs:schema>

15 2) Select which of the following is a valid XML document with respect to XML Schema Document below. a. <?xml version="1.0" encoding="utf-8"?> <Personal_Information> <Name>Taro Yamada</Name> < _Address>tyamada@aaa.com</ _Address> <Birth_Date> </Birth_Date> </Personal_Information> b. <?xml version="1.0" encoding="utf-8"?> <Personal_Information> <Name>Taro Yamada</Name> < _Address>tyamada@aaa.com</ _Address> <Birth_Date> </Birth_Date> <Hobbies>Listening to music</hobbies> <Hobbies>Watching movies</hobbies> </Personal_Information>

16 2) Select which of the following is a valid XML document with respect to XML Schema Document below. c. <?xml version="1.0" encoding="utf-8"?> <Personal_Information> <Birth_Date> </Birth_Date> <Hobbies>Listening to music</hobbies> <Hobbies>Watching movies</hobbies> <Name>Taro Yamada</Name> < _Address>tyamada@aaa.com</ _Address> </Personal_Information> d. <?xml version="1.0" encoding="utf-8"?> <Personal_Information> <Hobbies>Listening to music</hobbies> <Hobbies>Watching movies</hobbies> <Birth_Date> </Birth_Date> < _Address>tyamada@aaa.com</ _Address> <Name>Taro Yamada</Name> </Personal_Information>

17 Guidelines An element is added to the complex type personalinfotype defined in the complextype element. This is called a complex type derived by extension. The following illustrates the procedures for a complex type derived by extension: 1. Designate a new data type name for the name attribute of the complextype element. <xs:complextype name="newpersonalinfotype"> </xs:complextype> 2. Clearly indicate that the content of the complexcontent element is a complex type, and designate the name of the data type serving as the base attribute of the extension element. <xs:complexcontent> <xs:extension base="personalinfotype"> </xs:extension> </xs:complexcontent> 3. Define the order of occurrence (model group) of the added element and the element as descendant elements of the extension element. Use the sequence element to make the occurrence in the defined order. <xs:sequence> <xs:element ref="birth_date" /> <xs:element ref="hobbies" maxoccurs="30" /> </xs:sequence> When the complex type is derived by extension, the position for the added element is after the element last defined with the original data type.

18 3) Select which of the following is a correct XML Schema definition if you must designate an integer less than or equal to 0 as the content of the Discount_Amount element. Assume that the XML Schema namespace prefix is xs. a. <xs:element name="discount_amount" type="xs:negativeinteger /> b. <xs:element name="discount_amount" type="xs:positiveinteger /> c. <xs:element name="discount_amount" type="xs:nonnegativeinteger /> d. <xs:element name="discount_amount" type="xs:nonpositiveinteger />

19 4) The following sentences describe characteristics of XML schema as compared to DTD. Select which of the following is NOT correct. a. Since the specification is simple, using XML schema rather than DTD allows for shorter XML statements when defining the same schema structure. b. XML schema is a well-formed XML document. c. XML schema provides for various data types, including date type, integer type, etc. d. XML schema is compatible with XML namespace.

20 5) Select which of the following is correct as a definition adding a Mobile element to the Personal_Information element defined in the given XML Schema Document. <xs:element name="personal_information" type="personalinfotype" /> <xs:complextype name="personalinfotype"> <xs:sequence> <xs:element ref="name" /> <xs:element ref="date_of_birth" /> <xs:element ref="hobbies" minoccurs="1" maxoccurs="30" /> </xs:sequence> </xs:complextype> <xs:element name="name" type="xs:string" /> <xs:element name="date_of_birth" type="xs:string" /> <xs:element name="hobbies" type="xs:string" /> a. <xs:element name="personal_information" type="newpersonalinfotype" /> <xs:complextype name="newpersonalinfotype"> <xs:complexcontent> <xs:restriction base="personalinfotype"> <xs:sequence> <xs:element ref="mobile" /> </xs:sequence> </xs:restriction> </xs:complexcontent> </xs:complextype> <xs:element name="mobile" type="xs:string" />

21 5) Select which of the following is correct as a definition adding a Mobile element to the Personal_Information element defined in the given XML Schema Document. <xs:element name="personal_information" type="personalinfotype" /> <xs:complextype name="personalinfotype"> <xs:sequence> <xs:element ref="name" /> <xs:element ref="date_of_birth" /> <xs:element ref="hobbies" minoccurs="1" maxoccurs="30" /> </xs:sequence> </xs:complextype> <xs:element name="name" type="xs:string" /> <xs:element name="date_of_birth" type="xs:string" /> <xs:element name="hobbies" type="xs:string" /> b. <xs:element name="personal_information" type="newpersonalinfotype" /> <xs:complextype name="newpersonalinfotype"> <xs:complexcontent> <xs:restriction base="personalinfotype"> <xs:sequence> <xs:element ref="name" /> <xs:element ref="date_of_birth" /> <xs:element ref="hobbies" minoccurs="1" maxoccurs="30" /> <xs:element ref="mobile" /> </xs:sequence> </xs:restriction> </xs:complexcontent> </xs:complextype> <xs:element name="mobile" type="xs:string" />

22 5) Select which of the following is correct as a definition adding a Mobile element to the Personal_Information element defined in the given XML Schema Document. <xs:element name="personal_information" type="personalinfotype" /> <xs:complextype name="personalinfotype"> <xs:sequence> <xs:element ref="name" /> <xs:element ref="date_of_birth" /> <xs:element ref="hobbies" minoccurs="1" maxoccurs="30" /> </xs:sequence> </xs:complextype> <xs:element name="name" type="xs:string" /> <xs:element name="date_of_birth" type="xs:string" /> <xs:element name="hobbies" type="xs:string" /> c. <xs:element name="personal_information" type="newpersonalinfotype" /> <xs:complextype name="newpersonalinfotype"> <xs:complexcontent> <xs:extension base="personalinfotype"> <xs:sequence> <xs:element ref="mobile" /> </xs:sequence> </xs:extension> </xs:complexcontent> </xs:complextype> <xs:element name="mobile" type="xs:string" />

23 5) Select which of the following is correct as a definition adding a Mobile element to the Personal_Information element defined in the given XML Schema Document. <xs:element name="personal_information" type="personalinfotype" /> <xs:complextype name="personalinfotype"> <xs:sequence> <xs:element ref="name" /> <xs:element ref="date_of_birth" /> <xs:element ref="hobbies" minoccurs="1" maxoccurs="30" /> </xs:sequence> </xs:complextype> <xs:element name="name" type="xs:string" /> <xs:element name="date_of_birth" type="xs:string" /> <xs:element name="hobbies" type="xs:string" /> d. <xs:element name="personal_information" type="newpersonalinfotype" /> <xs:complextype name="newpersonalinfotype"> <xs:complexcontent> <xs:extension base="personalinfotype"> <xs:sequence> <xs:element ref="name" /> <xs:element ref="date_of_birth" /> <xs:element ref="hobbies" minoccurs="1" maxoccurs="30" /> <xs:element ref="mobile" /> </xs:sequence> </xs:extension> </xs:complexcontent> </xs:complextype> <xs:element name="mobile" type="xs:string" />

24 6) The element WidgetDesc begins with descriptive text and is followed by Size and Shape descriptions. The Size and Shape description are each optional and may occur in any order. Which of the following is the correct content model for WidgetDesc? a) <xsd:element name="widgetdesc" content="mixed"> <xsd:complexcontent> <xsd:node type="#pcdata"/> <xsd:element name="size" use="optional"/> <xsd:element name="shape" use="optional"/> </xsd:complexcontent> < /xsd:element> b) <xsd:element name="widgetdesc" type="xsd:string"> <xsd:complexcontent> <xsd:any> <xsd:element name="size" minoccurs="0"/> <xsd:element name="shape" minoccurs="0"/> </xsd:any> </xsd:complexcontent> < /xsd:element>

25 6) The element WidgetDesc begins with descriptive text and is followed by Size and Shape descriptions. The Size and Shape description are each optional and may occur in any order. Which of the following is the correct content model for WidgetDesc? c) <xsd:element name="widgetdesc"> <xsd:complextype> <xsd:node type="#pcdata" use="optional"/> <xsd:element name="size" use="optional"/> <xsd:element name="shape" use="optional"/> </xsd:complextype> < /xsd:element> d) <xsd:element name="widgetdesc"> <xsd:complextype mixed="true"> <xsd:all> <xsd:element name="size" type="xsd:string" minoccurs="0" /> <xsd:element name="shape" type="xsd:string" minoccurs="0" /> </xsd:all> </xsd:complextype> < /xsd:element>

26 Schema Namespaces Ισοδύναμα με XML namespaces Χρησιμοποιείται για τον προσδιορισμό των schema elements Το <schema> πρέπει να προσδιοριστεί με το schema namespace <schema xmlns = > Το namespace μπορεί να έχει ένα namespace prefix για το schema Το πρόθεμα prefix προσδιορίζει τα elements που ανήκουν στο targetnamespace <schema xmlns = xmlns:co =

27 <schema> targetnamespace Attribute <schema> targetnamespace attribute Δηλώνει το namespace του τρέχοντος schema Αυτό πρέπει να είναι ένα μοναδικό Παγκόσμιο Αναγνωριστικό Πόρου Universal Resource Identifier (URI) Διευκολύνει τον parser στη διαφοροποίηση ορισμών τύπων Χρησιμοποιείται κατά την επικύρωση του schema Διευκολύνει το διαχωρισμό διαφορετικών λεξιλογίων στο schema targetnamespace:namespace_prefix = some_uri... Θα πρέπει να ταιριάζει με τη δήλωση του schema namespace

28 Παράδειγμα XML <schema> <?xml version="1.0" encoding="utf-8"?> <xsd:schema targetnamespace = xmlns:co= xmlns:xsd=" elementformdefault="qualified attributeformdefault="qualified elementformdefault="qualified"> <!-- Declare the root element of our schema --> <xsd:element name="customerorder type="co:customerorder"/> <!-- Further Definitions & declarations not shown --> </xsd:schema>

29 7) Μία εταιρεία βρίσκεται στη διαδικασία ορισμού του καταλόγου προϊόντων. Οι απαιτήσεις απαιτούν το κάθε προϊόν να προσδιορίζεται μοναδικά από το SKU (Stock Keeping Unit) και περιέχει όνομα προϊόντος, περιγραφή και τιμή. Επιπρόσθετα, κάποια προϊόντα μπορούν να έχουν μέχρι πέντε αξεσουάρ. Κάθε αξεσουάρ είναι κι αυτό προϊόν. Για να συσχετιστεί ένα αξεσουάρ με ένα προϊόν απαιτείται μόνο ο κωδικός SKU του αξεσουάρ. Τέλος, είναι επίσης απαίτηση να μπορεί να προστεθεί ένας κωδικός προώθησης ο οποίος θα είναι αποτελεσματικός για μία συγκεκριμένη χρονική περίοδο. Ένας προγραμματιστής ορίζει το παρακάτω XML Schema για το προϊόν: <schema targetnamespace= xmlns=' xmlns:acc= ' <complextype name="product"> <sequence> <element name="sku" type="integer"/> <element name="name" type="string"/> <element name="description" type="string"/> <element name="unitprice" type="decimal"/> <element name="accessory" minoccurs="0 maxoccurs="unbounded" type="acc:product"/> </sequence> </complextype>

30 Ποια/ες από τις παρακάτω απαντήσεις είναι σωστή? A) Η αντικατάσταση της τιμής ιδιότητας maxoccurs="unbounded" με την maxoccurs="5" θα κάνει τον ορισμό του XML schema να ταιριάζει με τις απαιτήσεις. B)Η τιμή ιδιότητας maxoccurs="unbounded" μπορεί να διαγραφεί, δεδομένου ότι η συγκεκριμένη ιδιότητα και τιμή προστίθεται by default σε οποιοδήποτε ορισμό XML Schema που περιέχει ήδη τον ορισμό της ιδιότητας minoccurs="0". Γ) Ο τύπος του ορισμού του SKU πρέπει να γραφτεί ως type="sku" Δ) Ο τύπος του ορισμού του UnitPrice πρέπει να γραφτεί ως type="amount"

31 8) Select which of the following is a correct XML Schema description matching the conditions below. Select all that apply. Assume the XML Schema Namespace prefix is "xs." Conditions: The "Address" attribute is defined as a string type that may be omitted. a) <xs:attribute name="address" type="xs:string" use="optional"/> b) <xs:attribute name="address" type="xs:string" optional="true"/> c) <xs:attribute name="address" type="xs:string" required="optional"/> d) <xs:attribute name="address" type="xs:string" use="required"/>

32 9) Select which of the following is a valid XML document with respect to the following XML Schema Document. <?xml version="1.0"?> <xs:schema xmlns:xs=" > <xs:element name="employee" type="employeetype" /> <xs:complextype name="employeetype"> <xs:sequence maxoccurs="unbounded"> <xs:element ref="name" /> <xs:element ref="department" /> </xs:sequence> </xs:complextype> <xs:element name="name" type="xs:string" /> <xs:element name="department" type="xs:string" /> </xs:schema>

33 a) <Employee></Employee> b) <Employee> < Name>Masashi Tanaka</Name> < Name>Makiko Okamura</Name> < /Employee> c) <Employee> < Name>Masashi Tanaka</Name> < Name>Makiko Okamura</Name> < Department>Sales Department</Department> < Department>Accounting Department</Department> < /Employee> d) Κανένα από τα παραπάνω δεν ακολουθεί τους κανόνες στο XML Schema

34 10) Select which of the following is INCORRECT as an XML Schema description. Assume that the namespace prefix xs is declared as " <xs:simpletype name="data_type"> <xs:restriction base="xs:int"> <xs:minexclusive value="20"/> <xs:maxinclusive value="200"/> </xs:restriction> < /xs:simpletype> < xs:element name="price" type="data_type"/> a) A value of 20 is allowed under the Price element b) A value of 23.4 is not allowed under the Price element c) A value of 200 is allowed under the Price element d) A value of 99 is allowed under the Price element

35 11) Select which of the following is an XML Schema document that correctly defines the Unit Price element as either 3500 or a) <xs:simpletype name="pricetype"> <xs:restriction base="xs:int"> <xs:mininclusive value="3500"/> <xs:maxinclusive value="4500"/> </xs:restriction> < /xs:simpletype> < xs:element name="unit Price" type="pricetype"/> b) <xs:simpletype name="pricetype"> <xs:restriction base="xs:int"> <xs:minexclusive value="3500"/> <xs:maxexclusive value="4500"/> </xs:restriction> < /xs:simpletype> < xs:element name="unit Price" type="pricetype"/>

36 11) Select which of the following is an XML Schema document that correctly defines the Unit Price element as either 3500 or c) <xs:simpletype name="pricetype"> <xs:restriction base="xs:int"> <xs:enumeration value="3500"/> <xs:enumeration value="4500"/> </xs:restriction> < /xs:simpletype> < xs:element name="unit Price" type="pricetype"/> d) <xs:simpletype name="pricetype"> <xs:restriction base="xs:int"> <xs:minlength value="3500"/> <xs:maxlength value="4500"/> </xs:restriction> < /xs:simpletype> < xs:element name="unit Price" type="pricetype"/>

37 12) Select which of the following represent valid XML documents with respect to the XML Schema document below: <?xml version="1.0"?> < xs:schema xmlns:xs=" <xs:element name="customer_information" type="customertype" /> <xs:complextype name="infotype"> <xs:sequence> <xs:choice> <xs:sequence> <xs:element ref="company" /> <xs:element ref="address" /> </xs:sequence> <xs:sequence> <xs:element ref="lastname" /> <xs:element ref="firstname" /> </xs:sequence> </xs:choice> </xs:sequence> < /xs:complextype>

38 <xs:complextype name="customertype"> <xs:complexcontent> <xs:extension base="infotype"> <xs:choice> <xs:element ref="telephone" /> <xs:element ref="mobile" /> </xs:choice> </xs:extension> </xs:complexcontent> </xs:complextype> <xs:element name="company" type="xs:string" /> <xs:element name="address" type="xs:string" /> <xs:element name="lastname" type="xs:string" /> <xs:element name="firstname" type="xs:string" /> <xs:element name="telephone" type="xs:string" /> <xs:element name="mobile" type="xs:string" /> < /xs:schema>

39 a) <?xml version="1.0"?> <Customer_Information> < Company>masashi</Company> < Address>okamura</Address> < Mobile> </Mobile> < Mobile> </Mobile> < /Customer_Information> b) <?xml version="1.0"?> < Customer_Information> < Company>masashi</Company> < Address>okamura</Address> < Mobile> </Mobile> < /Customer_Information> c) <?xml version="1.0"?> < Customer_Information> < Company>Okamura</Company> < Address>Masashi</Address> < Telephone> </Telephone> < /Customer_Information> d) <?xml version="1.0"?> < Customer_Information> < Company>Okamura</Company> < Address>Masashi</Address> < LastName>masashi</LastName> < FirstName>okamura</FirstName> < Telephone> </Telephone> < Mobile> </Mobile> < /Customer_Information>

40 13) Select which of the following correctly represents what should be described in (1) of the XML Schema document in order to correctly define the following XML Document (the Location_of_Origin attribute of Fruit element is mandatory): [XML Document] <?xml version="1.0"?> <Fruit Location_of_Origin="Aomori"> <Name>Apple</Name> <Price>350</Price> </Fruit> [XML Schema Document] <?xml version="1.0"?> <xs:schema xmlns:xs=" <xs:element name="fruit" type="fruittype" /> <xs:complextype name="basetype"> <xs:sequence> <xs:element ref="name" /> </xs:sequence> </xs:complextype> (1) <xs:element name="name" type="xs:string" /> <xs:element name="price" type="xs:integer" /> </xs:schema>

41 a) <xs:complextype name="fruittype"> <xs:complexcontent> <xs:restriction base="basetype"> <xs:sequence> <xs:element ref="price" /> </xs:sequence> <xs:attribute name="location_of_origin" type="xs:string" use="required" /> </xs:restriction> </xs:complexcontent> < /xs:complextype> b) <xs:complextype name="fruittype"> <xs:complexcontent> <xs:extension base="basetype"> <xs:sequence> <xs:element ref="price" /> </xs:sequence> <xs:attribute name="location_of_origin" type="xs:string" use="required" /> </xs:extension> </xs:complexcontent> < /xs:complextype> c) <xs:complextype name="fruittype"> <xs:simplecontent> <xs:extension base="basetype"> <xs:sequence> <xs:element ref="price" /> </xs:sequence> <xs:attribute name="location_of_origin" type="xs:string" use="required" /> </xs:extension> </xs:simplecontent> < /xs:complextype> d) <xs:complextype name="fruittype"> <xs:simplecontent> <xs:restriction base="basetype"> <xs:sequence> <xs:element ref="price" /> </xs:sequence> <xs:attribute name="location_of_origin" type="xs:string" use="required" /> </xs:restriction> </xs:simplecontent> < /xs:complextype>

42 14) Select which of the following are incorrect when extending the definition of a simple type element that has been defined using XML Schema. a. < xs:element name="bookinformation" type="bookinfotype" /> < xs:simpletype name="newbookinfotype"> <xs:simplecontent> <xs:extension base="bookinfotype"> <xs:attribute name="isbn" type="xs:string" use="required" /> </xs:extension> </xs:simplecontent> < /xs:simpletype> b. < xs:element name="bookinformation" type="bookinfotype" /> < xs:simpletype name="newbookinfotype"> <xs:simplecontent> <xs:restriction base="bookinfotype"> <xs:attribute name="isbn" type="xs:string" use="required" /> </xs:restriction> </xs:simplecontent> < /xs:simpletype>

43 14) Select which of the following are incorrect when extending the definition of a simple type element that has been defined using XML Schema. c. < xs:element name="bookinformation" type="bookinfotype" /> < xs:complextype name="newbookinfotype"> <xs:simplecontent> <xs:extension base="bookinfotype"> <xs:attribute name="isbn" type="xs:string" use="required" /> </xs:extension> </xs:simplecontent> < /xs:complextype> d. < xs:element name="bookinformation" type="bookinfotype" /> < xs:complextype name="newbookinfotype"> <xs:simplecontent> <xs:restriction base="bookinfotype"> <xs:attribute name="isbn" type="xs:string" use="required" /> </xs:restriction> </xs:simplecontent> < /xs:complextype>

44 Note A simple type extension does not increase the scope of the value for the value of the type forming a base, but rather adds an attribute definition to the simple type element. Adding an attribute to a simple type element results in a complextype element; However, the content of the element is still simple type, so a simplecontent element is designated as the child element of the complextype element. Next, an extension element is designated, with an attribute definition described for that child element.

45 15) Select which of the following XML Schema documents correctly defines the following: Use an integer value for the Quantity element content, the Quantity element has a Unit attribute, which must be described (may not be omitted). Use a text type value for the Unit attribute a. <?xml version="1.0" encoding="utf-8"?> < xs:schema xmlns:xs=" <xs:element name="quantity" type="quantitytype"/> <xs:complextype name="quantitytype"><xs:simplecontent> <xs:extension base="xs:int" > <xs:attribute name="unit" type="xs:string" use="required" /> </xs:extension> </xs:simplecontent></xs:complextype> </xs:schema> b. <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs=" <xs:element name="quantity" type="quantitytype" /> <xs:complextype name="quantitytype"> <xs:attribute name="unit" type="xs:string" use="required" /> </xs:complextype> </xs:schema>

46 c. <?xml version="1.0" encoding="utf-8"?> < xs:schema xmlns:xs=" <xs:element name="quantity"> <xs:complextype> <xs:simplecontent> <xs:extension base="xs:int" > <xs:attribute name="unit" type="xs:string" use="required" /> </xs:extension> </xs:simplecontent> </xs:complextype> </xs:element> </xs:schema> d. <?xml version="1.0" encoding="utf-8"?> < xs:schema xmlns:xs=" <xs:element name="quantity"> <xs:complextype> <xs:attribute name="unit" type="xs:string" use="required" /> </xs:complextype> </xs:element> </xs:schema>

ΣΗΜΑΣΙΟΛΟΓΙΚΟΣ ΙΣΤΟΣ - XML

ΣΗΜΑΣΙΟΛΟΓΙΚΟΣ ΙΣΤΟΣ - XML ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΕΙΡΑΙΩΣ ΤΜΗΜΑ ΨΗΦΙΑΚΩΝ ΣΥΣΤΗΜΑΤΩΝ ΣΗΜΑΣΙΟΛΟΓΙΚΟΣ ΙΣΤΟΣ - XML Εργαστήρια 7-8 Στουγιάννου Ελευθερία estoug@unipi.gr Περιεχόμενα Έβδομου-Όγδοου Εργαστηριακού Μαθήματος XML Schema Ασκήσεις -

Διαβάστε περισσότερα

ΑΝΑΠΑΡΑΣΤΑΣΗ ΓΝΩΣΗΣ ΣΤΟΝ ΠΑΓΚΟΣΜΙΟ ΙΣΤΟ

ΑΝΑΠΑΡΑΣΤΑΣΗ ΓΝΩΣΗΣ ΣΤΟΝ ΠΑΓΚΟΣΜΙΟ ΙΣΤΟ ΑΝΑΠΑΡΑΣΤΑΣΗ ΓΝΩΣΗΣ ΣΤΟΝ ΠΑΓΚΟΣΜΙΟ ΙΣΤΟ XML-Schema Ι. Χατζηλυγερούδης ΕΙΣΑΓΩΓΗ XML Schema vs DTD Πλουσιότερη γλώσσα: περισσότερες δυνατότητες αναπαράστασης δομήςπεριεχομένου εγγράφων Σύνταξη βασισμένη

Διαβάστε περισσότερα

Σημασιολογικός Ιστός (Semantic Web) - XML

Σημασιολογικός Ιστός (Semantic Web) - XML Πανεπιστήμιο Πειραιώς Τμήμα Ψηφιακών Συστημάτων Σημασιολογικός Ιστός (Semantic Web) - XML 22/11/2016 Δρ. Ανδριάνα Πρέντζα Αναπληρώτρια Καθηγήτρια aprentza@unipi.gr Πανεπιστήμιο Πειραιά Τμήμα Ψηφιακών Συστημάτων

Διαβάστε περισσότερα

Πανεπιστήμιο Πειραιώς Σχολή Τεχνολογιών Πληροφορικής και Επικοινωνιών Τμήμα Ψηφιακών Συστημάτων ιαχείριση εδομένων στον Παγκόσμιο Ιστό

Πανεπιστήμιο Πειραιώς Σχολή Τεχνολογιών Πληροφορικής και Επικοινωνιών Τμήμα Ψηφιακών Συστημάτων ιαχείριση εδομένων στον Παγκόσμιο Ιστό Πανεπιστήμιο Πειραιώς Σχολή Τεχνολογιών Πληροφορικής και Επικοινωνιών Τμήμα Ψηφιακών Συστημάτων 9. XML Schema ιαχείριση εδομένων στον Παγκόσμιο Ιστό Χρήστος ουλκερίδης Τμήμα Ψηφιακών Συστημάτων Τετάρτη

Διαβάστε περισσότερα

Προγραμματισμός και Συστήματα στον Παγκόσμιο Ιστό Ενότητα 5: XML. Καθ. Ιωάννης Γαροφαλάκης Πολυτεχνική Σχολή Μηχανικών Η/Υ & Πληροφορικής

Προγραμματισμός και Συστήματα στον Παγκόσμιο Ιστό Ενότητα 5: XML. Καθ. Ιωάννης Γαροφαλάκης Πολυτεχνική Σχολή Μηχανικών Η/Υ & Πληροφορικής Προγραμματισμός και Συστήματα στον Παγκόσμιο Ιστό Ενότητα 5: XML Καθ. Ιωάννης Γαροφαλάκης Πολυτεχνική Σχολή Μηχανικών Η/Υ & Πληροφορικής Σκοποί ενότητας Σκοπός της παρούσας ενότητας είναι να εξοικειωθούν

Διαβάστε περισσότερα

Σημασιολογικός Ιστός (Semantic Web) - XML

Σημασιολογικός Ιστός (Semantic Web) - XML Πανεπιστήμιο Πειραιώς Τμήμα Ψηφιακών Συστημάτων Σημασιολογικός Ιστός (Semantic Web) - XML 9/12/2016 Δρ. Ανδριάνα Πρέντζα Αναπληρώτρια Καθηγήτρια aprentza@unipi.gr Πανεπιστήμιο Πειραιά Τμήμα Ψηφιακών Συστημάτων

Διαβάστε περισσότερα

Δομημένη Αναπαράσταση Πληροφοριών

Δομημένη Αναπαράσταση Πληροφοριών Πανεπιστήμιο Πειραιώς Τμήμα Ψηφιακών Συστημάτων Δομημένη Αναπαράσταση Πληροφοριών 27/3/2018 Δρ. Ανδριάνα Πρέντζα Αναπληρώτρια Καθηγήτρια aprentza@unipi.gr Πανεπιστήμιο Πειραιά Τμήμα Ψηφιακών Συστημάτων

Διαβάστε περισσότερα

Αναπαράςταςθ Γνϊςθσ ςτον Παγκόςμιο Ιςτό Ενότθτα 2: XML Δομθμζνα Ζγγραφα Ιςτοφ, Μζροσ 3 ο XML Schema

Αναπαράςταςθ Γνϊςθσ ςτον Παγκόςμιο Ιςτό Ενότθτα 2: XML Δομθμζνα Ζγγραφα Ιςτοφ, Μζροσ 3 ο XML Schema Αναπαράςταςθ Γνϊςθσ ςτον Παγκόςμιο Ιςτό Ενότθτα 2: XML Δομθμζνα Ζγγραφα Ιςτοφ, Μζροσ 3 ο XML Schema Ιωάννθσ Χατηθλυγεροφδθσ Πολυτεχνικι Σχολι Τμιμα Μθχ/κϊν Η/Υπολογιςτϊν & Πλθροφορικισ Περιεχόμενα ενότθτασ

Διαβάστε περισσότερα

Εισαγωγή(στη(γλώσσα(XML(

Εισαγωγή(στη(γλώσσα(XML( Εισαγωγή(στη(γλώσσα(XML( Μανόλης(Γεργατσούλης(( Χρήστος(Παπαθεοδώρου( Ομάδα(Βάσεων(Δεδομένων(και(Πληροφοριακών( Συστημάτων,(Τμήμα(Αρχειονομίας( (Βιβλιοθηκονομίας(( Ιόνιο(Πανεπιστήμιο( HTML(! Απλή(γλώσσα&σημειοθέτησης((markup&language)(!

Διαβάστε περισσότερα

ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ. Graphical XML Schema

ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ. Graphical XML Schema ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ Graphical XML Schema Της φοιτήτριας Αικατερίνης-Ιωσηφίνα Αρβανιτάκη Αρ. Μητρώου: 06/3128 Επιβλέπων καθηγητής Κεραµόπουλος Ευκλείδης ΠΡΟΛΟΓΟΣ Πτυχιακή εργασία της φοιτήτριας Αικατερίνης-Ιωσηφίνα

Διαβάστε περισσότερα

Μοντέλο. για ημι-δομημένα μημ δεδομένα. Ημι-δομημένα δεδομένα XML DTD XML Schema

Μοντέλο. για ημι-δομημένα μημ δεδομένα. Ημι-δομημένα δεδομένα XML DTD XML Schema Μοντέλο για ημι-δομημένα μημ δεδομένα Ημι-δομημένα δεδομένα XML DTD XML Schema Εισαγωγικά 3 βασικές κατηγορίες δεδομένων: Δομημένα (structured): τα δεδομένα σε ΒΔ, όπου η αναπαράσταση γίνεται σύμφωνα με

Διαβάστε περισσότερα

Τα web services του παρατηρητηρίου τιμών ακολουθούν λογική REST και απαντούν σε GET requests ως ακολούθως:

Τα web services του παρατηρητηρίου τιμών ακολουθούν λογική REST και απαντούν σε GET requests ως ακολούθως: ΓΕΝ.ΓΡΑΜΜΑΤΕΙΑ ΕΜΠΟΡΙΟΥ ΠΡΟΔΙΑΓΡΑΦΕΣ ΥΠΗΡΕΣΙΩΝ ΙΣΤΟΥ (WEB SERVICES) ΤΟΥ ΠΑΡΑΤΗΡΗΤΗΡΙΟΥ ΤΙΜΩΝ (e-prices.gr) 1. Προδιαγραφές Υπηρεσιών Ιστού (Web Services) Το Παρατηρητήριο Τιμών (e-prices.gr) δημιουργήθηκε

Διαβάστε περισσότερα

2 Composition. Invertible Mappings

2 Composition. Invertible Mappings Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan Composition. Invertible Mappings In this section we discuss two procedures for creating new mappings from old ones, namely,

Διαβάστε περισσότερα

derivation of the Laplacian from rectangular to spherical coordinates

derivation of the Laplacian from rectangular to spherical coordinates derivation of the Laplacian from rectangular to spherical coordinates swapnizzle 03-03- :5:43 We begin by recognizing the familiar conversion from rectangular to spherical coordinates (note that φ is used

Διαβάστε περισσότερα

Πανεπιστήμιο Κρήτης Τμήμα Επιστήμης Υπολογιστών. ΗΥ-561 Διαχείριση Δεδομένων στο Παγκόσμιο Ιστό Ειρήνη Φουντουλάκη Βασίλης Χριστοφίδης

Πανεπιστήμιο Κρήτης Τμήμα Επιστήμης Υπολογιστών. ΗΥ-561 Διαχείριση Δεδομένων στο Παγκόσμιο Ιστό Ειρήνη Φουντουλάκη Βασίλης Χριστοφίδης Ονοματεπώνυμο: Αριθμός Μητρώου: Πανεπιστήμιο Κρήτης Τμήμα Επιστήμης Υπολογιστών ΗΥ-561 Διαχείριση Δεδομένων στο Παγκόσμιο Ιστό Ειρήνη Φουντουλάκη Βασίλης Χριστοφίδης Άσκηση 1 (8 μονάδες) Τελική Εξέταση

Διαβάστε περισσότερα

Other Test Constructions: Likelihood Ratio & Bayes Tests

Other Test Constructions: Likelihood Ratio & Bayes Tests Other Test Constructions: Likelihood Ratio & Bayes Tests Side-Note: So far we have seen a few approaches for creating tests such as Neyman-Pearson Lemma ( most powerful tests of H 0 : θ = θ 0 vs H 1 :

Διαβάστε περισσότερα

ST5224: Advanced Statistical Theory II

ST5224: Advanced Statistical Theory II ST5224: Advanced Statistical Theory II 2014/2015: Semester II Tutorial 7 1. Let X be a sample from a population P and consider testing hypotheses H 0 : P = P 0 versus H 1 : P = P 1, where P j is a known

Διαβάστε περισσότερα

Finite Field Problems: Solutions

Finite Field Problems: Solutions Finite Field Problems: Solutions 1. Let f = x 2 +1 Z 11 [x] and let F = Z 11 [x]/(f), a field. Let Solution: F =11 2 = 121, so F = 121 1 = 120. The possible orders are the divisors of 120. Solution: The

Διαβάστε περισσότερα

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS CHAPTER 5 SOLVING EQUATIONS BY ITERATIVE METHODS EXERCISE 104 Page 8 1. Find the positive root of the equation x + 3x 5 = 0, correct to 3 significant figures, using the method of bisection. Let f(x) =

Διαβάστε περισσότερα

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων Εξάμηνο 7 ο Procedures and Functions Stored procedures and functions are named blocks of code that enable you to group and organize a series of SQL and PL/SQL

Διαβάστε περισσότερα

Μορφοποίηση υπό όρους : Μορφή > Μορφοποίηση υπό όρους/γραμμές δεδομένων/μορφοποίηση μόο των κελιών που περιέχουν/

Μορφοποίηση υπό όρους : Μορφή > Μορφοποίηση υπό όρους/γραμμές δεδομένων/μορφοποίηση μόο των κελιών που περιέχουν/ Μορφοποίηση υπό όρους : Μορφή > Μορφοποίηση υπό όρους/γραμμές δεδομένων/μορφοποίηση μόο των κελιών που περιέχουν/ Συνάρτηση round() Περιγραφή Η συνάρτηση ROUND στρογγυλοποιεί έναν αριθμό στον δεδομένο

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Ολοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα είναι μικρότεροι το 1000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Διάρκεια: 3,5 ώρες Καλή

Διαβάστε περισσότερα

Assalamu `alaikum wr. wb.

Assalamu `alaikum wr. wb. LUMP SUM Assalamu `alaikum wr. wb. LUMP SUM Wassalamu alaikum wr. wb. Assalamu `alaikum wr. wb. LUMP SUM Wassalamu alaikum wr. wb. LUMP SUM Lump sum lump sum lump sum. lump sum fixed price lump sum lump

Διαβάστε περισσότερα

Homework 3 Solutions

Homework 3 Solutions Homework 3 Solutions Igor Yanovsky (Math 151A TA) Problem 1: Compute the absolute error and relative error in approximations of p by p. (Use calculator!) a) p π, p 22/7; b) p π, p 3.141. Solution: For

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Αν κάπου κάνετε κάποιες υποθέσεις να αναφερθούν στη σχετική ερώτηση. Όλα τα αρχεία που αναφέρονται στα προβλήματα βρίσκονται στον ίδιο φάκελο με το εκτελέσιμο

Διαβάστε περισσότερα

C.S. 430 Assignment 6, Sample Solutions

C.S. 430 Assignment 6, Sample Solutions C.S. 430 Assignment 6, Sample Solutions Paul Liu November 15, 2007 Note that these are sample solutions only; in many cases there were many acceptable answers. 1 Reynolds Problem 10.1 1.1 Normal-order

Διαβάστε περισσότερα

Math 6 SL Probability Distributions Practice Test Mark Scheme

Math 6 SL Probability Distributions Practice Test Mark Scheme Math 6 SL Probability Distributions Practice Test Mark Scheme. (a) Note: Award A for vertical line to right of mean, A for shading to right of their vertical line. AA N (b) evidence of recognizing symmetry

Διαβάστε περισσότερα

ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ - ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ ΕΠΛ 133: ΑΝΤΙΚΕΙΜΕΝΟΣΤΡΕΦΗΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΣ ΕΡΓΑΣΤΗΡΙΟ 3 Javadoc Tutorial

ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ - ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ ΕΠΛ 133: ΑΝΤΙΚΕΙΜΕΝΟΣΤΡΕΦΗΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΣ ΕΡΓΑΣΤΗΡΙΟ 3 Javadoc Tutorial ΕΡΓΑΣΤΗΡΙΟ 3 Javadoc Tutorial Introduction Το Javadoc είναι ένα εργαλείο που παράγει αρχεία html (παρόμοιο με τις σελίδες στη διεύθυνση http://docs.oracle.com/javase/8/docs/api/index.html) από τα σχόλια

Διαβάστε περισσότερα

Approximation of distance between locations on earth given by latitude and longitude

Approximation of distance between locations on earth given by latitude and longitude Approximation of distance between locations on earth given by latitude and longitude Jan Behrens 2012-12-31 In this paper we shall provide a method to approximate distances between two points on earth

Διαβάστε περισσότερα

Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής

Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής Να γραφεί πρόγραμμα το οποίο δέχεται ως είσοδο μια ακολουθία S από n (n 40) ακέραιους αριθμούς και επιστρέφει ως έξοδο δύο ακολουθίες από θετικούς ακέραιους

Διαβάστε περισσότερα

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΥΠΟΥΡΓΕΙΟ ΕΣΩΤΕΡΙΚΩΝ

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΥΠΟΥΡΓΕΙΟ ΕΣΩΤΕΡΙΚΩΝ ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΥΠΟΥΡΓΕΙΟ ΕΣΩΤΕΡΙΚΩΝ Να σταλεί μόνο με e-mail ΓΕΝΙΚΗ Δ/ΝΣΗ ΟΙΚΟΝΟΜΙΚΩΝ Τ.Α. & ΑΝΑΠΤΥΞΙΑΚΗΣ ΠΟΛΙΤΙΚΗΣ Δ/ΝΣΗ ΟΙΚΟΝΟΜΙΚΩΝ Τ.Α. ΤΜΗΜΑ ΠΑΡΑΚΟΛΟΥΘΗΣΗΣ & ΕΠΕΞΕΡΓΑΣΙΑΣ ΟΙΚΟΝΟΜΙΚΩΝ ΣΤΟΙΧΕΙΩΝ

Διαβάστε περισσότερα

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O Q1. (a) Explain the meaning of the terms mean bond enthalpy and standard enthalpy of formation. Mean bond enthalpy... Standard enthalpy of formation... (5) (b) Some mean bond enthalpies are given below.

Διαβάστε περισσότερα

Second Order RLC Filters

Second Order RLC Filters ECEN 60 Circuits/Electronics Spring 007-0-07 P. Mathys Second Order RLC Filters RLC Lowpass Filter A passive RLC lowpass filter (LPF) circuit is shown in the following schematic. R L C v O (t) Using phasor

Διαβάστε περισσότερα

EE512: Error Control Coding

EE512: Error Control Coding EE512: Error Control Coding Solution for Assignment on Finite Fields February 16, 2007 1. (a) Addition and Multiplication tables for GF (5) and GF (7) are shown in Tables 1 and 2. + 0 1 2 3 4 0 0 1 2 3

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Όλοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα μικρότεροι του 10000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Αν κάπου κάνετε κάποιες υποθέσεις

Διαβάστε περισσότερα

Case 1: Original version of a bill available in only one language.

Case 1: Original version of a bill available in only one language. currentid originalid attributes currentid attribute is used to identify an element and must be unique inside the document. originalid is used to mark the identifier that the structure used to have in the

Διαβάστε περισσότερα

Μητρώο [.gr] Οδηγός ιασύνδεσης. Αξιοποίησης του Εξυπηρετητή EPP. Έκδοση 2.0. [ EPP Server Connection and Use Guide ]

Μητρώο [.gr] Οδηγός ιασύνδεσης. Αξιοποίησης του Εξυπηρετητή EPP. Έκδοση 2.0. [ EPP Server Connection and Use Guide ] [.gr] cctld Σελίδα 1 από 13 Μητρώο [.gr] Οδηγός ιασύνδεσης & Αξιοποίησης του Εξυπηρετητή EPP Έκδοση 2.0 [ EPP Server Connection and Use Guide ] [.gr] cctld Σελίδα 2 από 13 Περιεχόµενα Περιεχόµενα... 2

Διαβάστε περισσότερα

EPL 603 TOPICS IN SOFTWARE ENGINEERING. Lab 5: Component Adaptation Environment (COPE)

EPL 603 TOPICS IN SOFTWARE ENGINEERING. Lab 5: Component Adaptation Environment (COPE) EPL 603 TOPICS IN SOFTWARE ENGINEERING Lab 5: Component Adaptation Environment (COPE) Performing Static Analysis 1 Class Name: The fully qualified name of the specific class Type: The type of the class

Διαβάστε περισσότερα

Πανεπιστήµιο Κρήτης Τµήµα Επιστήµης Υπολογιστών. ΗΥ-561 ιαχείριση εδοµένων στο Παγκόσµιο Ιστό Βασίλης Χριστοφίδης

Πανεπιστήµιο Κρήτης Τµήµα Επιστήµης Υπολογιστών. ΗΥ-561 ιαχείριση εδοµένων στο Παγκόσµιο Ιστό Βασίλης Χριστοφίδης Πανεπιστήµιο Κρήτης Τµήµα Επιστήµης Υπολογιστών ΗΥ-561 ιαχείριση εδοµένων στο Παγκόσµιο Ιστό Βασίλης Χριστοφίδης Ονοµατεπώνυµο: Αριθµός Μητρώου: Άσκηση 1 (55 µονάδες) Τελική Εξέταση (3 ώρες) Ηµεροµηνία:

Διαβάστε περισσότερα

Example Sheet 3 Solutions

Example Sheet 3 Solutions Example Sheet 3 Solutions. i Regular Sturm-Liouville. ii Singular Sturm-Liouville mixed boundary conditions. iii Not Sturm-Liouville ODE is not in Sturm-Liouville form. iv Regular Sturm-Liouville note

Διαβάστε περισσότερα

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 1 State vector space and the dual space Space of wavefunctions The space of wavefunctions is the set of all

Διαβάστε περισσότερα

ΕΓΧΕΙΡΙΔΙΟ ΧΡΗΣΗΣ ΕΤΑΙΡΕΙΩΝ ΔΙΑΜΕΣΟΛΑΒΗΣΗΣ ΣΤΗ ΜΕΤΑΦΟΡΑ ΚΕΦΑΛΑΙΩΝ

ΕΓΧΕΙΡΙΔΙΟ ΧΡΗΣΗΣ ΕΤΑΙΡΕΙΩΝ ΔΙΑΜΕΣΟΛΑΒΗΣΗΣ ΣΤΗ ΜΕΤΑΦΟΡΑ ΚΕΦΑΛΑΙΩΝ ΕΓΧΕΙΡΙΔΙΟ ΧΡΗΣΗΣ ΕΤΑΙΡΕΙΩΝ ΔΙΑΜΕΣΟΛΑΒΗΣΗΣ ΣΤΗ ΜΕΤΑΦΟΡΑ ΚΕΦΑΛΑΙΩΝ ΠΕΡΙΕΧΟΜΕΝΑ 1.Γενικές παρατηρήσεις... 2 1.2 Είσοδος στην εφαρμογή... 3 2. Πίνακας αναφορών... 3 2.1 Περιγραφή του πίνακα αναφορών... 4

Διαβάστε περισσότερα

Numerical Analysis FMN011

Numerical Analysis FMN011 Numerical Analysis FMN011 Carmen Arévalo Lund University carmen@maths.lth.se Lecture 12 Periodic data A function g has period P if g(x + P ) = g(x) Model: Trigonometric polynomial of order M T M (x) =

Διαβάστε περισσότερα

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ting Zhang Stanford May 11, 2001 Stanford, 5/11/2001 1 Outline Ordinal Classification Ordinal Addition Ordinal Multiplication Ordinal

Διαβάστε περισσότερα

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- -----------------

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- ----------------- Inverse trigonometric functions & General Solution of Trigonometric Equations. 1. Sin ( ) = a) b) c) d) Ans b. Solution : Method 1. Ans a: 17 > 1 a) is rejected. w.k.t Sin ( sin ) = d is rejected. If sin

Διαβάστε περισσότερα

Every set of first-order formulas is equivalent to an independent set

Every set of first-order formulas is equivalent to an independent set Every set of first-order formulas is equivalent to an independent set May 6, 2008 Abstract A set of first-order formulas, whatever the cardinality of the set of symbols, is equivalent to an independent

Διαβάστε περισσότερα

( ) 2 and compare to M.

( ) 2 and compare to M. Problems and Solutions for Section 4.2 4.9 through 4.33) 4.9 Calculate the square root of the matrix 3!0 M!0 8 Hint: Let M / 2 a!b ; calculate M / 2!b c ) 2 and compare to M. Solution: Given: 3!0 M!0 8

Διαβάστε περισσότερα

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch: HOMEWORK 4 Problem a For the fast loading case, we want to derive the relationship between P zz and λ z. We know that the nominal stress is expressed as: P zz = ψ λ z where λ z = λ λ z. Therefore, applying

Διαβάστε περισσότερα

Section 8.3 Trigonometric Equations

Section 8.3 Trigonometric Equations 99 Section 8. Trigonometric Equations Objective 1: Solve Equations Involving One Trigonometric Function. In this section and the next, we will exple how to solving equations involving trigonometric functions.

Διαβάστε περισσότερα

1) Formulation of the Problem as a Linear Programming Model

1) Formulation of the Problem as a Linear Programming Model 1) Formulation of the Problem as a Linear Programming Model Let xi = the amount of money invested in each of the potential investments in, where (i=1,2, ) x1 = the amount of money invested in Savings Account

Διαβάστε περισσότερα

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω 0 1 2 3 4 5 6 ω ω + 1 ω + 2 ω + 3 ω + 4 ω2 ω2 + 1 ω2 + 2 ω2 + 3 ω3 ω3 + 1 ω3 + 2 ω4 ω4 + 1 ω5 ω 2 ω 2 + 1 ω 2 + 2 ω 2 + ω ω 2 + ω + 1 ω 2 + ω2 ω 2 2 ω 2 2 + 1 ω 2 2 + ω ω 2 3 ω 3 ω 3 + 1 ω 3 + ω ω 3 +

Διαβάστε περισσότερα

Πανεπιστήμιο Κρήτης Τμήμα Επιστήμης Υπολογιστών. ΗΥ-561 Διαχείριση Δεδομένων στο Παγκόσμιο Ιστό Βασίλης Χριστοφίδης

Πανεπιστήμιο Κρήτης Τμήμα Επιστήμης Υπολογιστών. ΗΥ-561 Διαχείριση Δεδομένων στο Παγκόσμιο Ιστό Βασίλης Χριστοφίδης Πανεπιστήμιο Κρήτης Τμήμα Επιστήμης Υπολογιστών ΗΥ-561 Διαχείριση Δεδομένων στο Παγκόσμιο Ιστό Βασίλης Χριστοφίδης Ονοματεπώνυμο : Αριθμός Μητρώου: Τελική Εξέταση (3 ώρες) Ημερομηνία: Πέμπτη 19 Ιουλίου

Διαβάστε περισσότερα

3. Επερώτηση XML Εγγράφων: Η Γλώσσα XPath

3. Επερώτηση XML Εγγράφων: Η Γλώσσα XPath Πανεπιστήμιο Πειραιώς Σχολή Τεχνολογιών Πληροφορικής και Επικοινωνιών Τμήμα Ψηφιακών Συστημάτων 3. Επερώτηση XML Εγγράφων: Η Γλώσσα XPath ιαχείριση εδομένων στον Παγκόσμιο Ιστό Χρήστος ουλκερίδης Τμήμα

Διαβάστε περισσότερα

Μητρώο [.gr] Οδηγός ιασύνδεσης. Αξιοποίησης του Εξυπηρετητή EPP. Έκδοση 3.0. [ EPP Server Connection and Use Guide ]

Μητρώο [.gr] Οδηγός ιασύνδεσης. Αξιοποίησης του Εξυπηρετητή EPP. Έκδοση 3.0. [ EPP Server Connection and Use Guide ] [.gr] cctld Σελίδα 1 από 16 Μητρώο [.gr] Οδηγός ιασύνδεσης & Αξιοποίησης του Εξυπηρετητή EPP Έκδοση 3.0 [ EPP Server Connection and Use Guide ] [.gr] cctld Σελίδα 2 από 16 Περιεχόµενα Περιεχόµενα... 2

Διαβάστε περισσότερα

Lecture 2. Soundness and completeness of propositional logic

Lecture 2. Soundness and completeness of propositional logic Lecture 2 Soundness and completeness of propositional logic February 9, 2004 1 Overview Review of natural deduction. Soundness and completeness. Semantics of propositional formulas. Soundness proof. Completeness

Διαβάστε περισσότερα

extensible Markup Language: XML

extensible Markup Language: XML extensible Markup Language: XML 2 Ο παραδοσιακός Παγκόσµιος Ιστός Ένα απλό, κοινό πρότυπο για ανταλλαγή και διάδοση πληροφοριών. Η πληροφορία κατατέµνεται σε τµήµατα (πληροφοριακές «νησίδες» - ιστοσελίδες),

Διαβάστε περισσότερα

α) Όσον αφορά το γενικό μήνυμα :

α) Όσον αφορά το γενικό μήνυμα : Τεύχος Β' 3087/07.09.2017 ΕΦΗΜΕΡΙΔΑ ΤΗΣ ΚΥΒΕΡΝΗΣΕΩΣ 3 6 7 3 1 περιλαμβάνει τα ακόλουθα στοιχεία και ιδιοχαρακτηριστικά, τα οποία είναι εφαρμοστέα σε μια δεδομένη υπόθεση επιπλέον της εφαρμογής των κανόνων

Διαβάστε περισσότερα

Second Order Partial Differential Equations

Second Order Partial Differential Equations Chapter 7 Second Order Partial Differential Equations 7.1 Introduction A second order linear PDE in two independent variables (x, y Ω can be written as A(x, y u x + B(x, y u xy + C(x, y u u u + D(x, y

Διαβάστε περισσότερα

Web Services. και SOAP

Web Services. και SOAP Web Services και SOAP Πίνακας Περιεχομένων 1 Εισαγωγή στα web services...3 2 Αρχιτεκτονική και δομικά στοιχεία των web services...9 3 XML...15 4 WSDL και UDDI...25 5 SOAP...32 6 Αναπτυσσόμενες τεχνολογίες...52

Διαβάστε περισσότερα

Problem Set 3: Solutions

Problem Set 3: Solutions CMPSCI 69GG Applied Information Theory Fall 006 Problem Set 3: Solutions. [Cover and Thomas 7.] a Define the following notation, C I p xx; Y max X; Y C I p xx; Ỹ max I X; Ỹ We would like to show that C

Διαβάστε περισσότερα

Section 9.2 Polar Equations and Graphs

Section 9.2 Polar Equations and Graphs 180 Section 9. Polar Equations and Graphs In this section, we will be graphing polar equations on a polar grid. In the first few examples, we will write the polar equation in rectangular form to help identify

Διαβάστε περισσότερα

The Simply Typed Lambda Calculus

The Simply Typed Lambda Calculus Type Inference Instead of writing type annotations, can we use an algorithm to infer what the type annotations should be? That depends on the type system. For simple type systems the answer is yes, and

Διαβάστε περισσότερα

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β 3.4 SUM AND DIFFERENCE FORMULAS Page Theorem cos(αβ cos α cos β -sin α cos(α-β cos α cos β sin α NOTE: cos(αβ cos α cos β cos(α-β cos α -cos β Proof of cos(α-β cos α cos β sin α Let s use a unit circle

Διαβάστε περισσότερα

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11 Potential Dividers 46 minutes 46 marks Page 1 of 11 Q1. In the circuit shown in the figure below, the battery, of negligible internal resistance, has an emf of 30 V. The pd across the lamp is 6.0 V and

Διαβάστε περισσότερα

Chapter 3: Ordinal Numbers

Chapter 3: Ordinal Numbers Chapter 3: Ordinal Numbers There are two kinds of number.. Ordinal numbers (0th), st, 2nd, 3rd, 4th, 5th,..., ω, ω +,... ω2, ω2+,... ω 2... answers to the question What position is... in a sequence? What

Διαβάστε περισσότερα

Concrete Mathematics Exercises from 30 September 2016

Concrete Mathematics Exercises from 30 September 2016 Concrete Mathematics Exercises from 30 September 2016 Silvio Capobianco Exercise 1.7 Let H(n) = J(n + 1) J(n). Equation (1.8) tells us that H(2n) = 2, and H(2n+1) = J(2n+2) J(2n+1) = (2J(n+1) 1) (2J(n)+1)

Διαβάστε περισσότερα

Μηχανική Μάθηση Hypothesis Testing

Μηχανική Μάθηση Hypothesis Testing ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ Μηχανική Μάθηση Hypothesis Testing Γιώργος Μπορμπουδάκης Τμήμα Επιστήμης Υπολογιστών Procedure 1. Form the null (H 0 ) and alternative (H 1 ) hypothesis 2. Consider

Διαβάστε περισσότερα

Ψηφιακή ανάπτυξη. Course Unit #1 : Κατανοώντας τις βασικές σύγχρονες ψηφιακές αρχές Thematic Unit #1 : Τεχνολογίες Web και CMS

Ψηφιακή ανάπτυξη. Course Unit #1 : Κατανοώντας τις βασικές σύγχρονες ψηφιακές αρχές Thematic Unit #1 : Τεχνολογίες Web και CMS Ψηφιακή ανάπτυξη Course Unit #1 : Κατανοώντας τις βασικές σύγχρονες ψηφιακές αρχές Thematic Unit #1 : Τεχνολογίες Web και CMS Learning Objective : Βασικά συστατικά του Web Fabio Calefato Department of

Διαβάστε περισσότερα

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων Εξάμηνο 7 ο Oracle SQL Developer An Oracle Database stores and organizes information. Oracle SQL Developer is a tool for accessing and maintaining the data

Διαβάστε περισσότερα

SOAP API. https://bulksmsn.gr. Table of Contents

SOAP API. https://bulksmsn.gr. Table of Contents SOAP API https://bulksmsn.gr Table of Contents Send SMS...2 Query SMS...3 Multiple Query SMS...4 Credits...5 Save Contact...5 Delete Contact...7 Delete Message...8 Email: sales@bulksmsn.gr, Τηλ: 211 850

Διαβάστε περισσότερα

5.4 The Poisson Distribution.

5.4 The Poisson Distribution. The worst thing you can do about a situation is nothing. Sr. O Shea Jackson 5.4 The Poisson Distribution. Description of the Poisson Distribution Discrete probability distribution. The random variable

Διαβάστε περισσότερα

MathCity.org Merging man and maths

MathCity.org Merging man and maths MathCity.org Merging man and maths Exercise 10. (s) Page Textbook of Algebra and Trigonometry for Class XI Available online @, Version:.0 Question # 1 Find the values of sin, and tan when: 1 π (i) (ii)

Διαβάστε περισσότερα

Dynamic types, Lambda calculus machines Section and Practice Problems Apr 21 22, 2016

Dynamic types, Lambda calculus machines Section and Practice Problems Apr 21 22, 2016 Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Dynamic types, Lambda calculus machines Apr 21 22, 2016 1 Dynamic types and contracts (a) To make sure you understand the

Διαβάστε περισσότερα

ORDINAL ARITHMETIC JULIAN J. SCHLÖDER

ORDINAL ARITHMETIC JULIAN J. SCHLÖDER ORDINAL ARITHMETIC JULIAN J. SCHLÖDER Abstract. We define ordinal arithmetic and show laws of Left- Monotonicity, Associativity, Distributivity, some minor related properties and the Cantor Normal Form.

Διαβάστε περισσότερα

XML Schemas. (Primer) (Structures) (Datatypes)

XML Schemas.  (Primer)  (Structures)  (Datatypes) XML Schemas http://www.w3.org/tr/xmlschema-0/ (Primer) http://www.w3.org/tr/xmlschema-1/ (Structures) http://www.w3.org/tr/xmlschema-2/ (Datatypes) Roger L. Costello Τεχνολογίες XML 1 Schema Validators

Διαβάστε περισσότερα

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions SCHOOL OF MATHEMATICAL SCIENCES GLMA Linear Mathematics 00- Examination Solutions. (a) i. ( + 5i)( i) = (6 + 5) + (5 )i = + i. Real part is, imaginary part is. (b) ii. + 5i i ( + 5i)( + i) = ( i)( + i)

Διαβάστε περισσότερα

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics Fourier Series MATH 211, Calculus II J. Robert Buchanan Department of Mathematics Spring 2018 Introduction Not all functions can be represented by Taylor series. f (k) (c) A Taylor series f (x) = (x c)

Διαβάστε περισσότερα

Section 7.6 Double and Half Angle Formulas

Section 7.6 Double and Half Angle Formulas 09 Section 7. Double and Half Angle Fmulas To derive the double-angles fmulas, we will use the sum of two angles fmulas that we developed in the last section. We will let α θ and β θ: cos(θ) cos(θ + θ)

Διαβάστε περισσότερα

Bounding Nonsplitting Enumeration Degrees

Bounding Nonsplitting Enumeration Degrees Bounding Nonsplitting Enumeration Degrees Thomas F. Kent Andrea Sorbi Università degli Studi di Siena Italia July 18, 2007 Goal: Introduce a form of Σ 0 2-permitting for the enumeration degrees. Till now,

Διαβάστε περισσότερα

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8  questions or comments to Dan Fetter 1 Eon : Fall 8 Suggested Solutions to Problem Set 8 Email questions or omments to Dan Fetter Problem. Let X be a salar with density f(x, θ) (θx + θ) [ x ] with θ. (a) Find the most powerful level α test

Διαβάστε περισσότερα

How to register an account with the Hellenic Community of Sheffield.

How to register an account with the Hellenic Community of Sheffield. How to register an account with the Hellenic Community of Sheffield. (1) EN: Go to address GR: Πηγαίνετε στη διεύθυνση: http://www.helleniccommunityofsheffield.com (2) EN: At the bottom of the page, click

Διαβάστε περισσότερα

PortSip Softphone. Ελληνικά Ι English 1/20

PortSip Softphone. Ελληνικά Ι English 1/20 PortSip Softphone Ελληνικά Ι English 1/20 1. Περιεχόμενα 2. Εγκατάσταση σε Smartphone & Tablet (Android ή ios)... 1 3. Εγκατάσταση σε ηλεκτρονικό υπολογιστή (Windows ή Mac).... 5 4. Installation in Smartphone

Διαβάστε περισσότερα

ΣΗΜΑΣΙΟΛΟΓΙΚΟΣ ΙΣΤΟΣ - XML

ΣΗΜΑΣΙΟΛΟΓΙΚΟΣ ΙΣΤΟΣ - XML ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΕΙΡΑΙΩΣ ΤΜΗΜΑ ΨΗΦΙΑΚΩΝ ΣΥΣΤΗΜΑΤΩΝ ΣΗΜΑΣΙΟΛΟΓΙΚΟΣ ΙΣΤΟΣ - XML Εργαστήρια 2-3 Στουγιάννου Ελευθερία estoug@unipi.gr Περιεχόμενα Δεύτερου & Τρίτου Εργαστηριακού Μαθήματος Ορίζοντας διαλέκτους

Διαβάστε περισσότερα

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ. Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο The time integral of a force is referred to as impulse, is determined by and is obtained from: Newton s 2 nd Law of motion states that the action

Διαβάστε περισσότερα

Automating Complex Workflows using Processing Modeler

Automating Complex Workflows using Processing Modeler Automating Complex Workflows using Processing Modeler QGIS Tutorials and Tips Author Ujaval Gandhi http://google.com/+ujavalgandhi Translations by Christina Dimitriadou Paliogiannis Konstantinos Tom Karagkounis

Διαβάστε περισσότερα

The challenges of non-stable predicates

The challenges of non-stable predicates The challenges of non-stable predicates Consider a non-stable predicate Φ encoding, say, a safety property. We want to determine whether Φ holds for our program. The challenges of non-stable predicates

Διαβάστε περισσότερα

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =? Teko Classes IITJEE/AIEEE Maths by SUHAAG SIR, Bhopal, Ph (0755) 3 00 000 www.tekoclasses.com ANSWERSHEET (TOPIC DIFFERENTIAL CALCULUS) COLLECTION # Question Type A.Single Correct Type Q. (A) Sol least

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011 Διάρκεια Διαγωνισμού: 3 ώρες Απαντήστε όλες τις ερωτήσεις Μέγιστο Βάρος (20 Μονάδες) Δίνεται ένα σύνολο από N σφαιρίδια τα οποία δεν έχουν όλα το ίδιο βάρος μεταξύ τους και ένα κουτί που αντέχει μέχρι

Διαβάστε περισσότερα

Εισαγωγή στη γλώσσα XML

Εισαγωγή στη γλώσσα XML Εισαγωγή στη γλώσσα XML Μανόλης Γεργατσούλης Χρήστος Παπαθεοδώρου Ομάδα Βάσεων Δεδομένων και Πληροφοριακών Συστημάτων, Τμήμα Αρχειονομίας Βιβλιοθηκονομίας Ιόνιο Πανεπιστήμιο HTML Απλή γλώσσα σημειοθέτησης

Διαβάστε περισσότερα

Lecture 34 Bootstrap confidence intervals

Lecture 34 Bootstrap confidence intervals Lecture 34 Bootstrap confidence intervals Confidence Intervals θ: an unknown parameter of interest We want to find limits θ and θ such that Gt = P nˆθ θ t If G 1 1 α is known, then P θ θ = P θ θ = 1 α

Διαβάστε περισσότερα

Στο εστιατόριο «ToDokimasesPrinToBgaleisStonKosmo?» έξω από τους δακτυλίους του Κρόνου, οι παραγγελίες γίνονται ηλεκτρονικά.

Στο εστιατόριο «ToDokimasesPrinToBgaleisStonKosmo?» έξω από τους δακτυλίους του Κρόνου, οι παραγγελίες γίνονται ηλεκτρονικά. Διαστημικό εστιατόριο του (Μ)ΑστροΈκτορα Στο εστιατόριο «ToDokimasesPrinToBgaleisStonKosmo?» έξω από τους δακτυλίους του Κρόνου, οι παραγγελίες γίνονται ηλεκτρονικά. Μόλις μια παρέα πελατών κάτσει σε ένα

Διαβάστε περισσότερα

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013 Notes on Average Scattering imes and Hall Factors Jesse Maassen and Mar Lundstrom Purdue University November 5, 13 I. Introduction 1 II. Solution of the BE 1 III. Exercises: Woring out average scattering

Διαβάστε περισσότερα

Partial Trace and Partial Transpose

Partial Trace and Partial Transpose Partial Trace and Partial Transpose by José Luis Gómez-Muñoz http://homepage.cem.itesm.mx/lgomez/quantum/ jose.luis.gomez@itesm.mx This document is based on suggestions by Anirban Das Introduction This

Διαβάστε περισσότερα

A Note on Intuitionistic Fuzzy. Equivalence Relation

A Note on Intuitionistic Fuzzy. Equivalence Relation International Mathematical Forum, 5, 2010, no. 67, 3301-3307 A Note on Intuitionistic Fuzzy Equivalence Relation D. K. Basnet Dept. of Mathematics, Assam University Silchar-788011, Assam, India dkbasnet@rediffmail.com

Διαβάστε περισσότερα

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1 Conceptual Questions. State a Basic identity and then verify it. a) Identity: Solution: One identity is cscθ) = sinθ) Practice Exam b) Verification: Solution: Given the point of intersection x, y) of the

Διαβάστε περισσότερα

Physical DB Design. B-Trees Index files can become quite large for large main files Indices on index files are possible.

Physical DB Design. B-Trees Index files can become quite large for large main files Indices on index files are possible. B-Trees Index files can become quite large for large main files Indices on index files are possible 3 rd -level index 2 nd -level index 1 st -level index Main file 1 The 1 st -level index consists of pairs

Διαβάστε περισσότερα

Lecture 15 - Root System Axiomatics

Lecture 15 - Root System Axiomatics Lecture 15 - Root System Axiomatics Nov 1, 01 In this lecture we examine root systems from an axiomatic point of view. 1 Reflections If v R n, then it determines a hyperplane, denoted P v, through the

Διαβάστε περισσότερα

ΑΚΑ ΗΜΙΑ ΕΜΠΟΡΙΚΟΥ ΝΑΥΤΙΚΟΥ ΜΑΚΕ ΟΝΙΑΣ ΣΧΟΛΗ ΜΗΧΑΝΙΚΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ

ΑΚΑ ΗΜΙΑ ΕΜΠΟΡΙΚΟΥ ΝΑΥΤΙΚΟΥ ΜΑΚΕ ΟΝΙΑΣ ΣΧΟΛΗ ΜΗΧΑΝΙΚΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ ΑΚΑ ΗΜΙΑ ΕΜΠΟΡΙΚΟΥ ΝΑΥΤΙΚΟΥ ΜΑΚΕ ΟΝΙΑΣ ΣΧΟΛΗ ΜΗΧΑΝΙΚΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ ΘΕΜΑ :ΤΥΠΟΙ ΑΕΡΟΣΥΜΠΙΕΣΤΩΝ ΚΑΙ ΤΡΟΠΟΙ ΛΕΙΤΟΥΡΓΙΑΣ ΣΠΟΥ ΑΣΤΡΙΑ: ΕΥΘΥΜΙΑ ΟΥ ΣΩΣΑΝΝΑ ΕΠΙΒΛΕΠΩΝ ΚΑΘΗΓΗΤΗΣ : ΓΟΥΛΟΠΟΥΛΟΣ ΑΘΑΝΑΣΙΟΣ 1 ΑΚΑ

Διαβάστε περισσότερα

UNIVERSITY OF CALIFORNIA. EECS 150 Fall ) You are implementing an 4:1 Multiplexer that has the following specifications:

UNIVERSITY OF CALIFORNIA. EECS 150 Fall ) You are implementing an 4:1 Multiplexer that has the following specifications: UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences EECS 150 Fall 2001 Prof. Subramanian Midterm II 1) You are implementing an 4:1 Multiplexer that has the following specifications:

Διαβάστε περισσότερα

Galatia SIL Keyboard Information

Galatia SIL Keyboard Information Galatia SIL Keyboard Information Keyboard ssignments The main purpose of the keyboards is to provide a wide range of keying options, so many characters can be entered in multiple ways. If you are typing

Διαβάστε περισσότερα