WorksheetsWD - Intra Exam - Data processing technologies (TTD)
Total questions: 30
Worksheet time: 15mins
What does XML stand for?
eXtra Modern Link
Example Markup Language
eXtensible Markup Language
X-Markup Language
What is wrong in the XML Structure :
<root>
<child>
<subchild>
<name>
</name
</child>
</subchild>
</root>
Some tags are not predefined
Slash "/" is missed in one of the tags
Not well nested
It should not start by the root tag
What is the correct syntax of the declaration which defines the XML version?
<?xml version="1.0" />
<?xml version="1.0"?>
<xml version="1.0" />
<xml version="1.0"?/>
All "Well-formed" XML documents are "Valid" XML documents.
Right
False
Which statement is true?
All XML elements must be lower case
All XML documents must have a DTD
All XML elements must be properly closed
All of the above
None of the above
Which statement is true?
XML tags are case sensitive
XML elements must be properly nested
Cannot start with xml + no contain a space
All are true
None is true
XML preserves white spaces
Ture
False
XML cannot contain Empty elements
Yes
No
Which from all of these are not a correct name for an XML element? (Select all answers)
<1dollar>
<Note>
<h1>
<First Name>
<_test>
XML attribute values must always be enclosed in quotes
True
False
How does XML describe the data? choose all correct answers.
XML uses Document Type Definition to describe the data`
XML uses XSL to describe the data
XML uses Schema Definition to describe the data
All of theses
None of these
Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to age="29">Tove</to>
<from>Jani</from>
</note>
Yes
No
Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to age=29>Tove</to>
<from>Jani</from>
</note>
Yes
No
Which is a correct name for an XML element?
<xmldocument>
<7eleven>
<Name>
<phone number>
What does XSL stand for?
eXtra Style Language
eXpandable Style Language
eXtensible Style Listing
eXtensible Stylesheet Language
What is a correct way of referring to a stylesheet called "mystyle.xsl" ?
<link type="text/xsl" href="mystyle.xsl" />
<?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>
<stylesheet type="text/xsl" href="mystyle.xsl" />
<link type="text/xsl" href="mystyle.xsl"> <link/>
JSON Stands for what ?
JavaScript Object Network
JavaScript Object Notation
Jquery Oriented Notation
Java Script Object Nested
JSON is used to style easlly XML Data
True
False
JSON Can be understood :
by only humans
by only machines
by humans and machines
none of these
Which symbol is used to separate each name-value pair of a JSON object?
Period (.)
Forward slash (/)
Semi-colon (;)
Comma (,)
JSON files have an extension : ____________.
.jn
js
.json
.jason
What is the proper way of writing a JSON name/value pair?
“propertyName” : “value”
propertyName = value
“propertyName” = “value”
'propertyName' : 'value'
An object in JSON should be enclosed with ________.
[]
{}
()
none of these
Parsing XML means :
Styling data of XML Document
Extract data from XML Document
Transfer data of XML Document
Formatting XML Document
We can pase XML Document by using these following programming languages:
(Choose all correct answers).
HTML
JavaScript
PHP
CSS
Which of the following is NOT a data type that is supported by JSON spec?
BigDecimal
Array
Object
String
Which of the following example is a correct way to represent a JSON object?
{ “sports” - [ “football” : “cricket” : “hockey” ] }
[ “sports” : { “football” , “cricket” , “hockey” } ]
{[ “sports” : [ “football” , “cricket” , “hockey” ] }]
{ “sports” : [ “football” , “cricket” , “hockey” ] }
CDATA stands for what
Character Data Type Application
Character Data
Char Data Type
Char Data Alphabetic Type Application
Which Statement about xml is true?
Elements may have multiple atrribute with the same name
Quoting attribute is optional
Elements may nest but not overlap
All of the above.
what the following code lines would actually do
<xsl:for-each select="bookstore/book">
<xsl:sort select="year"/>
select the year of the book store bookstore
Sorts the results based on a year value
Select the year of the book
Display the number of books in the bookstore
