SlideShare a Scribd company logo
XML Technology
By – Ravina Jeswani
Quiz - 1
1. What does XML stand for?
A. eXtra Modern Link
B. eXtensible Markup Language
C. Example Markup Language
D. X-Markup Language
2. What is the correct syntax of the declaration which defines the XML version?:
A. <xml version=“1.0" />
B. <?xml version=“1.0"?>
C. <?xml version=“1.0" />
D. None of the above
3. Which statement is true?
A. All the statements are true
B. All XML elements must have a closing tag
C. All XML elements must be lower case
D. All XML documents must have a DTD
4. Is it easier to process XML than HTML?
A. Yes
B. No
C. Sometimes
D. Cant say
5. Which of the following programs support XML or XML applications?:
A. Internet Explorer 5.5
B. Netscape 0.7
C. RealPlayer.
D. both A and B
6. Kind of Parsers are
A. well-formed
B. well-documented
C. non-validating and validating
D. none of the above
7. Well formed XML document means
A. it contains a root element
B. it contain an element
C. it contains one or more elements
D. must contain one or more elements and root element must contain all other elements
8. Comment in XML document is given by
A. <?-- -->
B. <!-- --!>
C. <!-- -->
D. </-- -- >
9. When processing an output XML, "new line" symbols
A. are copied into output "as is", i.e. "CR+LF" for Windows, CR for Macintosh, LF for Unix.
B. are converted to single LF symbol
C. are converted to single CR symbol
D. are discarded
10. Which of the following strings are a correct XML name?
A. _myElement
B. my Element
C. #myElement
D. None of the above
11. Which of the following strings are a correct XML name?
A. xmlExtension
B. xslNewElement
C. XMLElement#123
D. All
12. Which of the following XML fragments are well-formed?
A. <?xml?>
B. <?xml version=“1.0"?>
C. <?xml encoding="JIS"?>
D. <?xml encoding="JIS" version="A.0"?>
13. What are the predefined attributes
A. xml:lang
B. xml:space
C. both
D. none.
14. Kind of Parsers are
A. well-formed
B. validating
C. non-validating
D. Both B & C
15. Valid XML document means (most appropriate)
A. the document has root element
B. the document contains atleast one or more root element
C. the XML document has DTD associated with it & it complies with that DTD
D. Each element must nest inside any enclosing element property
16. XML uses the features of
A. HTML
B. XHTML
C. VML
D. SGML
17. XML document can be viewed in
A. Browser
B. social media
C. mail
D. media
18. There is a way of describing XML data, how?
A. XML uses a DTD to describe the data
B. XML uses XSL to describe data
C. XML uses a description node to describe data
D. Both A and C
19. What does DTD stand for?
A. Direct Type Definition
B. Document Type Definition
C. Do The Dance
D. Dynamic Type Definition
20. DTD includes the specifications about the markup that can be used within the document,
the specifications consists of all EXCEPT
A. the browser name
B. the size of element name
C. entity declarations
D. element declarations
21. Which of the following XML documents are well-formed?
A. <firstElement>some text goes here
<secondElement>another text goes here</secondElement>
</firstElement>
B. <firstElement>some text goes here</firstElement>
<secondElement> another text goes here</secondElement>
C. <firstElement>some text goes here
<secondElement> another text goes here</firstElement>
</secondElement>
D. </firstElement>some text goes here
</secondElement>another text goes here
<firstElement>
22. Which of the following XML fragments are well-formed?
A. <myElement myAttribute="someValue"/>
B. <myElement myAttribute=someValue/>
C. <myElement myAttribute=’someValue’>
D. <myElement myAttribute="someValue’/>
23. How can we make attributes have multiple values:
A. <myElement myAttribute="value1 value2"/>
B. <myElement myAttribute="value1" myAttribute="value2"/>
C. <myElement myAttribute="value1, value2"/>
D. attributes cannot have multiple values
24. Which of the following XML fragments are well-formed?
A. <myElement myAttribute="value1 <= value2"/>
B. <myElement myAttribute="value1 & value2"/>
C. <myElement myAttribute="value1 > value2"/>
D. None of the above
25. The use of a DTD in XML development is:
A. required when validating XML documents
B. no longer necessary after the XML editor has been customized
C. used to direct conversion using an XSLT processor
D. a good guide to populating a templates to be filled in when generating an XML document automatically
26. Parameter entities can appear in
A. xml file
B. dtd file
C. xsl file
D. Both 1 and 2
27. Attribute standalone="no" should be included in XML declaration if a document:
A. is linked to an external XSL stylesheet
B. has external general references
C. has processing instructions
D. has an external DTD
28. In XML
A. the internal DTD subset is read before the external DTD
B. the external DTD subset is read before the internal DTD
C. there is no external type of DTD
D. there is no internal type of DTD
29. Disadvantages of DTD are
(i)DTDs are not extensible
(ii)DTDs are not in to support for namespaces
(iii)there is no provision for inheritance from one DTDs to another
A. (i) is correct
B. (i),(ii) are correct
C. (ii),(iii) are correct
D. (i),(ii),(iii) are correct
30. To use the external DTD we have the syntax
A. <?xml version=”A.0” standalone=”no”?>
<! DOCTYPE DOCUMENT SYSTEM “order.dtd”?>
B. <?xml version=”A.0” standalone=”yes”?>
<! DOCTYPE DOCUMENT SYSTEM “order.dtd”?>
(3 )<?xml version=”A.0” standalone=”no”?>
<! DOCTYPE DOCUMENT “order.dtd”?>
D. <?xml version=”A.0” standalone=”yes”?>
<! DOCTYPE DOCUMENT SYSTEM “order.dtd”?>
31. To add the attribute named Type to the <customer> tag the syntax will be
A. <customer attribute Type=”exelent”>
B. <customer Type attribute =”exelent”>
C. <customer Type attribute_type=”exelent”>
D. <customer Type=” exelent” >
32. The syntax for parameter entity is
A. <! ENTITY % NAME DEFINITION>
B. < ENTITY % NAME DEFINITION>
C. <! ENTITY $ NAME DEFINITION>
D. < ENTITY % NAME DEFINITION>
33. You can name the schema using the name attribute like
A. <schema attribute=”schema1”>
B. <schema nameattribute=”schema1”>
C. <schema nameattri=”schema1”>
D. <schema name=”schema1”>
34. The default model for complex type, in XML schemas for element is
A. textOnly
B. elementOnly
C. no default type
D. both 1 & 2
35. Microsoft XML Schema Data types for Hexadecimal digits representing octets
A. UID
B. UXID
C. UUID
D. XXID
36. A schema describes
(i) grammar
(ii) vocabulary
(iii) structure
(iv) datatype of XML document
A. (i) & (ii) are correct
B. (i),(iii) ,(iv) are correct
C. (i),(ii),(iv) are correct
D. (i),(ii),(iii),(iv) are correct
37. Microsoft XML Schema Data Type “ Boolean” has values
A. True ,False
B. True ,False or 1,0
C. 1,0
D. any number other then zero and zero
38. Simple type Built into Schema “ data’ represent a data in
A. MM-DD-YY
B. Dd-MM-YY
C. YY-MM-DD
D. YYYY-MM-DD
39. In simple Type Built into XML schema Boolean type holds
A. True, False
B. 1,0
C. both A. & B.
D. True/False and any number except 0
40. In simple type built into XML schema type flat has single precision of ________ floating point
A. 16 bit
B. 32 bit
C. 8 bit
D. 4 bit
41. The XML DOM object is
A. Entity
B. Entity Reference
C. Comment Reference
D. Comment Data
42. Attribute of the document interface in DOM is/are
(i)doctype
(ii)implementation
(iii)documentElement
which are read only attributes
A. (i) only
B. (ii) only
C. (ii),(iii) only
D. all
43. The default model for complex type, in XML schemas for element is
A. textOnly
B. elementOnly
C. no default type
D. both a & b
44. To create a choice in XML schemas, we use the
A. <xsd:select> element
B. <xsd:multi> element
C. <xsd:choise> element
D. <xsd:single> element
45. The XML DOM object is
A. Entity
B. Entity Reference
C. Comment Reference
D. Comment Data
46. To create a data island we use the _____________HTML element
A. <XML>
B. <dataisland>
C. <Island>
D. <XMLIsland>
47. To Bind the HTML elements with DSO we use _________ attribute
A. DATASOURCE
B. DATAFIELD
C. DATASRC
D. DATAFLD
48. To bind the HTML element <INPUT> Type in text with the datasource “ dsoCustomer” we use
A. <INPUT TYPE=”TEXT” DATAFIELD=”#dsoCustomer”>
B. <INPUT TYPE=”TEXT” DATASRC=” dsoCustomer”>
C. <INPUT TYPE=”TEXT” DATASRC=” #dsoCustomer” >
D. <INPUT TYPE=”TEXT” DATAFLD=” #dsoCustomer”>
49. XML DSOs has the property for the number of pages of data the recordset contains
A. count
B. number
C. pageCount
D. pageNumber
50. What is so great about XML?
A. Easy data exchange
B. High speed on network
C. Only B is correct
D. Both A. & B.

