434_assignment4 (1)
.docx
keyboard_arrow_up
School
Texas A&M University, Commerce *
*We aren’t endorsed by this school
Course
434
Subject
Computer Science
Date
May 13, 2024
Type
docx
Pages
2
Uploaded by GrandSteel14470 on coursehero.com
CSCI434 Assignment 4
Due: 11:59PM on Friday (18 SEPT)
Instruction
:
Show your work (at least 50% penalty otherwise)
Do not copy and paste from textbook and any other resources to answer questions (at least 50% penalty otherwise)
Submitted format should be a single PDF file (10% penalty otherwise)
Submit to the assignment folder in D2L: you can submit multiple times but the last submission will be considered as your submission and graded.
After submitting, double check if you submitted the correct one: No excuse in case of incorrect submission
*Important*: Welcome to contact the instructor/TA for clarifying questions, but do not ask questions like whether your answer is correct, or so.
Problem 1
. Throughput
(
10
pt.)
Suppose Host A
wants to send a large file to Host B
. The path from Host A
to Host B
has three links, or rates R
1
= 0.5 Mbps, R
2
= 2Mbps, and R
3
= 1 Mbps.
a.
Assuming no other traffic in the network, what is the throughput for the file transfer? The throughput for the file transfer in the minimum (R1, R2, R3) i.e. minimum
(0.5mbps, 2mbps,1 mbps)
Therefore, the throughput for the file transfer is 0.5mbps. b.
Suppose the file is 2 MB. Dividing the file size by the throughput, roughly how long
will it take to transfer the file to Host B? Here, The size of the file = 2MB
Converting it in the bits we get = 16000000bits
Now, 0.5mbps= 500kbps= 500000bps
Then total time= file size/throughout for the file transfer = 16000000/500000
= 32 seconds
Now assume R
3
reduced to 300 Kbps.
c.
What is the throughput?
The throughout for the file transfer is the Minimum (R1,R2,R3) i.e. minimum
(0.5mbps, 2mbps, 300kbps). Since R3= 300kbps The throughout for the file transfer is 300kbps.
d.
What is the file transfer time?
Here, The size of the file = 2MB
Converting it in the bits we get = 16000000bits
Now, 300kbps= 300000bps
Then total time= file size/throughout for the file transfer = 16000000/300000
= 53.33 seconds
1
Problem 2. HTTP Connections
(
10
pt.) Consider a scenario that a client accesses a Web server. Suppose that the HTML file
accessed by the client references five
very small objects on the same server. Assuming
RTT=100 ms between the client and the server and negligible transmission times (≈ 0
ms), how much time elapses with the following method? a.
Non-persistent HTTP with no parallel TCP connections? Given RTT= 100ms For the Non-persistent HTTP with no parallel TCP, two RTT are required.
As we are transmitting five images per objects= 2*(5RTT) = 10RTT
Now total time= 2+10= 12 RTT= 12*100ms= 1200ms
b.
Persistent HTTP with pipelining?
Given RTT= 100ms
For the Pipelining, only one RTT is required.
As we can send all images/objects in 1RTT
Now, total time=2+1= 3RTT= 3*100ms= 300ms Problem 3
. WireShark
(
10 pt.
) Capture a HTTP GET request packet. Expand the section of “Hypertext Transfer
Protocol” for details (in the middle windowpane). Report the connection type explicitly.
Do NOT ask whether what you captured is correct – determine it by yourself by
analyzing the captured content. (Hint: You may want to set “display filter” to filter out
non-HTTP traffic.)
2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Week 4 IPO
Assignment Content
There are 4question Create IPO chart
q1. When Trina began her trip from New York to Florida, she filled her car's tank with
gas and
reset its trip meter to zero. After traveling 324 miles, Trina stopped at a gas station to refuel; the
gas tank required 17 gallons.
arrow_forward
write access model Only Leena can access her laptop. The website can be accessed only during work time The file is a read-only file. Only course instructors can access students' data.
arrow_forward
Write a statement that increases pay by 3% if the performance score exceeds 85, otherwise
decrease the pay by 1%.
Edit View Insert Format Tools
Table
arrow_forward
File
Home
Insert
Draw
Page Layout
Formulas
Data
Review
View
Help
A Share
P Comments
14
fe
A
E
G
H
J
K
L
M
Q
R
1 Semeste Course NumbelCoure NameCredit Hours Letter Grad Grade Points
Directions
Create a spreadsheet that correctly
calculates your GPA - must use formulas for
GPA =
full credit. You need to inlcude grades for
two semesters. If you do not already have
two semesters worth of grades assume this
semesters grades and one future semester
worth of grades.
2
3
4
To calculate GPA dividing the total amount
5
of grade points earned by the total amount
of credit hours attempted. Your grade point
6
7
8
average may range from 0.0 to a 4.0.
9
Grade Points - multiply credit hours of
course by the number associated with the
3
letter grade you earned.
• A = 4
B = 3
C = 2
5
-7
D = 1
F = 0
1
Wine Sales
Cinderella's
Grades
Your GPA
+
+ 95%
arrow_forward
Complete the exercise described in the attached document.
Algorithm Exercise.docx
Rubric:
1-Uses pseudo code not actual code
1-Includes prompt output steps before input steps
1-Calculates p
1-Calculates A
Assume that there is an available function that will calculate the square root of a value use the name SQRT()
https://quincy.instructure.com/courses/15140/files/1261838/download?verifier=pHUEAZhXer74z5lq0g563Ijk84PHhv34VOUZxuzH&wrap=1
arrow_forward
Question Completion Status:
QUESTION 11
onsubmit event triggers when a form is submitted
O True
False
arrow_forward
A file attribute may be changed by going into the Properties box and selecting Edit File Attributes from the menu that appears.
arrow_forward
Folder Structure
Your project will contain two sub-directories:
library
test
In the library directory, create the classes in the class diagram below. In the test directory, create the test applications.
Class Diagram
CollegeApplicant Class
Write a class encapsulating the concept of College Applicant. Use the class diagram above as well as the specific requirements below to develop your class:
Class Members
name - The name of the college applicant.
college - The name of the college.
CollegeApplicant() - Initializes an instance of the CollegeApplicant class where the name and college are set to "unknown".
CollegeApplicant(String, String - Initializes an instance of the CollegeApplicant class where the name and college are set to the specified values.
getName() : String - Returns the college applicant's name.
setName(String) : void - Sets the college applicant's name.
getCollege() : String - Returns the name of the college.
setCollege(String) : void - Sets the name of the college.…
arrow_forward
NOTE: If you choose this project you need to prepare/submit SRS and design document.
Online Lecture Scheduling Application
Project Domain/Category: Web application.
Abstract/Introduction
This application will generate the schedule of lectures for the courses being offered in a semester of an educational institute. Usually, for every semester, a lecture schedule is manually developed keeping in view the students enrolled in different courses, faculty members teaching those courses, and classrooms or labs where those lectures are delivered. It is also considered that if a student is enrolled in more than one courses, then those courses must not be scheduled on the same day same time. Same is the case with a faculty member teaching more than one courses. Similarly, a classroom or lab cannot be used for scheduling more than one courses on same day same time. In order to generate the lecture schedule, user will be required to provide list of offered courses, list of students enrolled…
arrow_forward
Posted 5th time if this time u submitted wrong answer will give you downvote and bad review
arrow_forward
A file extension's function must be separated from its appearance in your document.
arrow_forward
EXCEL - VBA - MACRO
Create a code in VBA EXCEL, where every time you change cell B1 on Sheet1, a new tab is created, renamed with what is written in that cell. Each new tab created must contain all the information that is on Sheet1, if they are updated.
arrow_forward
LAB ASSIGNMENT
IMPORTANT: you need to complete the PDP thinking process
for each program. 2 programs and a data file:
1) Create your own original .csv file named lab16.csv, with at
least 3 columns and 6 rows of data. You can use PyCharm,
Excel, Notepad or another program to create a .csv file. But
make sure to put the .csv file in your project folder.
Now, create a program called csv_read.py to read the lab16.csv
file
●
The program should print the rows of data in column format.
Fully comment the program & upload lab16.csv and
csv_read.py
dog
cat
dog
cat
Name
Rafa
Charles
Winston
OST
Silky Nelson
Dolly
Stanley
OZT OFT
csv.read.py works with a lab.csv file that you create
Pet Type
dog
Color
Black and white
White w/tabby pots
White
C
Grey
White w/black & tan spots
Tuxedo
OOT
'06
08
arrow_forward
LAB ASSIGNMENT
IMPORTANT: you need to complete the PDP thinking process for
each program. 2 programs and a data file:
1) Create your own original .csv file named lab16.csv, with at
least 3 columns and 6 rows of data. You can use PyCharm, Excel,
Notepad or another program to create a .csv file. But make sure
to put the .csv file in your project folder.
Now, create a program called csv_read.py to read the lab16.csv
file
The program should print the rows of data in column format.
●
Fully comment the program & upload lab16.csv and
csv_read.py
140-
ΟΣΤ ΟΖΤ
C
08
OTT OOT 06
csv.read.py works with a lab.csv file that you create
Name
Color
Pet Type
dog
cat
Rafa
Black and white
White w/tabby spots
Charles
Winston
White
dog
Grey
cat
dog
Silky Nelson
Dolly
Stanley
White w/black & tan spots
Tuxedo
cat
arrow_forward
In the Properties box, pick Edit File Attributes from the menu that displays to alter a file attribute.
arrow_forward
Written Use Case
Follow the sample format shown in the attached photo.Sample have its label, while the one you should make a written use case is the one who have blue ovalsNote: You should make the WRITTEN USE CASE AS YOU CAN SEE IN THE TABLE FORMAT
arrow_forward
Row trigger that gives the sum total before insert or update
arrow_forward
Project: Blood Donation System
The blood donation center is responsible for managing the donations process as it is received
from the donor until it is sent to the distribution office.
First the blood center worker will enter the donor's general information like name and
birthdate then the system will create an account for the donor and generate an id if it was the
first donation by the donor. Next, the donor will give the donation and the worker will create a
new record of the donation in the system by entering the donor's ID. Then the donation will be
sent to a testing unit. The testing unit will conduct tests on the donation and sends the blood
donation along with test results to the processing office, which will fill a form for the donation
if they pass the test and finally sends the blood units and forms to the distribution office. If
the donation failed the test, the processing office will destroy the donation and will notify the
worker. Please note that the donor must at least…
arrow_forward
Submission guidelines: The assignment must be submitted by the deadline (earlier submissions are
encouraged) in PDF format through Blackboard using the following file name format:
LastName_FirstName_Assignment_1.pdf. The assignment must be typewritten.
All the assignments in this course are individual work; any overlap between assignment reports will be
penalized.
A bank requires for their customers to access their online banking accounts to provide as
User Id (or user name) the last 8 digits of their bank card number, and a password with a
length between 8 and 12 ASCII characters, including the following restrictions (posted on
their website):
Passwords must have at least 8 characters long and at most 12 characters long, and must include at least
one character from each of the following four character types:
Upper case letters ABC DEF
Lower case letters ghijkl
Numbers 1 2 345 67890
Special characters ! @ # $ % ^ & * (+) = -
The remaining characters of the password must be selected…
arrow_forward
Correct answer will appreciated.
arrow_forward
Constraints come in many shapes and sizes.
arrow_forward
Force Completion This test can be saved and resumed at any point until time h
This test does not allow backtracking. Changes to the answe
Your answers are saved automatically.
Remaining Time: 27 minutes, 16 seconds.
* Question Completion Status:
A Moving to the next question prevents changes to this answer.
Question 1
The Initial phase in the development of information system is:
O System Testing.
System Design
System Analysis.
System investigation
A Moving to the next question prevents changes to this answer.
f1
f2
f3
f4
f5
@
%24
%23
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Related Questions
- Week 4 IPO Assignment Content There are 4question Create IPO chart q1. When Trina began her trip from New York to Florida, she filled her car's tank with gas and reset its trip meter to zero. After traveling 324 miles, Trina stopped at a gas station to refuel; the gas tank required 17 gallons.arrow_forwardwrite access model Only Leena can access her laptop. The website can be accessed only during work time The file is a read-only file. Only course instructors can access students' data.arrow_forwardWrite a statement that increases pay by 3% if the performance score exceeds 85, otherwise decrease the pay by 1%. Edit View Insert Format Tools Tablearrow_forward
- File Home Insert Draw Page Layout Formulas Data Review View Help A Share P Comments 14 fe A E G H J K L M Q R 1 Semeste Course NumbelCoure NameCredit Hours Letter Grad Grade Points Directions Create a spreadsheet that correctly calculates your GPA - must use formulas for GPA = full credit. You need to inlcude grades for two semesters. If you do not already have two semesters worth of grades assume this semesters grades and one future semester worth of grades. 2 3 4 To calculate GPA dividing the total amount 5 of grade points earned by the total amount of credit hours attempted. Your grade point 6 7 8 average may range from 0.0 to a 4.0. 9 Grade Points - multiply credit hours of course by the number associated with the 3 letter grade you earned. • A = 4 B = 3 C = 2 5 -7 D = 1 F = 0 1 Wine Sales Cinderella's Grades Your GPA + + 95%arrow_forwardComplete the exercise described in the attached document. Algorithm Exercise.docx Rubric: 1-Uses pseudo code not actual code 1-Includes prompt output steps before input steps 1-Calculates p 1-Calculates A Assume that there is an available function that will calculate the square root of a value use the name SQRT() https://quincy.instructure.com/courses/15140/files/1261838/download?verifier=pHUEAZhXer74z5lq0g563Ijk84PHhv34VOUZxuzH&wrap=1arrow_forwardQuestion Completion Status: QUESTION 11 onsubmit event triggers when a form is submitted O True Falsearrow_forward
- A file attribute may be changed by going into the Properties box and selecting Edit File Attributes from the menu that appears.arrow_forwardFolder Structure Your project will contain two sub-directories: library test In the library directory, create the classes in the class diagram below. In the test directory, create the test applications. Class Diagram CollegeApplicant Class Write a class encapsulating the concept of College Applicant. Use the class diagram above as well as the specific requirements below to develop your class: Class Members name - The name of the college applicant. college - The name of the college. CollegeApplicant() - Initializes an instance of the CollegeApplicant class where the name and college are set to "unknown". CollegeApplicant(String, String - Initializes an instance of the CollegeApplicant class where the name and college are set to the specified values. getName() : String - Returns the college applicant's name. setName(String) : void - Sets the college applicant's name. getCollege() : String - Returns the name of the college. setCollege(String) : void - Sets the name of the college.…arrow_forwardNOTE: If you choose this project you need to prepare/submit SRS and design document. Online Lecture Scheduling Application Project Domain/Category: Web application. Abstract/Introduction This application will generate the schedule of lectures for the courses being offered in a semester of an educational institute. Usually, for every semester, a lecture schedule is manually developed keeping in view the students enrolled in different courses, faculty members teaching those courses, and classrooms or labs where those lectures are delivered. It is also considered that if a student is enrolled in more than one courses, then those courses must not be scheduled on the same day same time. Same is the case with a faculty member teaching more than one courses. Similarly, a classroom or lab cannot be used for scheduling more than one courses on same day same time. In order to generate the lecture schedule, user will be required to provide list of offered courses, list of students enrolled…arrow_forward
- Posted 5th time if this time u submitted wrong answer will give you downvote and bad reviewarrow_forwardA file extension's function must be separated from its appearance in your document.arrow_forwardEXCEL - VBA - MACRO Create a code in VBA EXCEL, where every time you change cell B1 on Sheet1, a new tab is created, renamed with what is written in that cell. Each new tab created must contain all the information that is on Sheet1, if they are updated.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L