<span>Computer design replaced (B) models draw or created by hand. Technology nowadays has a big contribution in terms of planning and designing a building or a structure without burning your eyebrow facing that paper and handling your pen. Computer designs are used to make the design more accurate and more precise compared to traditional hand drawn designs.</span>
1.For each of the following, give the name of an element from Period 4 (potassium to krypton), which matches the description.
Elements may be used once, more than once or not all.. Single line text.
(1 Point)
an element that reacts with water to produce a lilac flame
2.For each of the following, give the name of an element from Period 4 (potassium to krypton), which matches the description.
Elements may be used once, more than once or not all.. Single line text.
(1 Point)
an element used as an inert atmosphere
3.For each of the following, give the name of an element from Period 4 (potassium to krypton), which matches the description.
Elements may be used once, more than once or not all.. Single line text.
(1 Point)
an element that has a valency of 3
4.Write a balanced chemical equation for the reaction between potassium and water. (Non-anonymous question). .
(1 Point)
Upload file
File number limit: 1Single file size limit: 10MBAllowed file types: Word, Excel, PPT, PDF, Image, Video, Audio
5.For each of the following, give the name of an element from Period 4 (potassium to krypton), which matches the description.
Elements may be used once, more than once or not all.. Single line text.
(1 Point)
an element with a fixed valency of 2 that not is not in group 2
Between the intersection between every column and row is a cell.
Answer:
The Python code is given below with appropriate comments
Explanation:
#required method, assuming Volume class is defined and is accessible
def partyVolume(filename):
#opening file in read mode, assuming file exists
file=open(filename,'r')
#reading initial volume
initial=float(file.readline())
#creating a Volume object with initial volume
v=Volume(initial)
#looping through rest of the lines in file
for line in file.readlines():
#removing trailing/leading white spaces/newlines and splitting line by white
#space to get a list of tokens
line=line.strip().split(' ')
#ensuring that length of resultant list is 2
if len(line)==2:
#reading first value as direction (U or D)
dir=line[0].upper()
#reading second value as float value
value=float(line[1])
if dir=='U':
#turning volume up
v.up(value)
elif dir=='D':
#turning volume down
v.down(value)
#closing file, saving changes
file.close()
#returning volume
return v