More Related Content

What's hot

XML's validation - XML Schema
XML's validation - XML SchemaXML's validation - XML Schema
XML's validation - XML Schema
videde_group
 
Xml dtd
Xml dtdXml dtd
Xml dtd
sana mateen
 
Regular expression unit2
Regular expression unit2Regular expression unit2
Regular expression unit2
smitha273566
 
Dtd
DtdDtd
Introduction to DTD
Introduction to DTDIntroduction to DTD
Introduction to DTD
torp42
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
yht4ever
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
SanmatiRM
 
Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...
Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...
Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...
Codemotion
 
Session 2
Session 2Session 2
Dtd
DtdDtd
Cleaner Code - CodeStock 2019 Edition
Cleaner Code - CodeStock 2019 EditionCleaner Code - CodeStock 2019 Edition
Cleaner Code - CodeStock 2019 Edition
Dave Fancher
 

What's hot (11)

XML's validation - XML Schema
XML's validation - XML SchemaXML's validation - XML Schema
XML's validation - XML Schema
 
Xml dtd
Xml dtdXml dtd
Xml dtd
 
Regular expression unit2
Regular expression unit2Regular expression unit2
Regular expression unit2
 
Dtd
DtdDtd
Dtd
 
Introduction to DTD
Introduction to DTDIntroduction to DTD
Introduction to DTD
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Object Oriented Programming Concepts
Object Oriented Programming ConceptsObject Oriented Programming Concepts
Object Oriented Programming Concepts
 
Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...
Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...
Beyond JavaScript Frameworks: Writing Reliable Web Apps With Elm - Erik Wende...
 
