Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Exercise 14-2-1- TCP Server- 201810 - Introduction to operating system & Networking Exam

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
18-03-2023
Written in
2022/2023

You will use the workspace navigator to access and manage your files. You will use the editor to create and modify C++ source code. You will use the bash shell to compile your programs using g++, view the output produced by your programs and to execute Linux shell commands and scripts. The goal of the assignment is for you to explore and use functions related to TCP Sockets in Unix based OSs. Refer to the following slides as you work on this exercise: Computer Networks ­ Sockets ( Ques 1 / 1 pts tion 1 What is the most common type of distributed application? client/server Ques 1 / 1 pts tion 2 What is the most common programming API used for network applications, such as email and file sharing? sockets Q 2 / 2 pts uestion 3 In order to deliver a datagram to a destination (or endpoint), it is necessary to specify the IP address of the host network interface and the port number receiving application process Answer 1: Answer 2: Answer 3: Answer 4: IP address port number Ques 1 / 1 pts tion 4 Answer 1: Answer 2: The sockets API provides two types of services, datagram and stream. Please indicate the name of the Transport Layer protocol that each one of these implements. Datagram: UDP Stream: TCP UDP TCP

Show more Read less
Institution
Course

Content preview

4/17/2018 Exercise 14-2-1: TCP Server: 201810-Spring 2018-ITSC-3146-001-Intro Oper Syst & Networking


Exercise 14‑2‑1: TCP Server
Due Apr 20 at 11:59pm Points 20 Questions 12
Available Apr 17 at 4pm ­ Apr 20 at 11:59pm 3 days Time Limit None
Allowed Attempts 2


Instruc ons
For this exercise, you will work through a short programming lab using C++ in the Cloud9 environment and
will complete the quiz questions shown below. You can submit this exercise two (2) times. Only the highest
score will be kept.

Note: Your answers must be exact, i.e., correct spelling and spacing are necessary.

This exercise assumes that you have already configured a Cloud9 environment for C++
(see Cloud9SetUp slide show (https://studentuncc­
my.sharepoint.com/personal/swatso50_uncc_edu/_layouts/15/guestaccess.aspx?
docid=0736c1193558844da9e8073ff4bcad902&authkey=AeUaKt1RFUSFJZf_dMVFl5w) for instructions).



Take the Quiz Again



A empt History
Attempt Time Score
LATEST Attempt 1 136 minutes 10 out of 20 *

* Some questions not yet graded




Correct answers are hidden.

Score for this attempt: 10 out of 20 *
Submitted Apr 17 at 6:46pm
This attempt took 136 minutes.



You will use the workspace navigator to access and manage your files.
You will use the editor to create and modify C++ source code.
You will use the bash shell to compile your programs using g++, view the
output produced by your programs and to execute Linux shell commands
and scripts.
This study source was downloaded by 100000850872992 from CourseHero.com on 03-17-2023 18:41:18 GMT -05:00

https://uncc.instructure.com/courses/68289/quizzes/68015 1/9
https://www.coursehero.com/file/47009211/Exercise-14-2-1-TCP-Server-201810-Spr-3146-001-Intro-Oper-Syst-Networkingpdf/

, 4/17/2018 Exercise 14-2-1: TCP Server: 201810-Spring 2018-ITSC-3146-001-Intro Oper Syst & Networking

The goal of the assignment is for you to explore and use functions related
to TCP Sockets in Unix based OSs.
Refer to the following slides as you work on this exercise: Computer
Networks ­ Sockets (https://drive.google.com/open?
id=0B2pK0GpUEQ4hdXN1dmUzb0ZVVXM) [pdf]




Question 1 pts


What is the most common type of distributed application?


client/server




Question 2 pts


What is the most common programming API used for network applications,
such as email and file sharing?


sockets




Question 3 pts


In order to deliver a datagram to a destination (or endpoint), it is necessary to

specify the IP address of the host network


interface and the port number receiving

application process.

This study source was downloaded by 100000850872992 from CourseHero.com on 03-17-2023 18:41:18 GMT -05:00

https://uncc.instructure.com/courses/68289/quizzes/68015 2/9
https://www.coursehero.com/file/47009211/Exercise-14-2-1-TCP-Server-201810-Spr-3146-001-Intro-Oper-Syst-Networkingpdf/

Written for

Course

Document information

Uploaded on
March 18, 2023
Number of pages
9
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsConnoisseur Self
Follow You need to be logged in order to follow users or courses
Sold
587
Member since
3 year
Number of followers
344
Documents
1492
Last sold
1 week ago

4.2

68 reviews

5
40
4
11
3
13
2
1
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions