cs438_hw3
.pdf
keyboard_arrow_up
School
University of Illinois, Urbana Champaign *
*We aren’t endorsed by this school
Course
438
Subject
Electrical Engineering
Date
Apr 3, 2024
Type
Pages
6
Uploaded by willyrom
CS/ECE 438: Communication Networks
Spring 2024
Homework 3
Handed Out: March
19
th
,
2024
Due: 11:59pm, March
24
th
,
2024
TA: Federico Cifuentes-Urtubey
•
Homework assignments must be submitted online through
GradeScope
. We will not correct anything
we do not understand.
Contact the TAs via Ed if you face technical difficulties in submitting the
assignment.
Note: Please select your page(s) for each question during submission on GradeScope;
Otherwise, your submission will not be graded.
•
Homework assignments can be done in
groups of two
, but
only one person
needs to submit on Grade-
Scope. Remember to include your partners name in the solution and on GradeScope by
editing "Group
Members"
.
It is your responsibility that your partner’s name is included.
For detailed instruction
please refer to (
https://youtu.be/rue7p_kATLA
).
•
You can use Ed to find a partner. We highly recommend working in groups. You will not get extra
credit for working alone.
•
Please use Ed and come to office hours if you have questions about the homework. Failure to under-
stand the solutions will be the student’s fault.
•
While we encourage discussion within and outside of the class, cheating and copying is strictly pro-
hibited. Copied solutions will result in the entire assignment being discarded from grading at the very
least and a report filed in the FAIR system. It is also your responsibility to ensure that your partner
obeys the academic integrity rules as well.
1
TCP RTT Estimation – 7 points
One difficulty with the original TCP SRTT estimator is the choice of an initial value. In
the absence of any special knowledge of network conditions, the typical approach is to pick
an arbitrary value, such as 3 seconds, and hope this will converge quickly to an accurate
value. If this estimate is too small, TCP will perform unnecessary retransmissions. If it is
too large, TCP will wait a long time before retransmitting if the first segment is lost. Also,
the convergence might be slow.
1. Choose
α
= 0
.
4
and RTT-timeout
(0) = 1
seconds, and assume all measured RTT
values = 0.5 second with no packet loss. What is RTT-timeout
(20)
? Recall,
RTT-timeout
(
k
+ 1) =
α
×
RTT-timeout
(
k
) + (1
−
α
)
×
RTT
(
k
+ 1)
Describe your solution approach AND provide the numerical result (approximate to
4
th
decimal place).
2. Using the same values as in above part, what happens if we use
α
= 0
.
2
or
α
= 0
.
95
?
Provide a numerical result for RTT-timeout
(20)
in both cases, then describe the effect
of a larger or smaller
α
on the RTT estimation procedure.
1
2
Fair Queuing – 18 points
Consider Fig. 1. Now consider the following scenarios:
Figure 1:
•
Packets are scheduled using FIFO policy
•
Packets are scheduled using Highest Priority First policy. Assume odd-numbered pack-
ets are high priority and even-numbered packets are low priority.
•
Packets are scheduled using Round Robin policy. Assume that packets (1, 4, 5, 7, 8,
9, 10) are from class 1, and packets (2, 3, 6, 11, 12) are from class 2. Scheduling starts
with class 1 at
t
= 0
.
•
Packets are scheduled using Weighted Fair Queuing (WFQ) policy. Assume there are
three classes. Let us denote the packet ID of packet
i
as
ID
i
. Class
j
(where
j
= 0
,
1
,
2
),
will contain packets which satisfy
i
|
ID
i
%3 =
j
. Let the three classes (i.e. Class 0, 1
and 2) have the weights 3, 2 and 1 respectively. Scheduling starts with class 0 at
t
= 0
.
Note
: In case of ties under the above schemes, you must resort to FIFO scheme. In Fig. 1,
you can assume that Packet 1 arrives before Packet 2 at
t
= 0
, Packet 3 before Packet 4 at
t
= 1
and so on. Also assume that packets can be immediately scheduled for transmission
when they arrive.
For Round Robin and WFQ, you must skip a Class if packets are not
available for that particular class.
1. Fill this Table. 1 for which packet departs at each time point and the delay of each
packet (i.e., delay is time interval between the arrival and departure of a packet).
2. What is average delay for these 4 polices?
For Highest priority, Round Robin, and
WFQ, you must also list average delay for each class separately. (In WFQ, the average
delay among different classes might not be perfect in this question.)
3. What observations can you draw about the average delay from the above 4 polices?
Two concise observations are sufficient.
2
Table 1: Packet Scheduling
Time of Departure
(t in sec)
FIFO
Highest Priority
Round Robin
WFQ
Packet
Delay
Packet
Delay
Packet
Delay
Packet
Delay
1
1
1
1
1
1
1
1
1
2
3
4
5
6
7
8
9
10
11
12
3
Forwarding and CIDR – 15 points
1. Consider a router that interconnects three subnets: Subnet A, Subnet B, and Subnet
C. Suppose all of the interfaces in each of these three subnets are required to have
the prefix 200.64.16.0/24. Also suppose that Subnet A is required to support up to
80 interfaces, and Subnets B and C are each required to support up to 30 interfaces.
Provide three network addresses (of the form a.b.c.d/x) for each of the above subnet
that satisfy these constraints.
Suppose a router has built up the routing table shown below in Table. 2. CIDR addresses
are used, with "/22" indicating a mask of 22 1’s followed by 10 0’s.
Net/Masklength
NextHop
220.174.252.0/22
R1
220.174.240.16/29
Interface 1
220.174.240.10
R2
220.174.240.0/20
Interface 3
220.174.240.128/25
R3
220.174.248.0/22
Interface 2
default
Interface 4
Table 2:
2. How many individual IP addresses match each Net/Masklength pair? (Compute this
for all entries in the table except the last one, i.e. for the default Masklength entry).
3. The router can deliver packets directly over interfaces 1, 2, 3, 4, or it can forward to
routers R1, R2, R3. Specify the next hop for each of the following destinations. Use
the longest prefix match, i.e., if a destination matches more than one line of the table,
3
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
appropriate answer.
Statement one
The most common
causes of death are falls
from heights and being
struck by vehicles in the
workplace
Statement two
Following HSE guidance
should significantly
reduce the risk to an
individual
a) Statement one
is correct and
statement two is
correct
b) Statement two
is correct and
statement one is
incorrect
c) Both
statements are
incorrect
d) Statement one
is correct and
statement two is
incorrect
actclass.co.uk
25
Questi
26
Questi
27
Questi
28
Questi
29
Questi
30
Submit Answers
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
2. Can we replace the Fossil Fuels? How?
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
7. What are the advantages and disadvantages of Fossil Fuels?
arrow_forward
For answers in acronyms use all CAPITAL Letters. For short answer capitalized the first letter of each word/words unless indicated in the questions. For numeric value with unit, 1 space in between.
arrow_forward
image
arrow_forward
Refer to the National Electrical Code® or the working drawings when necessary. Where applicable, responses should be written in complete sentences.
For problems 1 and 2, six luminaires, similar to Style E used in the Commercial Building, are to be installed in a room that is 12 ft x 18 ft (~3.7 m x ~5.5 m) with a 9 ft
(2.8 m) floor-to-ceiling height. The spacing ratio for the luminaire is 1:0.
1. The maximum distance that the luminaires can be separated and achieve uniform illuminance is
ft (
m).
For problems 2-5, two luminaires, 8 ft (2.5 m) and 4 ft (1.2 m) in length with dimensions as shown in Figure 15-7, are to be installed in tandem (end to end). The
end of the long luminaire is to be 2 ft (600 mm) from the wall.
2. The center of the outlet box should be roughed in at
ft (
m) from the wall.
3. The first support should be installed at
the wall.
ft (
m) from
4. The second support should be installed at
from the wall.
ft (
m)
5. The final support should be installed at
the wall.
ft…
arrow_forward
Write short note on the below mentioned questions, Each question carries one mark.
Students has to answer the questions typewritten in the word (.docx) format.
Figures / Diagrams, equations and solving of problems should be written by hand. Take a picture of
it and attach it inside the word file.
a) High Voltages are preferred for Transmission of Electricity. Why?
b) Why Generation Voltage Levels are low in the range of 11 kV/ 33 kV etc?
C) Why ACSR Conductors are preferred over Copper Conductors?
d) Overhead Transmission Lines are preferred for Transmission of Power for Long Distances, why?
e) Alternating Current is preferred over Direct Current in Power System, Why?
f) Write the Installed Generation Capacity of Sultanate of Oman with current energy share of Conventional and
Non-Conventional Energy Sources.
g) Why the Capacitance effect is neglected in Short Transmission Line.
h) Distinguish between Lumped or Distributed elements in a Transmission Line.
arrow_forward
Note:Please do not handwritten. Also, please write a lot of information in your own words.
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
3. How the Fossil Fuels are contributing to global warming?
arrow_forward
i need ans within 15 minutes my best wishes ton
arrow_forward
Remaining Time: 28 minutes, 20 seconds.
A Question Completion Status:
3
4
6.
7
8.
9.
10
A Moving to another question will save this response.
Question 1
The potential of point is absolute regardless any other points
it does not matter
Flase
None
True
A Moving to another question will save this response.
2016298130 (1) pdf
2016298130.pdf
P Type here to search
arrow_forward
Please answer in typing format with explanation
arrow_forward
Note:Please do not handwritten.
arrow_forward
Solve the following problems presenting complete solutions. Do not round-offpartial answers. Express final answers in three decimal places with proper engineering prefixes
solve for IB, IC, IE and VCE
arrow_forward
6) Build an Arduino code that has keypad, LCD display. In this code you are required to: (Void
Setup and Loop only)
1- Show "Hello Ardunio" blinking on LCD display with delay 1sec when pushing key I from the keypad
and the LED is OFF.
2- Make a LED blinking with delay 1sec when pushing key 2 from the keypad and the LCD display is
empty
7)An image of 250x250 elements (pixels) what is the memory size of the image if:
a)Unit 8 b) Unit 16 c) Black & Whi
8) The game port register is used for two different purposes that are:
1-
2-
9) What is the FPGA device?
10) chose the correct answer for the following:
1- What is a result of connecting two or more switches together?
a) The size of the broadcast domain is increased. b) The number of collision domains is reduced.
b) The size of the collision domain is increased. c)The number of broadcast domains is increased.
arrow_forward
Write the code in assembly language
arrow_forward
Please no plagiarism and must be in your own
words (400 Words)
LIST THE BENEFITS OF RENEWABLE ENERGY (RE)
PROGRAMS FOR A COUNTRY.
arrow_forward
Please click on pic to open it
arrow_forward
For the following activities, draw the network diagram and by using forward
and backward pass, determine:-
1. Project duration.
2. Critical path.
Preceding
Duration
Activity
(day)
3
Act.
A
- --
A
4
C
A
2
B
E
C
1
F
C
2
D,E
F,G
G
4
H.
3
arrow_forward
Test 2: Modified true or false:Shade letter A if the first statement is True, Shade Letter B if the second
statement is True, Shade C if both statement is true, Shade D if both statements are false.
1. The passing general average rating shall be seventy percent (70%) with no grade below fifty
percent (50%) in any subjects.
Mathematics, such as: algebra, trigonometry, analytic geometry, differential calculus, integral
calculus, differential equations, complex numbers, probability and statistics, advanced
engineering mathematics including matrices, power series, Fourier analysis, Laplace transforms,
and others. The weight is twenty-five percent (25%).
2. All applications for oral examinations for professional electrical engineer and written
examinations for registered electrical engineer and registered master electrician shall be subject
to payment of fees prescribed by the Commission.
The members of the Board shall hold office for a term of three (3) years from the date of
appointment…
arrow_forward
Help I'm stuck on this homework question and my teachers are complete idiots
arrow_forward
Apex Learning - Courses
lic/activity/1003007/assessment
L 1.3.7 Quiz: The Map Case
Question 1 of 15
All forms of communication have a(n).
built into them.
O A. bias
O B. Mercator projection
C. map
D. audio component
SUBMI
PREVIOUS
arrow_forward
Give a correct copy solution (not typing) of this full question. Thank you!!!!
arrow_forward
Question Completion Status:
Click Submit to complete this assessment.
Question 8
What do you do to an asynchronous counter to let it count froms14 to 0?
(Handwriting solution is needed: include this in your pdf file)
Click Submit to complete this asseESment,
arrow_forward
Provide Your Answer as letter A if the first statement is True , Letter B if the second statement is True, Letter C if both statement is true, Letter D if both statements are false.
1. The passing general average rating shall be seventy percent (70%) with no grade below fifty percent (50%) in any subjects.
Mathematics, such as: algebra, trigonometry, analytic geometry, differential calculus, integral calculus, differential equations, complex numbers, probability and statistics, advanced engineering mathematics including matrices, power series, Fourier analysis, Laplace transforms, and others. The weight is twenty-five percent (25%).
2. All applications for oral examinations for professional electrical engineer and written examinations for registered electrical engineer and registered master electrician shall be subject to payment of fees prescribed by the Commission.
The members of the Board shall hold office for a term of three (3) years from the date of appointment or until their…
arrow_forward
Hi there, please help me with answering this question, I am a bit confused here. Please draw a circuit with the given information. It would be highly appreciated if all parts were answered clearly with explanation. Also, please read the question carefully because sometimes my questions are answered incorrectly and unfortunately I do not receive a refund for it. Please answer with legible handwritting as well. Thank you very much. Thumbs up always given for correct answers! (:
arrow_forward
DEGREE: ELECTRICAL ENGINEERING SUBJECT/COURSE: INDUSTRIAL ELECTRONICSTOPIC: TRANSFORMERS NOTE: Please solve in this way. 1. Please have a good handwriting, some of the answers are not readable. Thank you!2. GIVEN. (Include symbols and units)3. ILLUSTRATION (Required).4. Step-by-step SOLUTION with Formulas and Symbols. No Shortcut, no skipping, and detailed as possible5. FINAL ANSWERS must be rounded up to two decimal places with corresponding unit.
PROBLEM:An 80:5 current transformer is connected to a 5-amp ammeter. if the latter reads 3.65 amp, what is the line current?
arrow_forward
DEGREE: ELECTRICAL ENGINEERING SUBJECT/COURSE: INDUSTRIAL ELECTRONICSTOPIC: TRANSFORMERS NOTE: Please solve in this way. 1. Please have a good handwriting, some of the answers are not readable. Thank you!2. GIVEN. (Include symbols and units)3. ILLUSTRATION (Required).4. Step-by-step SOLUTION with Formulas and Symbols. No Shortcut, no skipping, and detailed as possible5. FINAL ANSWERS must be rounded up to two decimal places with corresponding unit.
PROBLEM:A 50:1 potential transformer is connected to a 150-volt voltmeter for the measurement of the high-side voltage of a distribution transformer. If the voltmeter deflection is 133, what is the transmission line voltage?
arrow_forward
DEGREE: ELECTRICAL ENGINEERING SUBJECT/COURSE: INDUSTRIAL ELECTRONICSTOPIC: TRANSFORMERS NOTE: Please solve in this way. 1. Please have a good handwriting, some of the answers are not readable. Thank you!2. GIVEN. (Include symbols and units)3. ILLUSTRATION (Required).4. Step-by-step SOLUTION with Formulas and Symbols. No Shortcut, no skipping, and detailed as possible5. FINAL ANSWERS must be rounded up to two decimal places with corresponding unit.
PROBLEM:The polarity test is performed upon a transformer. If the input voltage is Vin and the voltmeter readings are 121.8 volts (additive) and 110.2 volts (subtractive). Calculate the turns ration.
arrow_forward
DEGREE: ELECTRICAL ENGINEERING SUBJECT/COURSE: INDUSTRIAL ELECTRONICSTOPIC: TRANSFORMERS NOTE: Please solve in this way. 1. Please have a good handwriting, some of the answers are not readable. Thank you!2. GIVEN. (Include symbols and units)3. ILLUSTRATION (Required).4. Step-by-step SOLUTION with Formulas and Symbols. No Shortcut, no skipping, and detailed as possible5. FINAL ANSWERS must be rounded up to two decimal places with corresponding unit.
PROBLEM:A 2300/230-volt distribution transformer is tested for polarity. If 118 volts is impressed across high-side terminals, what will the voltmeter register if the polarity is additive and subtractive?
arrow_forward
DEGREE: ELECTRICAL ENGINEERING
SUBJECT/COURSE: INDUSTRIAL ELECTRONICS
NOTE: Please solve in this way.
Please have a good handwriting, some of the answers are not readable. Thank you!
GIVEN. (Include symbols and units)
REQUIRED/FIND/MISSING (with symbol/s and units)
ILLUSTRATIONS such as diagrams and graphs are Required
Step-by-step SOLUTION with Formulas and Symbols. No Shortcut, no skipping, and detailed as possible
FINAL ANSWERS must be rounded up to three decimal places with the corresponding units and must be enclosed in a rectangle.
arrow_forward
DEGREE: ELECTRICAL ENGINEERING
SUBJECT/COURSE: INDUSTRIAL ELECTRONICS
NOTE: Please solve in this way.
Please have a good handwriting, some of the answers are not readable. Thank you!
GIVEN. (Include symbols and units)
REQUIRED/FIND/MISSING (with symbol/s and units)
ILLUSTRATIONS such as diagrams and graphs are Required
Step-by-step SOLUTION with Formulas and Symbols. No Shortcut, no skipping, and detailed as possible
FINAL ANSWERS must be rounded up to three decimal places with the corresponding units and must be enclosed in a rectangle.
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
What is called Fossil Fuels and what are the main 3 types of Fossil Fuels?
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
Related Questions
- appropriate answer. Statement one The most common causes of death are falls from heights and being struck by vehicles in the workplace Statement two Following HSE guidance should significantly reduce the risk to an individual a) Statement one is correct and statement two is correct b) Statement two is correct and statement one is incorrect c) Both statements are incorrect d) Statement one is correct and statement two is incorrect actclass.co.uk 25 Questi 26 Questi 27 Questi 28 Questi 29 Questi 30 Submit Answersarrow_forwardPlease send the answer by typing only. I don't want handwritten. The subject is about Renewable Energy ( Fossil Fuels) 2. Can we replace the Fossil Fuels? How?arrow_forwardPlease send the answer by typing only. I don't want handwritten. The subject is about Renewable Energy ( Fossil Fuels) 7. What are the advantages and disadvantages of Fossil Fuels?arrow_forward
- For answers in acronyms use all CAPITAL Letters. For short answer capitalized the first letter of each word/words unless indicated in the questions. For numeric value with unit, 1 space in between.arrow_forwardimagearrow_forwardRefer to the National Electrical Code® or the working drawings when necessary. Where applicable, responses should be written in complete sentences. For problems 1 and 2, six luminaires, similar to Style E used in the Commercial Building, are to be installed in a room that is 12 ft x 18 ft (~3.7 m x ~5.5 m) with a 9 ft (2.8 m) floor-to-ceiling height. The spacing ratio for the luminaire is 1:0. 1. The maximum distance that the luminaires can be separated and achieve uniform illuminance is ft ( m). For problems 2-5, two luminaires, 8 ft (2.5 m) and 4 ft (1.2 m) in length with dimensions as shown in Figure 15-7, are to be installed in tandem (end to end). The end of the long luminaire is to be 2 ft (600 mm) from the wall. 2. The center of the outlet box should be roughed in at ft ( m) from the wall. 3. The first support should be installed at the wall. ft ( m) from 4. The second support should be installed at from the wall. ft ( m) 5. The final support should be installed at the wall. ft…arrow_forward
- Write short note on the below mentioned questions, Each question carries one mark. Students has to answer the questions typewritten in the word (.docx) format. Figures / Diagrams, equations and solving of problems should be written by hand. Take a picture of it and attach it inside the word file. a) High Voltages are preferred for Transmission of Electricity. Why? b) Why Generation Voltage Levels are low in the range of 11 kV/ 33 kV etc? C) Why ACSR Conductors are preferred over Copper Conductors? d) Overhead Transmission Lines are preferred for Transmission of Power for Long Distances, why? e) Alternating Current is preferred over Direct Current in Power System, Why? f) Write the Installed Generation Capacity of Sultanate of Oman with current energy share of Conventional and Non-Conventional Energy Sources. g) Why the Capacitance effect is neglected in Short Transmission Line. h) Distinguish between Lumped or Distributed elements in a Transmission Line.arrow_forwardNote:Please do not handwritten. Also, please write a lot of information in your own words.arrow_forwardPlease send the answer by typing only. I don't want handwritten. The subject is about Renewable Energy ( Fossil Fuels) 3. How the Fossil Fuels are contributing to global warming?arrow_forward
- i need ans within 15 minutes my best wishes tonarrow_forwardRemaining Time: 28 minutes, 20 seconds. A Question Completion Status: 3 4 6. 7 8. 9. 10 A Moving to another question will save this response. Question 1 The potential of point is absolute regardless any other points it does not matter Flase None True A Moving to another question will save this response. 2016298130 (1) pdf 2016298130.pdf P Type here to searcharrow_forwardPlease answer in typing format with explanationarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,