Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Pro Blog
  • Users
  • Groups
  • Unsolved
  • Solved
Collapse
Secnto AI
  1. Secnto AI
  2. Categories
  3. Virtual University
  4. CS311 - Introduction to Web Services Development
  5. CS311 Quiz 2 Solution and Discussion
CS311 GDB 1 Solution and Discussion
zaasmiZ
Re: CS311 GDB 1 Solution and Discussion CS311 GDB – 2020-2021 Total Marks 5 Starting Date Monday, February 15, 2021 Closing Date Monday, February 22, 2021 Status Open Question Title GDB Question Description Due to the current COVID-19 Pandemic NCOC (National Command and Operation Center) decides to develop a single national level digital platform where all the information regarding COVID Pandemic will be available nationwide. The aim of this digital platform is to provide authentic and verified information at national level. Suppose you are working in a firm and NCOC takes the services of that firm for the creation of this digital platform. You are assigned the task to develop a web service for this web application. NCOC wants that the web service should be platform independent and should be able to entertain all the HTTP requests. You are given the choice to develop this web service using any one of the following technologies. · Java Servlets · CGI (Common Gateway Interface) Which technology you will consider for the creatin of this web service for NCOC digital platform and why? Support your answers with some solid reason.
CS311 - Introduction to Web Services Development
CS311 Assignment 2 Solution and Discussion SPRING 2020
cyberianC
Re: CS311 Assignment 2 Solution and Discussion
CS311 - Introduction to Web Services Development
CS311 Assignment 1 Solution and Discussion
zaasmiZ
Re: CS311 Assignment 1 Solution and Discussion Assignment No. 1 Semester: Spring 2020 Introduction to Web Services Development – CS311 Total Marks: 20 Due Date: 5th June 2020 Lectures Covered: 1 to 9 Objectives: Understand and get hands on experience of • Creating well-formed XML code • Using XML elements • Using XML attributes • Validate XML code or Create DTD code of XML Instructions: Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The assignment is submitted via email.  The assignment is copied from Internet or from any other student.  The submitted assignment does not open or file is corrupt.  It is in some format other than MS Word File Note: All types of plagiarism are strictly prohibited. For any query about the assignment, contact at CS311@vu.edu.pk Question: Create an internal DTD and XML Document for the XML tree drawn below. DTD (10 marks) XML Document (10 marks) [image: y5cczcb.png] Assignment Uploading Instructions: You need to write DTD code of given XML tree. After testing that DTD code is working fine, Copy/Paste it into MS Word file and upload from your LMS account. Please note that due date of assignment will not extend, so do not wait for last date and submit your solution as quickly as possible. Due Date: 5th June 2020 BEST OF LUCK
CS311 - Introduction to Web Services Development
CS311 GDB 1 Solution and Discussion
zareenZ
CS311 GDB 1 Solution and Discussion
CS311 - Introduction to Web Services Development
CS311 Assignment 3 Solution and Discussion
zareenZ
Assignment No. 03 Semester: Fall 2019 Introduction to Web Services Development – CS311 Total Marks: 20 Due Date: 20-01-2020 Lectures Covered: 16-28 Objectives: Understand and get hands on experience on • XML Parser • XMLHttpRequest • XML DOM • XML Dom Nodes • getElementsByTagName Method • ChildNodes Property • Displaying XML data in HTML file Instructions: Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The assignment is submitted via email.  The assignment is copied from Internet or from any other student.  The submitted assignment does not open or file is corrupt.  It is in some format other than .html (HTML File). Note: All types of plagiarism are strictly prohibited. For any query about the assignment, contact at CS311@vu.edu.pk Carefully analyze the file “books_data.xml” (which is attached with the assignment file). Information of different books is given in this xml file which includes book name, book price, book author etc. Create an HTML file to display the “names” of books by parsing the response of “books_data.xml” in that HTML file with JavaScript using XMLHttpRequest Object. Sample Output: You can see sample output in “Sample Output.mp4” video attached with this assignment file. Assignment Uploading Instructions:  To make and test your code, you need to download Xampp Server from following link. https://www.apachefriends.org/index.html  After the installation of Xampp , you need to save your html file and “books_data.xml” file in the path given below C:\xampp\htdocs  To run your file type the address http://localhost/your_assignment_file.html  Upload your assignment solution in .html file format on VULMS Please note that due date of assignment will not extend, so do not wait for last date and submit your solution as quickly as possible. Due Date: 20/01/2020 BEST OF LUCK <?xml version="1.0" encoding="UTF-8"?> <BOOKS_LIST> <book> <name>History of Pakistan</name> <price>150</price> <author>Abc</author> </book> <book> <name>French Revolution</name> <price>300</price> <author>XYZ</author> </book> <book> <name>Biographies</name> <price>250</price> <author>WSD</author> </book> <book> <name>Gulf Countries</name> <price>150</price> <author>ASD</author> </book> <book> <name>Haunted Stories</name> <price>150</price> <author>Abc</author> </book> </BOOKS_LIST> https://youtu.be/b-yRDLwJiRc
CS311 - Introduction to Web Services Development
CS311-3-FALL19-Solution-File
Nabeel AhmedN
Re: CS311 Assignment 3 Solution and Discussion CS311-3-Solution bc0000000_CS311_S3.html <!DOCTYPE html> <html> <body> <h1>My Books Collection:</h1> <button type="button" style="font-size:14px; " onclick="if (!window.__cfRLUnblockHandlers) return false; loadXMLDoc()" data-cf-modified-18337bf230a59fc34ce33f82-=""> Display My Books </button> <br> <table id="demo"></table> <script type="18337bf230a59fc34ce33f82-text/javascript"> function loadXMLDoc() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (xhttp.readyState == 4 && xhttp.status == 200) { myFunction(xhttp); } }; xhttp.open("GET", "books_data.xml", true); xhttp.send(); } function myFunction(xml) { var i; var xmlDoc = xml.responseXML; var table="<br> "; var a = xmlDoc.getElementsByTagName("book"); for (i = 0; i <a.length; i++) { <!--getElementsByTagName method and childNodes property--> table +="<tr><td>"+a[i].getElementsByTagName("name")[0].childNodes[0].nodeValue+"</td></tr>"; } document.getElementById("demo").innerHTML = table; } </script> <script src="https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js" data-cf-settings="18337bf230a59fc34ce33f82-|49" defer=""></script></body> </html>
CS311 - Introduction to Web Services Development
CS311 Assignment 2 Solution and Discussion
zareenZ
Assignment No. 02 Semester: Fall 2019 Introduction to Web Services Development – CS311 Total Marks: 20 Due Date: 4/12/2019 Objectives: Understand and get hands on experience of • XML schema • Generating XML schema (XSD) of a given XML • Generate XML using PHP Instructions: Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:  The assignment is submitted after due date.  The assignment is submitted via email.  The assignment is copied from Internet or from any other student.  The submitted assignment does not open or file is corrupt.  It is in some format other than .doc/.docx. Note: All types of plagiarism are strictly prohibited. For any query about the assignment, contact at CS311@vu.edu.pk Consider the well-formed XML given below. You are required to: Write XML Schema (.xsd) code for the given XML Generate the following XML on a server as output using PHP <?xml version="1.0"?> <BookStore> <Book> <Title>Introduction to Computing</Title> <Course>CS101</Course> <Year>2016</Year> <Publisher>Virtual University of Pakistan</Publisher> <Author>Dr Tanveer Ahmad</Author> </Book> <Book> <Title>Object Oriented Programming</Title> <Course>CS304</Course> <Year>2017</Year> <Publisher>Virtual University of Pakistan</Publisher> <Author>Dr Shafeeq</Author> </Book> </BookStore> Assignment Uploading Instructions: • You need to upload your assignment in .doc/.docx file format. • Copy your code for both the questions and paste it in word file(.doc/.docx) and then upload your assignment Please note that due date of assignment will not extend, so do not wait for last date and submit your solution as quickly as possible.
CS311 - Introduction to Web Services Development
CS311 Assignment 1 Solution and Discussion
zareenZ
Topic thumbnail image
CS311 - Introduction to Web Services Development
CS311 Quiz 2 Solution and Discussion
zaasmiZ
Quiz # 2 Total Questions : 10 Please read the following instructions carefully! Quiz will be based upon Multiple Choice Questions (MCQs). You have to attempt the quiz online. You can start attempting the quiz any time within given date(s) of a particular subject by clicking the link for Quiz in VULMS. Each question has a fixed time of 90 seconds. So you have to save your answer before 90 seconds. But due to unstable internet speeds, it is recommended that you should save your answer within 60 seconds. While attempting a question, keep an eye on the remaining time. Attempting quiz is unidirectional. Once you move forward to the next question, you can not go back to the previous one. Therefore before moving to the next question, make sure that you have selected the best option. DO NOT press Back Button / Backspace Button while attempting a question, otherwise you will lose that question. DO NOT refresh the page unnecessarily, specially when following messages appear Saving… Question Timeout: Now loading next question… Javascript MUST be enabled in your browser; otherwise you will not be able to attempt the quiz. If for any reason, you lose access to internet (like power failure or disconnection of internet), you will be able to attempt the quiz again from the question next to the last shown question. But remember that you have to complete the quiz before expiry of the deadline. If any student failed to attempt the quiz in given time then no re-take or offline quiz will be held. Start Quiz
CS311 - Introduction to Web Services Development

