Code:
Here is the code. Also screenshot of the code and text file containing the code have been attached here.
This code has been written in Python 3.0
# getting input
lst = [ ]
n = 5
for i in range(0, n):
ele = int(input())
lst.append(ele)
print(lst)
# getting odd numbers and even numbers from list and compute average
odd_sum = 0
even_sum = 0
odd = 0
even = 0
for i in range(0, n):
if lst[i] % 2 == 0:
even_sum = even_sum + lst[i]
even = even + 1
elif lst[i] % 2 > 0:
odd_sum = odd_sum + lst[i]
odd = odd + 1
odd_avg = odd_sum/odd
even_avg = even_sum/even
print("there were",odd,"odd numbers in input")
print("there were",even,"odd numbers in input")
print("average of odd numbers in the list",odd_avg)
print("average of even numbers in the list",even_avg)
Denigration. it means to unfairly criticize someone or something
There are some typos in this question as the numbers become too large and lead to undefined during calculations.
so the correct data is:
Songs = 12
Rock = 15
Blues = 20
Disco = 15
The answer & explanation for this question is given in the attachment below.
The self-contained APs are autonomous, or independent, because they are separate from other network devices and even other autonomous AP,these are referred to as the Fat APs
Explanation:
A <u>fat AP wireless access poin</u>t is used to manage wireless client. In other words it can provide wireless access independently.It can handle encryption,authentication,and management of communication of client devices.
There are two types of wireless access points, <u>intelligent (fat) and thin wireless access points.
</u>
A thin access point can be a radio and antenna, that is controlled by a wireless switch.
Some role of Fat APs include
-
It controls the functionality of a central switch
- It provides for the Encryption of connected client devices
- It Manages the connected client devices
- It also performs the task of Authentication of the connected client devices