Answer:
Following is the loop statement in the Python programming language
salaries=[93.85967,4232.32,13343.3434] #storing the values in salaries
for k in salaries:#iterating the loop
print("%12f"%round(k,2))# print the width of 12 and a precision of 2
Output:
93.860000
4232.320000
13343.340000
Explanation:
Following is the description of the statement
- Declared a dictionary "salaries" and initialized some values into it.
- iterating the for a loop .
- In this for loop print the width 12 and a precision of 2 .The print statement in python will
- print the data with width 12 and a precision of 2 in the console window
Answer:
<u>The total time elapsed from the time a bit is created (from the original analog signal at Host A) until the bit is decoded (as part of the analog signal at Host B is </u><u>25.11 ms</u>
Explanation:
Host A first converts the analog signal to a digital 64kbps stream and then groups it into 56-byte packets. The time taken for this can be calculated as:
time taken 1= 
= (56 x 8) bits / 64 x 10³ bits/s
= 7 x 10⁻³s
time taken 1= 7 ms
The transmission rate of the packet from Host A to Host B is 4 Mbps. The time taken to transfer the packets can be calculated as:
time taken 2= (56 x 8) bits / 4 x 10⁶ bits/s
= 1.12 x 10⁻⁴ s
time taken 2= 112 μs
The propagation delay is 18 ms.
To calculate the total time elapsed, we need to add up all the time taken at each individual stage.
<u />
<u> = Time taken 1 + Time taken 2 + Propagation Delay</u>
= 7 ms + 112 μs + 18 ms
= 0.025112 s
= 25.11 ms
Answer:
Line of sight and rules of composition
Explanation:
He needs the rules of composition in order to use the line of sight