Professional Documents
Culture Documents
Fall 2021/22
Programming Assignment 1
Submission Deadline: October 03, 2021 before 23:59
Submission Requirements
• Please submit your results/output in a PDF file. Submit your code in a text (.txt) file.
• The name of the files must be your YorkU student number such as 100131001.pdf or 100131001.txt.
• File must be uploaded to the A01 submission link provided on the eClass. The name of submission must also
be your YorkU student number.
• If the files do not open properly or the content is not clear, then you will be awarded zero.
• The deadline is Sunday October 03, 2021 before 11:59 PM.
• This is an individual assignment
• Late submission is not permitted under any circumstances.
• Your submissions will be verified using Turnitin (or some other suitable tool) for originality. 60% or
more similarity will be awarded zero in the assignment and reported to the department. We may report
similarity less than 60% if it is of significant nature.
#2-B: An HTTP GET message was sent with “IF-MODIFIED-SINCE” entry. From the response
message, how can we identify if the content is modified since the time mentioned in the GET
Question 3: DNS
For this question, follow the instructions completely in the Lab3 (DNS) mentioned above. Now, add the
following items to your submission:
#3-A: What is your default server for nslookup and what is its IP address? To support your answer,
also add the screen shot from your computer. [2 Marks]
#3-B: Add your answers to lab3 questions 5 and 7 in the submission document. Add screenshots to
support your answer. [6 Marks]
#3-C: We want to represent the content of a DNS message in the form of a Python Dictionary where
keys are the message field names and key-values are the field values. Provide the definition of this
dictionary in your submission document. You can use the DNS message format given in the book to
answer this question. Only definition is required and you do not need to show any data in the
dictionary structure. [5 Marks]