Which of the following is supported by XML but not JSON? (a) Schema (b) Native binary...
I need help with this xml!
1. Write an XML Schema for the following XML file and validate the xml file against your XML Schema using the online validator: http://tools.decisionsoft.com/schema Validatel. <?xml version="1.0" KEmployees> ?> <Employee KSSN> 737333999</SSN> Name>Christo Dichev</Name> <DateofBirth>1950-03 03</DateOfBirth> <EmployeeType> FULLTIME</ Employee ype> <Salary>7000</Salary> </Employee> Employee> KSSN> 737333333</SSN> <Name> Paul Fisher</Name> <DateOfBirth>1960-01- 01</DateOfBirth> <EmployeeType> FULLTIME</EmployeeT ype> <Salary> 6000</Salary> </Employee> </Employees>
Q.4. Considering the XML Schema shown below, answer the following questions: a) Write an XML document that conforms to the rules of the xml schema given below. Add atleast two book elements. b) Modify the XML schema to add an attribute “id” to the book element which is of the type string and is a mandatory. c) In the XML schema, change the definition of the element “price” such that value of price cannot be lower than 10...
1. Write an XML Schema for the following XML file satisfying the following requirements: a) comment element is required; b) publisher element should be of xsd:string type; c) price elements should be of xsd:float type. Validate the xml file against your XML Schema using the online validator: http://tools.decisionsoft.com/schemaValidate/. <?xml version="1.0"?> <bib> <comment>These books are still relevant </comment> <book year="1994"> <title>TCP/IP Illustrated</title> <author> <last>Stevens</last> <first>Tim</first> </author> <publisher>Addison-Wesley</publisher> <price discount="yes"> 65.95</price> </book> <book year="2003"> <title>Learning XML</title> <author> <last>Erik</last> <middle >T</middle > <first>Ray</first>...
QUESTION 1 JSON stands for (each letter has textbox) one java script object notation 10 points aved QUESTION 2 All of the following are true for JSON, EXCEPT.. a. uses conventions of markup languages similar to HTML, XML Ob. "easy" for humans to read and write c. standardized as ECMA-262 d. "easy" for computer algorithms to parse and generate . language independent text format for data f. based on subset of JavaScript 10 points Save Answer QUESTION 3 JSON organizes...
Which of the following properties were introduced by the RDF Schema vocabulary (rdfs:)? foaf:name rdfs:object rdfs:subClassOf rdfs:type What kind of knowledge can be expressed with RDF Schema? Class disjointness. Class hierarchies. Property disjointness. Property description. SPARQL is based on graph pattern matching. These SPARQL graph patterns are based on ... RDF N-triple serialization. RDF Turtle serialization. RDFS/XML serialization. RDF/XML serialization. Consider a graph containing the following triples and select the correct query to get all the writers of the film "Michael...
4. Multiply the following numbers: a. 101010 x 1101 (binary) b. 11011011 x 11010011 (binary) c. 426 x 135 (octal) d. B23D x 21 (hexadecimal)
5 Convert the following binary numbers to decimal form: (a) 110011 (b) 101.1101 (c) 0.1000001 (c) 0.1000001 (d) 1010101010101 6) Convert the following decimal numbers to binary format (a) 366 (b) 4.25 (c) 1/6
I am having trouble with these JDBC and XML questions. 1) The type of XML Parsing that parses an XML document based on expression and is used extensively in conjunction with XSLT. a) SAX Parsing b) DOM parsing c) StAX d) XPath Parsing 2) On the XML below, which XPath expression will return all of the values of title attributes? <slideshow title="Sample Slide Show" date="Date of publication" author="Yours Truly" > <!-- TITLE SLIDE --> <slide type="all"> <title>Wake up to WonderWidgets!</title>...
Given the following Schema S = (R, FD) where R = (A, B, C, D, E, F) and FD contains the following dependencies: A -> BC B ->C C -> D D ->E C -> E E -> F DE -> F C -> F 1. Find a minimal cover of F 2. Find a key for the schema 3. Find a 3N decomposition of the schema that satisfies the lossless join decomposition and dependency preservation properties 4. Find a...
(ii) The following two numbers are represented in unsigned binary: A = (10001)2 B=(100102 Represent these two numbers in signed l's complement form and perform the following binary arithmetic operations using the l's complement method. Use the necessary number of bits to represent both numbers and results including the sign bit. C= A +B; D=A-B.