Answer:
Answer is in the provided screenshot!
Explanation:
Steps required to solve this problem:
1 - define what characters are "vowels" by assigning them to an array.
2 - create a variable to record the amount of vowels there are in the string.
3 - convert the input string into a character array and iterate through each character
4 - for each of the character of the string we go through, check if it matches any of the vowels
5 - return true if the vowel count is greater than 1
Alternative methods using the Java Stream API have also been wrote, please respond if you require them.
Answer:
a. Utilization = 0.00039
b. Throughput = 50Kbps
Explanation:
<u>Given Data:</u>
Packet Size = L = 1kb = 8000 bits
Transmission Rate = R = 1 Gbps = 1 x 10⁹ bps
RTT = 20 msec
<u>To Find </u>
a. Sender Utilization = ?
b. Throughput = ?
Solution
a. Sender Utilization
<u>As Given </u>
Packet Size = L = 8000 bits
Transmission Rate = R = 1 Gbps = 1 x 10⁹ bps
Transmission Time = L/R = 8000 bits / 1 x 10⁹ bps = 8 micro-sec
Utilization = Transmission Time / RTT + Transmission Time
= 8 micro-sec/ 20 msec + 8 micro-sec
= 0.008 sec/ 20.008 sec
Utilization = 0.00039
b. Throughput
<u>As Given </u>
Packet Size = 1kb
RTT = 20ms = 20/100 sec = 0.02 sec
So,
Throughput = Packet Size/RTT = 1kb /0.02 = 50 kbps
So, the system has 50 kbps throughput over 1 Gbps Link.
Answer:
B) 5 m/s
Explanation:
Took the test and this was the correct answer :)
Answer:
D
Explanation:
A and B are not valid because you cannot use "=" as a comparator (you must use "==" or "===").
C is not valid because the expression after the conditional is not a statement (it uses "==" instead of "=")