Answer:
Explanation:
The following Python program uses a combination of dictionary, list, regex, and loops to accomplish what was requested. The function takes a file name as input, reads the file, and saves the individual words in a list. Then it loops through the list, adding each word into a dictionary with the number of times it appears. If the word is already in the dictionary it adds 1 to its count value. The program was tested with a file named great_expectations.txt and the output can be seen below.
import re
def wordCount(fileName):
file = open(fileName, 'r')
wordList = file.read().lower()
wordList = re.split('\s', wordList)
wordDict = {}
for word in wordList:
if word in wordDict:
wordDict[word] = wordDict.get(word) + 1
else:
wordDict[word] = 1
print(wordDict)
wordCount('great_expectations.txt')
Answer:
TCP
Explanation:
Transmission control protocol ensures packets loss and performs retransmission
TCP works with Internet Protocol (IP)
TCP/IP defines how computers send data packets to each other.
TCP allows transmission of information in both the direction.
Bit rate :defines the rate at which bits are transferred from one place to another
<span>Filter installation in
ADSL setup, the DSL filters should on connections leading to an analog phone.
The DSL modem and phone were share on the same jack. ADSL is a type of digital
subscriber line machinery, a data communication that enables faster data transfer
over copper telephone lines.</span>
Answer: Parentheses
Explanation:
The open and close parentheses basically identify the visual basic statement in the procedure call statement.
The close procedure basically in the visual basic statement basically terminate the call of a program that performed the real processing. Open and close is also known as right and left parentheses.
The close statement is basically control the pre-defined programming statement in the particular close procedure.