Professional Documents
Culture Documents
CS202 Quiz#4 24july23 FINALS by MISS MEHWISH
CS202 Quiz#4 24july23 FINALS by MISS MEHWISH
CS202 Quiz#4 24july23 FINALS by MISS MEHWISH
and Finals
Cross Check your answers before submitting directly from the file. We are not
responsible for 100% correction as human error exists
1. Which of the following is the default character encoding for XML documents?
Options:
a) UTF-8
b) UTF-8
c) UTF-8
Correct option: a) UTF-8
4. __________ methods are used to draw a straight line on the HTML canvas.
Options:
a) moveTo() and lineTo()
b) drawTo() and moveTo()
c) drawTo() and lineTo()
d) drawTo() and Stroke()
Correct option: a) moveTo() and lineTo()
6. While converting HTML 4 elements to HTML 5 semantic elements, <div id="menu"> will be
converted into:
Options:
a) <section>
b) <article>
c) <header>
d) <nav>
Correct option: d) <nav>
8. While converting HTML 4 elements to HTML 5 semantic elements, <div class="post"> will be
converted into:
Options:
a) <nav>
b) <header>
c) <article>
d) <section>
Correct option: c) <article>
10. XML is used as a format for document storage and processing, ____________.
Options:
a) None of the given options
b) offline
c) online
d) both online and offline
Correct option: d) both online and offline