Session 2
Session 2Session 2
Session 2
 
Dtd
DtdDtd
Dtd
 
Cleaner Code - CodeStock 2019 Edition
Cleaner Code - CodeStock 2019 EditionCleaner Code - CodeStock 2019 Edition
Cleaner Code - CodeStock 2019 Edition
 

Similar to Quiz on XML

Xml ppt
Xml pptXml ppt
PART - 1 Cpp programming Solved MCQ
PART - 1 Cpp programming Solved MCQPART - 1 Cpp programming Solved MCQ
PART - 1 Cpp programming Solved MCQ
Knowledge Center Computer
 
OOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUR
OOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUROOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUR
OOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUR
lochan100
 
Xml
XmlXml
Part - 2 Cpp programming Solved MCQ
Part - 2  Cpp programming Solved MCQ Part - 2  Cpp programming Solved MCQ
Part - 2 Cpp programming Solved MCQ
Knowledge Center Computer
 
OOM MCQ 2018
OOM  MCQ 2018OOM  MCQ 2018
OOM MCQ 2018
lochan100
 
Xml11
Xml11Xml11
Xml Presentation-1
Xml Presentation-1Xml Presentation-1
Xml Presentation-1
Sudharsan S
 
Csharp
CsharpCsharp
Csharp
vinayabburi
 
C++ questions
C++ questionsC++ questions
C++ questions
anujchouksey
 
Dublin Core Basic Syntax Tutorial
Dublin Core Basic Syntax TutorialDublin Core Basic Syntax Tutorial
Dublin Core Basic Syntax Tutorial
Eduserv Foundation
 
XML.ppt
XML.pptXML.ppt
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.doc
AnimutGeremew3
 
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdfUnit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
RAVALCHIRAG1
 
Unitiii mcq
Unitiii mcqUnitiii mcq
Unitiii mcq
raji varadhan
 
OOC MODULE1.pptx
OOC MODULE1.pptxOOC MODULE1.pptx
OOC MODULE1.pptx
1HK19CS090MOHAMMEDSA
 
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docKality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
AnimutGeremew3
 
Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8
Shakeel Mujahid
 
