SlideShare a Scribd company logo
1102/159.334 CP
ALB
Internal
- Page 1 of 7 -
MASSEY UNIVERSITY
ALBANY CAMPUS
EXAMINATION FOR
159.334 Computer Networks
Semester Two - 2011
Time allowed: THREE (3) hours
Attempt ALL 6 (six) questions.
All questions are of equal value.
This examination contributes 60% to the final assessment.
Calculators permitted – no restrictions.
1102/159.334 CP
ALB
Internal
- Page 2 of 7 -
Question 1:
a) Name four socket functions (C functions) used to create
client/server applications.
[4 marks]
b) Name the five layers in a typical TCP/IP computer network.
[2 marks]
c) What are the services provided by TCP?
[2 marks]
d) The source and destination port numbers are included in the
packet header. Which
layer needs to be able to read these port numbers?
[2 marks]
1102/159.334 CP
ALB
Internal
- Page 3 of 7 -
Question 2: (The Application Layer)
a) If an FTP client is in active mode, what are the two FTP
commands (protocol
commands) issued by the client when the user issues:
ftp> ls
[2 marks]
b) If an FTP client is in passive mode, what are the two FTP
commands (protocol
commands) issued by the client when the user issues:
ftp> get
[2 marks]
c) The command netstat is used by a system administrator.
Explain the difference
between LISTEN and ESTABLISHED states.
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:1234 *:* LISTEN
tcp 0 0 localhost:43000 it046500:20 ESTABLISHED
[2 marks]
d) How many simultaneous connections does HTTP needs in
order to download a single
file?
How many simultaneous connections does FTP needs in order to
download a single file?
[2 marks]
e) Briefly explain what is a DNS (Domain Name Service)
iterated query. Explain why this
method is important to keep the scalability of the DNS.
[2 marks]
1102/159.334 CP
ALB
Internal
- Page 4 of 7 -
Question 3: (The Transport Layer)
a) A distributed system uses UDP to transfer files between
nodes. You are asked to design
a simple reliable protocol to replace it. What are the essential
elements that you need to
include in such a protocol? Your solution should focus on
possible lost and damaged
packets, not performance.
[4 marks]
b) Explain the difference between Go-Back-N and Selective
Repeat. Given a choice, which
one is better for the performance of the network?
[3 marks]
c) Explain the difference between “Congestion Control” and
“Flow Control” from the view
point of a transport protocol.
[3 marks]
Question 4. (Network Layer)
a) What are the two important functions provided by the
network layer protocols?
Emphasize the importance of the difference between the two
functions.
[3 marks]
b) The network administrator checks an Ethernet card
configuration using the command
ipconfig. He extracts the values for the IP address and for the
Mask:
IP address 192.123.246.12
Mask 255.255.255.128
Write two examples of IP addresses that this machine can
access:
1) one IP address that is accessible directly (no routing) by this
machine.
2) one IP address that is only accessible via the gateway
(router).
[2 marks]
Q4 continued on next page...
1102/159.334 CP
ALB
Internal
- Page 5 of 7 -
Q4 continued...
c)
Figure 1
There are four routers connected via certain links (Figure 1).
Suppose that the following table
is used for the initialisation of D’s routing table:
D VIA
Destination
A B C
A 3 ∞ ∞
B ∞ 70 ∞
C ∞ ∞ 2
And the minimum cost is an array of 4 integers in the order A,
B, C, D:
A advertises its minimum costs as: 0, 12, 7, 3
B advertises its minimum costs as: 12, 0, ∞, 70
C advertises its minimum costs as: 7, ∞, 0, 2
Show the first update on D’s table if node D simultaneously
receives packets with the
minimum cost information from the routers A, B and D.
[3 marks]
d) There are possibly hundreds of millions of IP addresses in
the Internet. Explain why the
routing tables in TCP/IP routers do not need to contain lots of
entries, and are usually
rather small.
[2 marks]
1102/159.334 CP
ALB
Internal
- Page 6 of 7 -
Question 5. (Data-link and Physical Layers)
a) What is the purpose of CRC (Cyclic Redundancy Check)?
[2 marks]
b) Compute the CRC value for the character “1110 0001”
considering:
- the algorithm uses a standard polynomial method with 16 bits
- the generator is 0x8005
- no reverse bytes, no reverse results
Write the final result of the CRC in hexadecimal.
[3 marks]
c) Collisions are a challenging problem for data link protocols.
Explain the main differences
between data-link layer protocols for wired networks and
protocols for wireless networks.
[3 marks]
d) Explain brifly how the ARP protocol keeps a table with the
IP addresses and
correspondent MAC (hardware) addresses.
[2 marks]
1102/159.334 CP
ALB
Internal
- Page 7 of 7 -
Question 6. (Network Security)
a) MD5 is a well known method for message digests. Message
digests find a fixed-length
number (say, 128 bits) that correlates to a certain file.
Give two reasons why CRC is not a suitable method to be used
as a message digest, even
though CRC also finds a fixed-length number that correlated to
a file.
[2 marks]
b) Considering the RSA algorithm, find suitable e and d for the
following pair of prime
numbers, explaining how you chose them:
p = 5 q = 11
n = ?
z = ?
e = ? d = ?
[3 marks]
c) Discuss the difference between asymetric encryption and
symmetric encryption.
Complete the table stating advantages and disadvantages of
these two encryption methods
(copy it to the answer book).
Advantages Disadvantages
asymmetric
symmetric
[2 marks]
d) Explain briefly what is a “packet sniffing” attack. Discuss
and compare the implications
of such atacks for wired networks and wireless networks.
[3 marks]
+ + + + + + + +