CS311 Quiz 2 Solution and Discussion

Scheduled Pinned Locked Moved Unsolved CS311 - Introduction to Web Services Development
cs311quiz 2solutiondiscussionspring 2019
14 Posts 2 Posters 6.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • zaasmiZ Online
    zaasmiZ Online
    zaasmi
    Cyberian's Gold
    wrote on last edited by
    #1

    Quiz # 2 Total Questions : 10
    Please read the following instructions carefully!
    Quiz will be based upon Multiple Choice Questions (MCQs).

    You have to attempt the quiz online. You can start attempting the quiz any time within given date(s) of a particular subject by clicking the link for Quiz in VULMS.

    Each question has a fixed time of 90 seconds. So you have to save your answer before 90 seconds. But due to unstable internet speeds, it is recommended that you should save your answer within 60 seconds. While attempting a question, keep an eye on the remaining time.

    Attempting quiz is unidirectional. Once you move forward to the next question, you can not go back to the previous one. Therefore before moving to the next question, make sure that you have selected the best option.

    DO NOT press Back Button / Backspace Button while attempting a question, otherwise you will lose that question.

    DO NOT refresh the page unnecessarily, specially when following messages appear
    Saving…
    Question Timeout: Now loading next question…

    Javascript MUST be enabled in your browser; otherwise you will not be able to attempt the quiz.

    If for any reason, you lose access to internet (like power failure or disconnection of internet), you will be able to attempt the quiz again from the question next to the last shown question. But remember that you have to complete the quiz before expiry of the deadline.

    If any student failed to attempt the quiz in given time then no re-take or offline quiz will be held.

    Start Quiz

    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
    [NOTE: Don't copy or replicating idea solutions.]
    VU Handouts
    Quiz Copy Solution
    Mid and Final Past Papers
    Live Chat

    1 Reply Last reply
    0
    • zaasmiZ Online
      zaasmiZ Online
      zaasmi
      Cyberian's Gold
      wrote on last edited by
      #2

      In XML, some characters have a special meaning those are called ______.

      7cd5ce80-0c56-4700-bc5c-43cf97d9cada-image.png

      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
      [NOTE: Don't copy or replicating idea solutions.]
      VU Handouts
      Quiz Copy Solution
      Mid and Final Past Papers
      Live Chat

      1 Reply Last reply
      0
      • zaasmiZ Online
        zaasmiZ Online
        zaasmi
        Cyberian's Gold
        wrote on last edited by
        #3

        A servlet life cycle can be defined as the entire process from its creation till the ___________.

        077d5af4-d7bd-4338-8d9d-07dd2de6996b-image.png

        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
        [NOTE: Don't copy or replicating idea solutions.]
        VU Handouts
        Quiz Copy Solution
        Mid and Final Past Papers
        Live Chat

        1 Reply Last reply
        0
        • zaasmiZ Online
          zaasmiZ Online
          zaasmi
          Cyberian's Gold
          wrote on last edited by
          #4

          A servlet life cycle can be defined as the entire process from its creation till the ___________.

          • destruction

          15df0dd1-fc49-4d1d-880c-0d9928b29946-image.png

          Discussion is right way to get Solution of the every assignment, Quiz and GDB.
          We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
          Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
          [NOTE: Don't copy or replicating idea solutions.]
          VU Handouts
          Quiz Copy Solution
          Mid and Final Past Papers
          Live Chat

          1 Reply Last reply
          0
          • zaasmiZ Online
            zaasmiZ Online
            zaasmi
            Cyberian's Gold
            wrote on last edited by
            #5

            Which of the following is true about JDOM Parser?

            • Java JDOM Parser - Overview. JDOM is an open source, Java-based library to parse XML documents. It is typically a Java developer friendly API. It is Java optimized and it uses Java collections like List and Arrays.

            e82644fc-0c6b-47a1-a99f-0761781fb7d3-image.png

            Discussion is right way to get Solution of the every assignment, Quiz and GDB.
            We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
            Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
            [NOTE: Don't copy or replicating idea solutions.]
            VU Handouts
            Quiz Copy Solution
            Mid and Final Past Papers
            Live Chat

            1 Reply Last reply
            0
            • zaasmiZ Online
              zaasmiZ Online
              zaasmi
              Cyberian's Gold
              wrote on last edited by
              #6

              For all XML documents, which of the following is true? CS311

              All XML elements must have a closing tag.
              All XML documents must have a DTD or an XML schema.
              All XML elements must be lowercase.
              All of the statements are true.

              5abcd5ba-ffdd-48a7-a326-d72f0c95bd19-image.png

              Discussion is right way to get Solution of the every assignment, Quiz and GDB.
              We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
              Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
              [NOTE: Don't copy or replicating idea solutions.]
              VU Handouts
              Quiz Copy Solution
              Mid and Final Past Papers
              Live Chat

              1 Reply Last reply
              0
              • zaasmiZ Online
                zaasmiZ Online
                zaasmi
                Cyberian's Gold
                wrote on last edited by
                #7

                XML often contains new line, or _______ space characters, between nodes.

                XML often contains new line, or white space characters, between nodes.

                7548919d-069b-4033-8eed-c9298306ce95-image.png

                Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                [NOTE: Don't copy or replicating idea solutions.]
                VU Handouts
                Quiz Copy Solution
                Mid and Final Past Papers
                Live Chat

                1 Reply Last reply
                0
                • zaasmiZ Online
                  zaasmiZ Online
                  zaasmi
                  Cyberian's Gold
                  wrote on last edited by
                  #8

                  XML files can be stored on an Internet server exactly the same way as ________ files. CS311

                  XML files can be stored on an Internet server exactly the same way as HTML

                  f0b7afa3-ed92-496f-9d83-19783bb47f6c-image.png

                  Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                  We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                  Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                  [NOTE: Don't copy or replicating idea solutions.]
                  VU Handouts
                  Quiz Copy Solution
                  Mid and Final Past Papers
                  Live Chat

                  1 Reply Last reply
                  0
                  • zaasmiZ Online
                    zaasmiZ Online
                    zaasmi
                    Cyberian's Gold
                    wrote on last edited by
                    #9

                    Which of the following is the correct syntax to define the XML version? CS311

                    Syntax Rules for XML declaration
                     The XML declaration is case sensitive and must begin with “<?xml>” where “xml” is written
                    in lower-case.
                     If document contains XML declaration, then it strictly needs to be the first statement of the
                    XML document.
                     The XML declaration strictly needs be the first statement in the XML document.
                     An HTTP protocol can override the value of encoding that you put in the XML declaration.

                    da450076-54c4-48bd-a525-23cbf1e7690f-image.png

                    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                    [NOTE: Don't copy or replicating idea solutions.]
                    VU Handouts
                    Quiz Copy Solution
                    Mid and Final Past Papers
                    Live Chat

                    1 Reply Last reply
                    0
                    • zaasmiZ Online
                      zaasmiZ Online
                      zaasmi
                      Cyberian's Gold
                      wrote on last edited by
                      #10

                      Node object can have ________________. CS311

                      • Node object can have only one parent node object. This occupies the position above all the
                        nodes. Here it is Company. (Page 204)

                      ec84a1ab-e07f-44b4-821b-b36997d3b75b-image.png

                      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                      [NOTE: Don't copy or replicating idea solutions.]
                      VU Handouts
                      Quiz Copy Solution
                      Mid and Final Past Papers
                      Live Chat

                      1 Reply Last reply
                      0
                      • zaasmiZ Online
                        zaasmiZ Online
                        zaasmi
                        Cyberian's Gold
                        wrote on last edited by
                        #11

                        How many types of cookies are in servlets? CS311

                        • There are 2 types of cookies in servlets.

                        a4ec2ee0-e106-4b27-8d94-2a4bfd753ac4-image.png

                        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                        [NOTE: Don't copy or replicating idea solutions.]
                        VU Handouts
                        Quiz Copy Solution
                        Mid and Final Past Papers
                        Live Chat

                        1 Reply Last reply
                        0
                        • zaasmiZ Online
                          zaasmiZ Online
                          zaasmi
                          Cyberian's Gold
                          wrote on last edited by
                          #12

                          Which method does SAX use for processing XML documents? CS311

                          c52ed5b5-0115-42d8-8fb3-a6438a875f04-image.png

                          Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                          We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                          Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                          [NOTE: Don't copy or replicating idea solutions.]
                          VU Handouts
                          Quiz Copy Solution
                          Mid and Final Past Papers
                          Live Chat

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            moaaz
                            Cyberian's Gold
                            wrote on last edited by
                            #13
                            1. Which method does SAX use for processing XML documents?

                            a) Event Based
                            b) DocumentHandler
                            c) Document
                            d) Tree based

                            Answer : a

                            1. Which method does DOM use for processing XML documents?

                            a) Event Based
                            b) DocumentHandler
                            c) Document
                            d) Tree based

                            Answer : d

                            1. Which interfaces are part of the SAX2 API?

                            a) ContentHandler, ErrorHandler, DTDHandler, EntityResolver
                            b) DocumentHandler, ErrorHandler, DTDHandler, EntityHandler
                            c) DocumentHandler, Errorhandler, DTDHandler, SchemaHandler
                            d) DocumentHandler, Errorhandler, DTDHandler, EntityResolver

                            Answer : a

                            1. Which is the best description of the “characters()” method?

                            a) a method of DOM API to insert character data in the XML document
                            b) a method of the SAX ContentHandler interface to receive notification
                            of the presence of character data
                            c) a method of the DOM interface to replace the entity reference
                            with the character data
                            d) None of these.

                            Answer : b

                            1. An XML document to be processed is very large. The application extracts a small portion of the information from the document. Memory and speed may be constraints. Which method or methods are most appropriate for this situation?

                            a) Use SAX
                            b) Use DOM
                            c) Extract the necessary information and process using XSLT.
                            d) Use a schema-based approach.

                            Answers : a

                            1. When you construct an XML using a DOM enabled Parser, the same parser should be used to process back
                              the XML document when the process involves legacy applications, otherwise it is not necessary to do so.

                            a) Not really
                            b) Yes, whenver the process is between legacy conectivity this is better.
                            c) You can use SAX enabled parser to fill this gap.
                            d) This statement is not a correct one, because DOM is constructed using IDL.

                            Answer : d

                            1. When Processing Instructions are a part of your parsing process, DOM should be used,
                              since SAX cannot be used to detect a Processing Instruction in a document.

                            a)true
                            b)false

                            Answer : a

                            1. Consider a system which is memory & speed constraint. The application is to process XML documents,
                              sort the contents and mail them to a higher configuration machine for transformation. Which is the best approach?

                            a) Use platform native language to process the docuements
                            b) Use DOM based approach.
                            c) Using SAX based approach is the best.
                            d) DOM and SAX must be used in this context.

                            Answer : b

                            1. When receiving documents from a non-trusted agent, the best way to process the documents is:

                            a) Use SAX
                            b) Use DOM
                            c) Both can be used here.
                            d) Both can be used but validity is an issue here.

                            Answer: d

                            1. In DOM, the Document interface is the only interface that allows you to create other DOM document components.

                            a)true
                            b)false

                            Answer: a

                            1. XSLT is essentially a tool for translating what kind of documents?

                            a) XML
                            b) PDF
                            c) DOM
                            d) RTF

                            Answers: a

                            1. Use of SAX based parser is most likely to be used in which of the following scenarios?

                            a) You want to process the document in a sequential order only.
                            b) The documents is very large.
                            c) When there is no need to validate XML documents.
                            d) The parser implements only SAX based approach.

                            Answers: a, b

                            1. DOM can be used to process HTML documents.

                            a)true
                            b)false

                            Answer: a

                            1. What error types does the SAX2 ErrorHandler interface handle?

                            a) informational, warning, fatal-error
                            b) warning, error, fatal-error
                            c) warning, error
                            d) informational, warning, error, fatal-error

                            Answer: b

                            1. A DOM-based parser should be used for which of the following situations?

                            a) Need to modify the XML document directly
                            b) Performance and/or memory is an issue
                            c) Need to have random access to the components of the XML document
                            d) Only need to process the XML document sequentially

                            Answer: a, c

                            Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                            We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                            Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                            %(red)[NOTE: Don't copy or replicating idea solutions.]

                            How to Get Earning from Cyberian

                            Quiz Copy Solution
                            Mid and Final Past Papers
                            Live Chat

                            For instructions on how to use this Cyberian discussion board

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              moaaz
                              Cyberian's Gold
                              wrote on last edited by
                              #14

                              XML Quiz
                              For each question, choose the best choice out of the given choices.

                              1. What does XML stand for?
                                A. X-Markup Language
                                B. eXtra Modern Link
                                C. Example Markup Language
                                D. eXtensible Markup Language

                              2. XML’s goal is to replace HTML
                                A. True
                                B. False

                              3. What does DTD stand for?
                                A. Direct Type Definition
                                B. Document Type Definition
                                C. Document Type Declaration

                              4. Is this a correct XML document?

                              Students
                              Teacher
                              Reminder

                              We are at Software Park, Thailand A. Yes **B. No**
                              1. Which statement is true?
                                A. All XML elements must have a closing tag
                                B. All XML documents must have a DTD or an XML schema
                                C. All XML elements must be lowercase
                                D. All of the statements are true

                              2. Which statement is true?
                                A. XML tags are case sensitive
                                B. XML elements must be properly nested
                                C. XML documents must have the root element
                                D. All the statements are true

                              3. XML preserves white spaces
                                A. True
                                B. False

                              4. Is this a correct XML document?

                              Students Teacher

                              A. No
                              B. Yes

                              1. XML elements cannot be empty
                                A. True
                                B. False

                              2. Which is not a correct name for an XML element?
                                A.
                                B.


                                C. <1dollar>
                                D. All 3 names are incorrect

                              3. Which is not a correct name for an XML element?
                                A.
                                B.
                                C.
                                D. All 3 names are incorrect

                              4. Which is not a correct name for an XML element?
                                A.
                                B.
                                C.

                              5. For the XML parser to ignore a certain section of your XML document, which syntax is correct?
                                A. <xml:CDATA[ Text to be ignored]>
                                B. Text to be ignored
                                C.

                              6. XML is a subset of SGML
                                A. True
                                B. False

                              7. XML attributes must be in double quotes
                                A. True
                                B. False

                              8. XML attributes must be assigned values
                                A. True
                                B. False

                              9. The Document Type Definition must be stored in an external file
                                A. True
                                B. False

                              10. What can XML do?
                                A. The standard for automating data exchange between systems
                                B. The standard for displaying data on the Web
                                C. The standard for a cross-platform programming language

                              11. Which is false?
                                A. XML is used to describe only structured data
                                B. XML is used to only on the Internet
                                C. XML is used to represent only simple data
                                D. All of the above

                              12. Which of the following comments are not well formed?
                                A.
                                B.
                                C.
                                D.

                              13. Provided that the file x.dtd has the following contents. Which of the xml files are valid?

                              a.



                              text

                              b.


                              Element can
                              contain

                              c.

                              Sample

                              1. How can you declare in a DTD that the element x contains either the element a or the element b, but not both of them
                                a)
                                b)
                                c)
                                d) It is not possible to declare in a DTD that one element contains either the element a or the element b, but not both of them

                              2. How can you declare in a DTD that the element x contains the element a, or the element b, or both of them in the sequence a b.
                                a)
                                b)
                                c)
                                d) None of the declarations above does solve the problem.

                              3. How can you declare in a DTD that the empty element x has either the attribute a or the attribute b (or both of them). The attributes contain any value.
                                a)

                              b)

                              c)

                              d) It is not possible to make the presence of one attribute depend on another attribute

                              1. How can you in a DTD declare that the element x contains both attributes a and b and that the order of them has to be ab? The attributes can contain any value
                                a)

                              b)

                              c)

                              b CDATA #REQUIRED>

                              d) It is not possible to specify the order of attributes in a DTD. The order of attributes does not matter in XML.

                              e) It is not possible to specify the order of attributes in a DTD. The order of attributes can be specified only in an XML schema.

                              Valid names of elements and attributes start with a letter, an underscore or a colon, the following allowed characters are letters, numeric characters, colon, underscore, dot and hyphen (minus). Names which start with “xml” (in any case) are reserverd for W3C. The colon has a special meaning with namespaces and should not be used with any other semantic.

                              Discussion is right way to get Solution of the every assignment, Quiz and GDB.
                              We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
                              Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
                              %(red)[NOTE: Don't copy or replicating idea solutions.]

                              How to Get Earning from Cyberian

                              Quiz Copy Solution
                              Mid and Final Past Papers
                              Live Chat

                              For instructions on how to use this Cyberian discussion board

                              1 Reply Last reply
                              0

                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              How to Build a $1,000/Month PAK VS BAN Live Live Cricket Streaming
                              File Sharing
                              Earn with File Sharing

                              3

                              Online

                              3.0k

                              Users

                              2.8k

                              Topics

                              8.2k

                              Posts
                              solution
                              1235
                              discussion
                              1195
                              fall 2019
                              813
                              assignment 1
                              428
                              assignment 2
                              294
                              spring 2020
                              265
                              gdb 1
                              238
                              assignment 3
                              79
                              • PM. IMRAN KHAN
                                undefined
                                4
                                1
                                4.0k

                              • Are the vaccines halal or not?
                                undefined
                                4
                                1
                                3.8k

                              • All Subjects MidTerm and Final Term Solved Paper Links Attached Please check moaaz past papers
                                zaasmiZ
                                zaasmi
                                3
                                26
                                75.1k

                              • CS614 GDB Solution and Discussion
                                M
                                moaaz
                                3
                                3
                                8.1k

                              • How can I receive Reputation earning from Cyberian? 100% Discount on Fee
                                Y
                                ygytyh
                                3
                                28
                                23.9k
                              zaasmiZ
                              zaasmi
                              Farhan ZahidF
                              Farhan Zahid
                              | |
                              Copyright © 2010-26 RUP Technologies LLC. USA | Contributors
                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Pro Blog
                              • Users
                              • Groups
                              • Unsolved
                              • Solved