
XPath Quiz Final
Authored by Kevin Albania
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is XPath?
A programming language used for styling XML documents
A query language used to select nodes from an XML document
A markup language used for defining custom tags in HTML
A protocol for transferring XML data over a network
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does XPath use to select nodes or node-sets in an XML document?
CSS selectors
Path expressions
SQL queries
HTML tags
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which XPath expression is used to select all elements in an XML document?
//*
/root/*
//element()
/*/*
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which XPath expression selects all <book> elements where the <price> is greater than 25?
//book[price > 25]
//book[@price > 25]
//book[price=25]
//book/price > 25
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which XPath expression selects a <book> element with an id attribute equal to "b1"?
//book[id="b1"]
//book[@id="b1"]
//book/#id="b1"
//book[id=='b1']
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which XPath expression selects the <author> of the <book> with the <title> "Mastering XML"?
//author[title="Mastering XML"]
//book/title="Mastering XML"/author
//book[title="Mastering XML"]/author
//book[@title="Mastering XML"]/author
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which XPath expression selects the title of the first <book> element?
//book[1]/title
//title[1]/book
/book[1]/title
//book/title[1]
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Computer Software
Quiz
•
University
18 questions
Python If Statements
Quiz
•
University
20 questions
Web Development and Programming
Quiz
•
University
21 questions
Hiểu biết CNTT cơ bản (1-21)
Quiz
•
University
18 questions
Linked List
Quiz
•
KG - University
20 questions
data structures1
Quiz
•
University
20 questions
Aplikasi Pengolah Angka
Quiz
•
12th Grade - University
20 questions
Basic Python
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University