Python help 1 What is serialization when we are talking abo.pdf
Python help 1 What is serialization when we are talking abo.pdfPython help 1 What is serialization when we are talking abo.pdf
Python help 1 What is serialization when we are talking abo.pdf
adyardrpradeep
 
Introduction to c_sharp
Introduction to c_sharpIntroduction to c_sharp
Introduction to c_sharp
Jorge Antonio Contre Vargas
 

Similar to Quiz on XML (20)

Xml ppt
Xml pptXml ppt
Xml ppt
 
PART - 1 Cpp programming Solved MCQ
PART - 1 Cpp programming Solved MCQPART - 1 Cpp programming Solved MCQ
PART - 1 Cpp programming Solved MCQ
 
OOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUR
OOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUROOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUR
OOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUR
 
Xml
XmlXml
Xml
 
Part - 2 Cpp programming Solved MCQ
Part - 2  Cpp programming Solved MCQ Part - 2  Cpp programming Solved MCQ
Part - 2 Cpp programming Solved MCQ
 
OOM MCQ 2018
OOM  MCQ 2018OOM  MCQ 2018
OOM MCQ 2018
 
Xml11
Xml11Xml11
Xml11
 
Xml Presentation-1
Xml Presentation-1Xml Presentation-1
Xml Presentation-1
 
Csharp
CsharpCsharp
Csharp
 
C++ questions
C++ questionsC++ questions
C++ questions
 
Dublin Core Basic Syntax Tutorial
Dublin Core Basic Syntax TutorialDublin Core Basic Syntax Tutorial
Dublin Core Basic Syntax Tutorial
 
XML.ppt
XML.pptXML.ppt
XML.ppt
 
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.doc
 
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdfUnit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
Unit 1 - What is jQuery_Why jQuery_Syntax_Selectors.pdf
 
Unitiii mcq
Unitiii mcqUnitiii mcq
Unitiii mcq
 
OOC MODULE1.pptx
OOC MODULE1.pptxOOC MODULE1.pptx
OOC MODULE1.pptx
 
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docKality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
 
Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8
 
Python help 1 What is serialization when we are talking abo.pdf
Python help 1 What is serialization when we are talking abo.pdfPython help 1 What is serialization when we are talking abo.pdf
Python help 1 What is serialization when we are talking abo.pdf
 
Introduction to c_sharp
Introduction to c_sharpIntroduction to c_sharp
Introduction to c_sharp
 

More from Sophia Girls' College(Autonomous), Ajmer

Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
Sophia Girls' College(Autonomous), Ajmer
 
Software Testing
Software TestingSoftware Testing
Quiz on Relational Algebra
Quiz on Relational AlgebraQuiz on Relational Algebra
Quiz on Relational Algebra
Sophia Girls' College(Autonomous), Ajmer
 
Dbms quiz
Dbms quiz Dbms quiz
Software Engineering Quiz
Software Engineering QuizSoftware Engineering Quiz
Software Engineering Quiz
Sophia Girls' College(Autonomous), Ajmer
 
Software metrics
Software metricsSoftware metrics
Managment spectrum
Managment spectrumManagment spectrum
Software Process
Software ProcessSoftware Process
Artificial intelligence
Artificial intelligenceArtificial intelligence
Group signature
Group signatureGroup signature
Data Mining
Data Mining Data Mining

More from Sophia Girls' College(Autonomous), Ajmer (11)

Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Quiz on Relational Algebra
Quiz on Relational AlgebraQuiz on Relational Algebra
Quiz on Relational Algebra
 
Dbms quiz
Dbms quiz Dbms quiz
Dbms quiz
 
Software Engineering Quiz
Software Engineering QuizSoftware Engineering Quiz
Software Engineering Quiz
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
Managment spectrum
Managment spectrumManagment spectrum
Managment spectrum
 
Software Process
Software ProcessSoftware Process
Software Process
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Group signature
Group signatureGroup signature
Group signature
 
Data Mining
Data Mining Data Mining
Data Mining
 

Recently uploaded

NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Vivekanand Anglo Vedic Academy
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 

Recently uploaded (20)

NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 

