You are on page 1of 3

‫‪Network Programming – Assignment #1‬‬

‫______________ ‪Student’s Name:‬‬

‫____________ ‪Student’s Number:‬‬

‫‪Question‬‬ ‫‪Required time‬‬


‫‪Question‬‬ ‫‪Points‬‬ ‫‪Outcomes‬‬
‫‪Grade‬‬ ‫‪minutes‬‬
‫‪Q1‬‬
‫‪Q2‬‬

‫‪Student‬‬
‫‪10‬‬
‫‪Grade‬‬

‫‪:‬تعليمات مهمة‬
‫ارجو اضافة اإلجابات على هذه الملف مع المحافظة على نفس الترتيب‪ ،‬وارساله بنفس االمتداد‪.‬‬ ‫‪.1‬‬
‫في حالة وجود كود برمجي‪ ،‬يجب ان تحتوي اجابة كل سؤال على الكود البرمجي ( نص) لكل برنامج‪.‬‬ ‫‪.2‬‬
‫احرص عزيزي الطالب على تسليم حلولك الخاصة وعدم مشاركة اجاباتك مع اي طالب اخر لتجنب خسارة‬ ‫‪.3‬‬
‫العالمات‪.‬‬
‫التزم بكل التعليمات السابقة‪ ،‬إلنها ستكون ضمن معايير التقييم‪.‬‬ ‫‪.4‬‬
Question #1: (5 Points)

a) Based on “Basic Web Concepts” chapter, what are the comprising parts of the following link: (---/5 Mk)

hhttps://www.cs.huji.ac.il:8080/~dbi/main.html#notes

c) Rewrite the link above, such that it includes two query strings, namely lang and btnG, where the lang has the
value of eng, whereas the btnG has the value of ptuk? (---/5 Mk)

Question #2: ___ (5 Points)


Given the following XML-Schema, your task is to provide an example of a valid XML
document (---/10 Mk)

<xs:element name="note">

<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>

</xs:element>
A "Valid" XML document:

Good Luck 😊

You might also like