Answer:
(a) scope: function, lifetime: duration of the function
(b) scope: function, lifetime: duration of the program
(c) scope: global (all modules), lifetime: duration of the program
(d) scope: module (file), lifetime: duration of the program
Answer:
The output is attached below
Explanation:
d = {}
while True:
line = input("Enter line: ")
if len(line)==0:
break
token = line.split(' ')
for var in token:
try:
if len(var)==0:
continue
count = d[var]
d[var] = count + 1
except KeyError:
d[var] = 1
pass
for word in sorted(d):
print(word , d[word])
------------------
I know the first one is A) Bookmark sites and I think the second one is B) Cross-platform capability.
Answer:
The problem that created due to the difference in the model of programming language and the database model.
Explanation:
The practical relational model has three components which are as follows
1. Attributes
2. Datatypes
3. Tuples
To minimize this problem
1. We switch low pass L-Network to high pass L-network
2. We switch high pass L-Network to low pass L-network
3. We use the impedence matching transformer
Option A. is the correct answer the other three are not professional behaviour if you would like an explanation as to why they are not just comment