More Related Content

Similar to 1102159.334 CP ALB Internal - Page 1 of 7 - .docx

Connecting network
Connecting networkConnecting network
Connecting network
imacomobio
 
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
Fiona Phillips
 
Free CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdfFree CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdf
Networkershome
 
Connecting Networks
Connecting NetworksConnecting Networks
Connecting Networks
imacomobio
 
Ccn aquestions jul_7_2015
Ccn aquestions jul_7_2015Ccn aquestions jul_7_2015
Ccn aquestions jul_7_2015
Carlos Humberto Rivera Mera
 
200-301-demo.pdf
200-301-demo.pdf200-301-demo.pdf
200-301-demo.pdf
CiscoExamDumpsarticl1
 
Cisco 200-301 Exam Dumps
Cisco 200-301 Exam DumpsCisco 200-301 Exam Dumps
Cisco 200-301 Exam Dumps
CiscoExamDumpsarticl2
 
Cisco 200-301 Exam Dumps
Cisco 200-301 Exam DumpsCisco 200-301 Exam Dumps
Cisco 200-301 Exam Dumps
CiscoExamDumpsarticl
 
computer communication networks MCQs
 computer communication networks MCQs   computer communication networks MCQs
computer communication networks MCQs
raghad mejeed
 
The Network Ip Address Scheme
The Network Ip Address SchemeThe Network Ip Address Scheme
The Network Ip Address Scheme
Erin Rivera
 
Connecting Network
Connecting NetworkConnecting Network
Connecting Network
imacomobio
 
Examination paper system maagement & operating systems
Examination paper system maagement & operating systemsExamination paper system maagement & operating systems
Examination paper system maagement & operating systems
NMIMS ASSIGNMENTS HELP
 
Examination paper system maagement operating systems
Examination paper system maagement  operating systemsExamination paper system maagement  operating systems
Examination paper system maagement operating systems
NMIMS ASSIGNMENTS HELP
 
Connecting Networks.pptx
Connecting Networks.pptxConnecting Networks.pptx
Connecting Networks.pptx
imacomobio
 
1. (TCO 6)  An address that identifies an application at the trans.docx
1. (TCO 6)  An address that identifies an application at the trans.docx1. (TCO 6)  An address that identifies an application at the trans.docx
1. (TCO 6)  An address that identifies an application at the trans.docx
dorishigh
 
CCNA Exam Question
CCNA Exam QuestionCCNA Exam Question
CCNA Exam Question
Eng. Emad Al-Atoum
 
III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014
III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014
III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014
Selva Kumar
 

Similar to 1102159.334 CP ALB Internal - Page 1 of 7 - .docx (20)

Cs 69
Cs 69Cs 69
Cs 69
 
Connecting network
Connecting networkConnecting network
Connecting network
 
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
 
Free CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdfFree CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdf
 
Connecting Networks
Connecting NetworksConnecting Networks
Connecting Networks
 
Ccn aquestions jul_7_2015
Ccn aquestions jul_7_2015Ccn aquestions jul_7_2015
Ccn aquestions jul_7_2015
 
200-301-demo.pdf
200-301-demo.pdf200-301-demo.pdf
200-301-demo.pdf
 
Cisco 200-301 Exam Dumps
Cisco 200-301 Exam DumpsCisco 200-301 Exam Dumps
Cisco 200-301 Exam Dumps
 
Cisco 200-301 Exam Dumps
Cisco 200-301 Exam DumpsCisco 200-301 Exam Dumps
Cisco 200-301 Exam Dumps
 
On tap ccent
On tap ccentOn tap ccent
On tap ccent
 
computer communication networks MCQs
 computer communication networks MCQs   computer communication networks MCQs
computer communication networks MCQs
 
The Network Ip Address Scheme
The Network Ip Address SchemeThe Network Ip Address Scheme
The Network Ip Address Scheme
 
Connecting Network
Connecting NetworkConnecting Network
Connecting Network
 
Bcs 061
Bcs 061Bcs 061
Bcs 061
 
Examination paper system maagement & operating systems
Examination paper system maagement & operating systemsExamination paper system maagement & operating systems
Examination paper system maagement & operating systems
 
Examination paper system maagement operating systems
Examination paper system maagement  operating systemsExamination paper system maagement  operating systems
Examination paper system maagement operating systems
 
Connecting Networks.pptx
Connecting Networks.pptxConnecting Networks.pptx
Connecting Networks.pptx
 
1. (TCO 6)  An address that identifies an application at the trans.docx
1. (TCO 6)  An address that identifies an application at the trans.docx1. (TCO 6)  An address that identifies an application at the trans.docx
1. (TCO 6)  An address that identifies an application at the trans.docx
 
CCNA Exam Question
CCNA Exam QuestionCCNA Exam Question
CCNA Exam Question
 
III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014
III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014
III EEE-CS2363-Computer-Networks-model-question-paper-set-1-for-may-june-2014
 

More from hyacinthshackley2629

Your company nameYour nameInstruction Page1. O.docx
Your company nameYour nameInstruction Page1. O.docxYour company nameYour nameInstruction Page1. O.docx
Your company nameYour nameInstruction Page1. O.docx
hyacinthshackley2629
 
Your Company NameYour Company NameBudget Proposalfor[ent.docx
Your Company NameYour Company NameBudget Proposalfor[ent.docxYour Company NameYour Company NameBudget Proposalfor[ent.docx
Your Company NameYour Company NameBudget Proposalfor[ent.docx
hyacinthshackley2629
 
Your company recently reviewed the results of a penetration test.docx
Your company recently reviewed the results of a penetration test.docxYour company recently reviewed the results of a penetration test.docx
Your company recently reviewed the results of a penetration test.docx
hyacinthshackley2629
 
Your company wants to explore moving much of their data and info.docx
Your company wants to explore moving much of their data and info.docxYour company wants to explore moving much of their data and info.docx
Your company wants to explore moving much of their data and info.docx
hyacinthshackley2629
 
Your company plans to establish MNE manufacturing operations in Sout.docx
Your company plans to establish MNE manufacturing operations in Sout.docxYour company plans to establish MNE manufacturing operations in Sout.docx
Your company plans to establish MNE manufacturing operations in Sout.docx
hyacinthshackley2629
 
Your company just purchased a Dell server MD1420 DAS to use to store.docx
Your company just purchased a Dell server MD1420 DAS to use to store.docxYour company just purchased a Dell server MD1420 DAS to use to store.docx
Your company just purchased a Dell server MD1420 DAS to use to store.docx
hyacinthshackley2629
 
your company is moving to a new HRpayroll system that is sponsored .docx
your company is moving to a new HRpayroll system that is sponsored .docxyour company is moving to a new HRpayroll system that is sponsored .docx
your company is moving to a new HRpayroll system that is sponsored .docx
hyacinthshackley2629
 
Your company is considering the implementation of a technology s.docx
Your company is considering the implementation of a technology s.docxYour company is considering the implementation of a technology s.docx
Your company is considering the implementation of a technology s.docx
hyacinthshackley2629
 
Your company is a security service contractor that consults with bus.docx
Your company is a security service contractor that consults with bus.docxYour company is a security service contractor that consults with bus.docx
Your company is a security service contractor that consults with bus.docx
hyacinthshackley2629
 
Your company has just sent you to a Project Management Conference on.docx
Your company has just sent you to a Project Management Conference on.docxYour company has just sent you to a Project Management Conference on.docx
Your company has just sent you to a Project Management Conference on.docx
hyacinthshackley2629
 
Your company has designed an information system for a library.  The .docx
Your company has designed an information system for a library.  The .docxYour company has designed an information system for a library.  The .docx
Your company has designed an information system for a library.  The .docx
hyacinthshackley2629
 
Your company has had embedded HR generalists in business units for t.docx
Your company has had embedded HR generalists in business units for t.docxYour company has had embedded HR generalists in business units for t.docx
Your company has had embedded HR generalists in business units for t.docx
hyacinthshackley2629
 
Your company You are a new Supply Chain Analyst with the ACME.docx
Your company   You are a new Supply Chain Analyst with the ACME.docxYour company   You are a new Supply Chain Analyst with the ACME.docx
Your company You are a new Supply Chain Analyst with the ACME.docx
hyacinthshackley2629
 
Your company has asked that you create a survey to collect data .docx
Your company has asked that you create a survey to collect data .docxYour company has asked that you create a survey to collect data .docx
Your company has asked that you create a survey to collect data .docx
hyacinthshackley2629
 
Your Communications PlanDescriptionA.What is your .docx
Your Communications PlanDescriptionA.What is your .docxYour Communications PlanDescriptionA.What is your .docx
Your Communications PlanDescriptionA.What is your .docx
hyacinthshackley2629
 
Your community includes people from diverse backgrounds. Answer .docx
Your community includes people from diverse backgrounds. Answer .docxYour community includes people from diverse backgrounds. Answer .docx
Your community includes people from diverse backgrounds. Answer .docx
hyacinthshackley2629
 
Your Communications Plan Please respond to the following.docx
Your Communications Plan Please respond to the following.docxYour Communications Plan Please respond to the following.docx
Your Communications Plan Please respond to the following.docx
hyacinthshackley2629
 
Your Communication InvestigationFor your mission after reading y.docx
Your Communication InvestigationFor your mission after reading y.docxYour Communication InvestigationFor your mission after reading y.docx
Your Communication InvestigationFor your mission after reading y.docx
hyacinthshackley2629
 
Your Communications PlanFirst step Choose a topic. Revi.docx
Your Communications PlanFirst step Choose a topic. Revi.docxYour Communications PlanFirst step Choose a topic. Revi.docx
Your Communications PlanFirst step Choose a topic. Revi.docx
hyacinthshackley2629
 
Your coffee franchise cleared for business in both countries (Mexico.docx
Your coffee franchise cleared for business in both countries (Mexico.docxYour coffee franchise cleared for business in both countries (Mexico.docx
Your coffee franchise cleared for business in both countries (Mexico.docx
hyacinthshackley2629
 

More from hyacinthshackley2629 (20)

Your company nameYour nameInstruction Page1. O.docx
Your company nameYour nameInstruction Page1. O.docxYour company nameYour nameInstruction Page1. O.docx
Your company nameYour nameInstruction Page1. O.docx
 
Your Company NameYour Company NameBudget Proposalfor[ent.docx
Your Company NameYour Company NameBudget Proposalfor[ent.docxYour Company NameYour Company NameBudget Proposalfor[ent.docx
Your Company NameYour Company NameBudget Proposalfor[ent.docx
 
Your company recently reviewed the results of a penetration test.docx
Your company recently reviewed the results of a penetration test.docxYour company recently reviewed the results of a penetration test.docx
Your company recently reviewed the results of a penetration test.docx
 
Your company wants to explore moving much of their data and info.docx
Your company wants to explore moving much of their data and info.docxYour company wants to explore moving much of their data and info.docx
Your company wants to explore moving much of their data and info.docx
 
Your company plans to establish MNE manufacturing operations in Sout.docx
Your company plans to establish MNE manufacturing operations in Sout.docxYour company plans to establish MNE manufacturing operations in Sout.docx
Your company plans to establish MNE manufacturing operations in Sout.docx
 
Your company just purchased a Dell server MD1420 DAS to use to store.docx
Your company just purchased a Dell server MD1420 DAS to use to store.docxYour company just purchased a Dell server MD1420 DAS to use to store.docx
Your company just purchased a Dell server MD1420 DAS to use to store.docx
 
your company is moving to a new HRpayroll system that is sponsored .docx
your company is moving to a new HRpayroll system that is sponsored .docxyour company is moving to a new HRpayroll system that is sponsored .docx
your company is moving to a new HRpayroll system that is sponsored .docx
 
Your company is considering the implementation of a technology s.docx
Your company is considering the implementation of a technology s.docxYour company is considering the implementation of a technology s.docx
Your company is considering the implementation of a technology s.docx
 
Your company is a security service contractor that consults with bus.docx
Your company is a security service contractor that consults with bus.docxYour company is a security service contractor that consults with bus.docx
Your company is a security service contractor that consults with bus.docx
 
Your company has just sent you to a Project Management Conference on.docx
Your company has just sent you to a Project Management Conference on.docxYour company has just sent you to a Project Management Conference on.docx
Your company has just sent you to a Project Management Conference on.docx
 
Your company has designed an information system for a library.  The .docx
Your company has designed an information system for a library.  The .docxYour company has designed an information system for a library.  The .docx
Your company has designed an information system for a library.  The .docx
 
Your company has had embedded HR generalists in business units for t.docx
Your company has had embedded HR generalists in business units for t.docxYour company has had embedded HR generalists in business units for t.docx
Your company has had embedded HR generalists in business units for t.docx
 
Your company You are a new Supply Chain Analyst with the ACME.docx
Your company   You are a new Supply Chain Analyst with the ACME.docxYour company   You are a new Supply Chain Analyst with the ACME.docx
Your company You are a new Supply Chain Analyst with the ACME.docx
 
Your company has asked that you create a survey to collect data .docx
Your company has asked that you create a survey to collect data .docxYour company has asked that you create a survey to collect data .docx
Your company has asked that you create a survey to collect data .docx
 
Your Communications PlanDescriptionA.What is your .docx
Your Communications PlanDescriptionA.What is your .docxYour Communications PlanDescriptionA.What is your .docx
Your Communications PlanDescriptionA.What is your .docx
 
Your community includes people from diverse backgrounds. Answer .docx
Your community includes people from diverse backgrounds. Answer .docxYour community includes people from diverse backgrounds. Answer .docx
Your community includes people from diverse backgrounds. Answer .docx
 
Your Communications Plan Please respond to the following.docx
Your Communications Plan Please respond to the following.docxYour Communications Plan Please respond to the following.docx
Your Communications Plan Please respond to the following.docx
 
Your Communication InvestigationFor your mission after reading y.docx
Your Communication InvestigationFor your mission after reading y.docxYour Communication InvestigationFor your mission after reading y.docx
Your Communication InvestigationFor your mission after reading y.docx
 
Your Communications PlanFirst step Choose a topic. Revi.docx
Your Communications PlanFirst step Choose a topic. Revi.docxYour Communications PlanFirst step Choose a topic. Revi.docx
Your Communications PlanFirst step Choose a topic. Revi.docx
 
Your coffee franchise cleared for business in both countries (Mexico.docx
Your coffee franchise cleared for business in both countries (Mexico.docxYour coffee franchise cleared for business in both countries (Mexico.docx
Your coffee franchise cleared for business in both countries (Mexico.docx
 

Recently uploaded

GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 

Recently uploaded (20)

GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 

1102159.334 CP ALB Internal - Page 1 of 7 - .docx

  • 1. 1102/159.334 CP ALB Internal - Page 1 of 7 - MASSEY UNIVERSITY ALBANY CAMPUS EXAMINATION FOR 159.334 Computer Networks Semester Two - 2011 Time allowed: THREE (3) hours Attempt ALL 6 (six) questions. All questions are of equal value. This examination contributes 60% to the final assessment. Calculators permitted – no restrictions.
  • 2. 1102/159.334 CP ALB Internal - Page 2 of 7 - Question 1: a) Name four socket functions (C functions) used to create client/server applications. [4 marks] b) Name the five layers in a typical TCP/IP computer network. [2 marks] c) What are the services provided by TCP? [2 marks] d) The source and destination port numbers are included in the packet header. Which layer needs to be able to read these port numbers? [2 marks]
  • 3. 1102/159.334 CP ALB Internal - Page 3 of 7 - Question 2: (The Application Layer) a) If an FTP client is in active mode, what are the two FTP commands (protocol commands) issued by the client when the user issues: ftp> ls [2 marks] b) If an FTP client is in passive mode, what are the two FTP commands (protocol commands) issued by the client when the user issues: ftp> get [2 marks] c) The command netstat is used by a system administrator. Explain the difference between LISTEN and ESTABLISHED states. Proto Recv-Q Send-Q Local Address Foreign Address State
  • 4. tcp 0 0 localhost:1234 *:* LISTEN tcp 0 0 localhost:43000 it046500:20 ESTABLISHED [2 marks] d) How many simultaneous connections does HTTP needs in order to download a single file? How many simultaneous connections does FTP needs in order to download a single file? [2 marks] e) Briefly explain what is a DNS (Domain Name Service) iterated query. Explain why this method is important to keep the scalability of the DNS. [2 marks] 1102/159.334 CP ALB Internal - Page 4 of 7 - Question 3: (The Transport Layer)
  • 5. a) A distributed system uses UDP to transfer files between nodes. You are asked to design a simple reliable protocol to replace it. What are the essential elements that you need to include in such a protocol? Your solution should focus on possible lost and damaged packets, not performance. [4 marks] b) Explain the difference between Go-Back-N and Selective Repeat. Given a choice, which one is better for the performance of the network? [3 marks] c) Explain the difference between “Congestion Control” and “Flow Control” from the view point of a transport protocol. [3 marks] Question 4. (Network Layer) a) What are the two important functions provided by the network layer protocols? Emphasize the importance of the difference between the two functions.
  • 6. [3 marks] b) The network administrator checks an Ethernet card configuration using the command ipconfig. He extracts the values for the IP address and for the Mask: IP address 192.123.246.12 Mask 255.255.255.128 Write two examples of IP addresses that this machine can access: 1) one IP address that is accessible directly (no routing) by this machine. 2) one IP address that is only accessible via the gateway (router). [2 marks] Q4 continued on next page... 1102/159.334 CP ALB Internal - Page 5 of 7 -
  • 7. Q4 continued... c) Figure 1 There are four routers connected via certain links (Figure 1). Suppose that the following table is used for the initialisation of D’s routing table: D VIA Destination A B C A 3 ∞ ∞ B ∞ 70 ∞ C ∞ ∞ 2 And the minimum cost is an array of 4 integers in the order A, B, C, D: A advertises its minimum costs as: 0, 12, 7, 3 B advertises its minimum costs as: 12, 0, ∞, 70 C advertises its minimum costs as: 7, ∞, 0, 2 Show the first update on D’s table if node D simultaneously receives packets with the
  • 8. minimum cost information from the routers A, B and D. [3 marks] d) There are possibly hundreds of millions of IP addresses in the Internet. Explain why the routing tables in TCP/IP routers do not need to contain lots of entries, and are usually rather small. [2 marks] 1102/159.334 CP ALB Internal - Page 6 of 7 - Question 5. (Data-link and Physical Layers) a) What is the purpose of CRC (Cyclic Redundancy Check)? [2 marks] b) Compute the CRC value for the character “1110 0001” considering: - the algorithm uses a standard polynomial method with 16 bits
  • 9. - the generator is 0x8005 - no reverse bytes, no reverse results Write the final result of the CRC in hexadecimal. [3 marks] c) Collisions are a challenging problem for data link protocols. Explain the main differences between data-link layer protocols for wired networks and protocols for wireless networks. [3 marks] d) Explain brifly how the ARP protocol keeps a table with the IP addresses and correspondent MAC (hardware) addresses. [2 marks] 1102/159.334 CP ALB Internal - Page 7 of 7 - Question 6. (Network Security)
  • 10. a) MD5 is a well known method for message digests. Message digests find a fixed-length number (say, 128 bits) that correlates to a certain file. Give two reasons why CRC is not a suitable method to be used as a message digest, even though CRC also finds a fixed-length number that correlated to a file. [2 marks] b) Considering the RSA algorithm, find suitable e and d for the following pair of prime numbers, explaining how you chose them: p = 5 q = 11 n = ? z = ? e = ? d = ? [3 marks] c) Discuss the difference between asymetric encryption and symmetric encryption. Complete the table stating advantages and disadvantages of these two encryption methods
  • 11. (copy it to the answer book). Advantages Disadvantages asymmetric symmetric [2 marks] d) Explain briefly what is a “packet sniffing” attack. Discuss and compare the implications of such atacks for wired networks and wireless networks. [3 marks] + + + + + + + +