Navigation

    Cyberian
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Pro Blog
    • Users
    • Groups
    • Unsolved
    • Solved
    Quiz 100% Result
    • CS311 GDB 1 Solution and Discussion

      zaasmi

      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

      cyberian

      Re: CS311 Assignment 2 Solution and Discussion

      CS311 - Introduction to Web Services Development
    • CS311 Assignment 1 Solution and Discussion

      zaasmi

      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 [email protected]

      Question: Create an internal DTD and XML Document for the XML tree drawn below.

      DTD (10 marks)

      XML Document (10 marks)

      80262513-702d-4c45-a8c5-234864f0edd6-image.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

      zareen

      CS311 GDB 1 Solution and Discussion

      CS311 - Introduction to Web Services Development
    • CS311 Assignment 3 Solution and Discussion

      zareen

      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 [email protected]

      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>

      CS311 - Introduction to Web Services Development
    • CS311-3-FALL19-Solution-File

      Nabeel Ahmed

      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

      zareen

      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 [email protected]

      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

      zareen

      Assignment No. 1
      Semester: FALL 2019
      Introduction to Web Services Development – CS311
      Total Marks: 20

      Due Date: 15/11/2019
      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

      Q. Create an internal DTD and XML Document for the XML tree drawn below.
      DTD (10 marks)
      XML Document (10 marks)

      5dbd967d-174e-4af4-af41-e689f47a368b-image.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: 15/11/2019

      BEST OF LUCK

      CS311 - Introduction to Web Services Development
    • CS311 Quiz 2 Solution and Discussion

      zaasmi

      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

    SOLVED CS311 Assignment 2 Solution and Discussion

    CS311 - Introduction to Web Services Development
    assignment 2 cs311 discussion fall 2019 solution
    1
    2
    35
    Loading More Posts
    • 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.
    • zareen
      zareen Cyberian's Gold last edited by

      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 [email protected]

      Consider the well-formed XML given below. You are required to:

      1. Write XML Schema (.xsd) code for the given XML
      2. 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.

      1 Reply Last reply Reply Quote 0
      • zareen
        zareen Cyberian's Gold last edited by

        Solution Ideas:

        1. Write XML Schema (.xsd) code for the given XML

        Answer

        XSD Code
        <?xml version="1.0" encoding="utf-8"?>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
          <xs:element name="BookStore">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="Book" maxOccurs="unbounded">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="Title" type="xs:string"/>
                      <xs:element name="Course" type="xs:string"/>
                      <xs:element name="Year" type="xs:unsignedShort"/>
                      <xs:element name="Publisher" type="xs:string"/>
                      <xs:element name="Author" type="xs:string"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:schema>
        
        1. Generate the following XML on a server as output using PHP
          Answer
          PHP CODE
        <?php
        header("Content-type: text/xml");
        echo"<BookStore>";
        echo"<Book>";
        echo"<Title>Introduction to Computing</Title>";
        echo"<Course>CS101</Course>";
        echo"<Year>2016</Year>";
        echo"<Publisher>Virtual University of Pakistan </Publisher>";
        echo"<Author>Dr Tanveer Ahmad</Author>";
        echo"</Book>";
        echo"<Book>";
        echo"<Title>Object Oriented Programming</Title>";
        echo"<Course>CS304</Course>";
        echo"<Year>2017</Year>";
        echo"<Publisher>Virtual University of Pakistan</Publisher>";
        echo"<Author>Dr Shafeeq</Author>";
        echo"</Book>";
        echo"</BookStore>";
        ?>
        

        PHP OUTPUT

        1 Reply Last reply Reply Quote 0
        • zareen
          zareen Cyberian's Gold last edited by

          Solution Ideas:

          1. Write XML Schema (.xsd) code for the given XML

          Answer

          XSD Code
          <?xml version="1.0" encoding="utf-8"?>
          <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:element name="BookStore">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Book" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="Title" type="xs:string"/>
                        <xs:element name="Course" type="xs:string"/>
                        <xs:element name="Year" type="xs:unsignedShort"/>
                        <xs:element name="Publisher" type="xs:string"/>
                        <xs:element name="Author" type="xs:string"/>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:schema>
          
          1. Generate the following XML on a server as output using PHP
            Answer
            PHP CODE
          <?php
          header("Content-type: text/xml");
          echo"<BookStore>";
          echo"<Book>";
          echo"<Title>Introduction to Computing</Title>";
          echo"<Course>CS101</Course>";
          echo"<Year>2016</Year>";
          echo"<Publisher>Virtual University of Pakistan </Publisher>";
          echo"<Author>Dr Tanveer Ahmad</Author>";
          echo"</Book>";
          echo"<Book>";
          echo"<Title>Object Oriented Programming</Title>";
          echo"<Course>CS304</Course>";
          echo"<Year>2017</Year>";
          echo"<Publisher>Virtual University of Pakistan</Publisher>";
          echo"<Author>Dr Shafeeq</Author>";
          echo"</Book>";
          echo"</BookStore>";
          ?>
          

          PHP OUTPUT

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          50% Off on Your FEE Join US!

          Quiz 100% Result If you want to know how you can join us and get 50% Discout on your FEE ask Cyberian in Chat Room! Quiz 100% Result Quiz 100% Result
          solution1241 discussion1193 fall 2019813 assignment 1425 assignment 2295 spring 2020265 gdb 1246 assignment 382 crw10174 spring 201955
          | |
          Copyright © 2021 Cyberian Inc. Pakistan | Contributors
          Live Chat