Quiz on XML

  • 1. XML Technology By – Ravina Jeswani Quiz - 1
  • 2. 1. What does XML stand for? A. eXtra Modern Link B. eXtensible Markup Language C. Example Markup Language D. X-Markup Language 2. What is the correct syntax of the declaration which defines the XML version?: A. <xml version=“1.0" /> B. <?xml version=“1.0"?> C. <?xml version=“1.0" /> D. None of the above 3. Which statement is true? A. All the statements are true B. All XML elements must have a closing tag C. All XML elements must be lower case D. All XML documents must have a DTD 4. Is it easier to process XML than HTML? A. Yes B. No C. Sometimes D. Cant say 5. Which of the following programs support XML or XML applications?: A. Internet Explorer 5.5 B. Netscape 0.7 C. RealPlayer. D. both A and B
  • 3. 6. Kind of Parsers are A. well-formed B. well-documented C. non-validating and validating D. none of the above 7. Well formed XML document means A. it contains a root element B. it contain an element C. it contains one or more elements D. must contain one or more elements and root element must contain all other elements 8. Comment in XML document is given by A. <?-- --> B. <!-- --!> C. <!-- --> D. </-- -- > 9. When processing an output XML, "new line" symbols A. are copied into output "as is", i.e. "CR+LF" for Windows, CR for Macintosh, LF for Unix. B. are converted to single LF symbol C. are converted to single CR symbol D. are discarded 10. Which of the following strings are a correct XML name? A. _myElement B. my Element C. #myElement D. None of the above
  • 4. 11. Which of the following strings are a correct XML name? A. xmlExtension B. xslNewElement C. XMLElement#123 D. All 12. Which of the following XML fragments are well-formed? A. <?xml?> B. <?xml version=“1.0"?> C. <?xml encoding="JIS"?> D. <?xml encoding="JIS" version="A.0"?> 13. What are the predefined attributes A. xml:lang B. xml:space C. both D. none. 14. Kind of Parsers are A. well-formed B. validating C. non-validating D. Both B & C 15. Valid XML document means (most appropriate) A. the document has root element B. the document contains atleast one or more root element C. the XML document has DTD associated with it & it complies with that DTD D. Each element must nest inside any enclosing element property
  • 5. 16. XML uses the features of A. HTML B. XHTML C. VML D. SGML 17. XML document can be viewed in A. Browser B. social media C. mail D. media 18. There is a way of describing XML data, how? A. XML uses a DTD to describe the data B. XML uses XSL to describe data C. XML uses a description node to describe data D. Both A and C 19. What does DTD stand for? A. Direct Type Definition B. Document Type Definition C. Do The Dance D. Dynamic Type Definition 20. DTD includes the specifications about the markup that can be used within the document, the specifications consists of all EXCEPT A. the browser name B. the size of element name C. entity declarations D. element declarations
  • 6. 21. Which of the following XML documents are well-formed? A. <firstElement>some text goes here <secondElement>another text goes here</secondElement> </firstElement> B. <firstElement>some text goes here</firstElement> <secondElement> another text goes here</secondElement> C. <firstElement>some text goes here <secondElement> another text goes here</firstElement> </secondElement> D. </firstElement>some text goes here </secondElement>another text goes here <firstElement> 22. Which of the following XML fragments are well-formed? A. <myElement myAttribute="someValue"/> B. <myElement myAttribute=someValue/> C. <myElement myAttribute=’someValue’> D. <myElement myAttribute="someValue’/> 23. How can we make attributes have multiple values: A. <myElement myAttribute="value1 value2"/> B. <myElement myAttribute="value1" myAttribute="value2"/> C. <myElement myAttribute="value1, value2"/> D. attributes cannot have multiple values 24. Which of the following XML fragments are well-formed? A. <myElement myAttribute="value1 <= value2"/> B. <myElement myAttribute="value1 & value2"/> C. <myElement myAttribute="value1 > value2"/> D. None of the above 25. The use of a DTD in XML development is: A. required when validating XML documents B. no longer necessary after the XML editor has been customized C. used to direct conversion using an XSLT processor D. a good guide to populating a templates to be filled in when generating an XML document automatically
  • 7. 26. Parameter entities can appear in A. xml file B. dtd file C. xsl file D. Both 1 and 2 27. Attribute standalone="no" should be included in XML declaration if a document: A. is linked to an external XSL stylesheet B. has external general references C. has processing instructions D. has an external DTD 28. In XML A. the internal DTD subset is read before the external DTD B. the external DTD subset is read before the internal DTD C. there is no external type of DTD D. there is no internal type of DTD 29. Disadvantages of DTD are (i)DTDs are not extensible (ii)DTDs are not in to support for namespaces (iii)there is no provision for inheritance from one DTDs to another A. (i) is correct B. (i),(ii) are correct C. (ii),(iii) are correct D. (i),(ii),(iii) are correct 30. To use the external DTD we have the syntax A. <?xml version=”A.0” standalone=”no”?> <! DOCTYPE DOCUMENT SYSTEM “order.dtd”?> B. <?xml version=”A.0” standalone=”yes”?> <! DOCTYPE DOCUMENT SYSTEM “order.dtd”?> (3 )<?xml version=”A.0” standalone=”no”?> <! DOCTYPE DOCUMENT “order.dtd”?> D. <?xml version=”A.0” standalone=”yes”?> <! DOCTYPE DOCUMENT SYSTEM “order.dtd”?>
  • 8. 31. To add the attribute named Type to the <customer> tag the syntax will be A. <customer attribute Type=”exelent”> B. <customer Type attribute =”exelent”> C. <customer Type attribute_type=”exelent”> D. <customer Type=” exelent” > 32. The syntax for parameter entity is A. <! ENTITY % NAME DEFINITION> B. < ENTITY % NAME DEFINITION> C. <! ENTITY $ NAME DEFINITION> D. < ENTITY % NAME DEFINITION> 33. You can name the schema using the name attribute like A. <schema attribute=”schema1”> B. <schema nameattribute=”schema1”> C. <schema nameattri=”schema1”> D. <schema name=”schema1”> 34. The default model for complex type, in XML schemas for element is A. textOnly B. elementOnly C. no default type D. both 1 & 2 35. Microsoft XML Schema Data types for Hexadecimal digits representing octets A. UID B. UXID C. UUID D. XXID
  • 9. 36. A schema describes (i) grammar (ii) vocabulary (iii) structure (iv) datatype of XML document A. (i) & (ii) are correct B. (i),(iii) ,(iv) are correct C. (i),(ii),(iv) are correct D. (i),(ii),(iii),(iv) are correct 37. Microsoft XML Schema Data Type “ Boolean” has values A. True ,False B. True ,False or 1,0 C. 1,0 D. any number other then zero and zero 38. Simple type Built into Schema “ data’ represent a data in A. MM-DD-YY B. Dd-MM-YY C. YY-MM-DD D. YYYY-MM-DD 39. In simple Type Built into XML schema Boolean type holds A. True, False B. 1,0 C. both A. & B. D. True/False and any number except 0 40. In simple type built into XML schema type flat has single precision of ________ floating point A. 16 bit B. 32 bit C. 8 bit D. 4 bit
  • 10. 41. The XML DOM object is A. Entity B. Entity Reference C. Comment Reference D. Comment Data 42. Attribute of the document interface in DOM is/are (i)doctype (ii)implementation (iii)documentElement which are read only attributes A. (i) only B. (ii) only C. (ii),(iii) only D. all 43. The default model for complex type, in XML schemas for element is A. textOnly B. elementOnly C. no default type D. both a & b 44. To create a choice in XML schemas, we use the A. <xsd:select> element B. <xsd:multi> element C. <xsd:choise> element D. <xsd:single> element 45. The XML DOM object is A. Entity B. Entity Reference C. Comment Reference D. Comment Data
  • 11. 46. To create a data island we use the _____________HTML element A. <XML> B. <dataisland> C. <Island> D. <XMLIsland> 47. To Bind the HTML elements with DSO we use _________ attribute A. DATASOURCE B. DATAFIELD C. DATASRC D. DATAFLD 48. To bind the HTML element <INPUT> Type in text with the datasource “ dsoCustomer” we use A. <INPUT TYPE=”TEXT” DATAFIELD=”#dsoCustomer”> B. <INPUT TYPE=”TEXT” DATASRC=” dsoCustomer”> C. <INPUT TYPE=”TEXT” DATASRC=” #dsoCustomer” > D. <INPUT TYPE=”TEXT” DATAFLD=” #dsoCustomer”> 49. XML DSOs has the property for the number of pages of data the recordset contains A. count B. number C. pageCount D. pageNumber 50. What is so great about XML? A. Easy data exchange B. High speed on network C. Only B is correct D. Both A. & B.