Answer:
if it's 0 then the number is even.else number is odd
Explanation:
if it's divisible by 2.then the reminder will be 0,
then the number is even.
thanks
Answer:
We learned that an ideal multiple access protocol has FOUR desirable
characteristics, describe them.
Explanation:
1.- Very experienced technology and easy to implement.
2.- Rigid resource management and unfit for variable traffic flows.
3.- Requires antenna duplexer for duplex transmission.
<u>Duplex</u> <em>is a term used in telecommunication to define a system that is capable of maintaining two-way communication, sending and receiving messages simultaneously.
</em>
4.- Normally FDMA is combined with multiplexing FDD.
<u>FDMA</u> (acronym in English for Frequency Division Multiple Access) <em>is a multiplexing technique used in multiple communication protocols, both digital and analog, mainly radio frequency, and among them in mobile phones of GSM networks.
</em>
<u>FDD</u> (Frequency Division Duplexing in English) <em>designates a duplex method in the environment of wireless telecommunications and over certain wired networks.</em>
Answer:
def wordLineCount(file):
dic = {}
with open(file,'r') as file:
text = file.read()
text = text.strip().split()
for word in text:
if word in dic:
dic[word] += 1
else:
dic[word] = 1
return dic
print(wordLineCount('ben.txt'))
Explanation:
The programming language used is python.
The program starts by defining the function, an empty dictionary is created to hold the words and the number of times that they occur. the with key word is used to open the file, this allows the file to close automatically as soon as the operation on it is finished.
The data in the file is read to a variable text, it is striped from all punctuation and converted to a list of words.
A FOR loop and an if statement is used to iterate through every word in the list and checking if they are already in the dictionary. if the word is already contained in the dictionary, the number of occurrences increases by one. otherwise, it is added to the dictionary.
check the attachment to see code in action.
Answer:
Scaling changes the size of the whole image by resampling it(duplicating the pixels). in cropping you only get a part of the original image/ remove the outer area of it .
Explanation: