CS311 Final Term Solved Quiz 4 Spring 2025 by Introvert
- Type
- Final term past paper
- Course
- CS311 Introduction to Web Services Development
- Size
- PDF 416 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from page 2 of 3. Download the file for all 3 pages.
Cs311 quiz 4 solved by introvert
Q1. Why we used setAttribute() method?
Correct answer: To change an attribute value
Q2. If the attribute already exists, the setAttribute() method will _______ the existing value.
Correct answer: Overwrite
Q3. Which of the following is much more memory intensive?
Correct answer: DOM
Q4. Which of the following method is used to create copy of a specified node?
Correct answer: cloneNode()
Q5. Which of the following is used to get the value of an attribute?
Correct answer: getAttribute()
Q6. Which of the following methods return attribute node?
Correct answer: getAttributeNode()
Q7. When a node is removed, ___________________________.
Correct answer: all its child nodes are also removed.
Q8. Which method does SAX use for processing XML documents?
Correct answer: Event Based
Q9. Which of the following nodes can be created by using create CDATASection() method?
Correct answer: CDATA section node
Related CS311 files
All CS311 files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.