Answer:
Tbh i dont even know
Explanation:
I had who i wanted to become president but i don't even know anymore
The logical expressions are
- (X NOR Y ) OR Z ⇒
- (A NAND B) AND NOT C ⇒
<h3>How to determine the
logical expressions?</h3>
<u>Logical expression 1</u>
X and Y are linked by the NOR gate.
So, we have:
X NOR Y
The X NOR Y is linked to Z by the OR gate.
So, we have:
(X NOR Y) OR Z
Hence, the logical expression is (X NOR Y ) OR Z ⇒
<u>Logical expression 2</u>
A and B are linked by the NAND gate.
So, we have:
A NAND B
The A NAND B is linked to C by the AND gate.
So, we have:
(A NAND B) AND C
Hence, the logical expression is (A NAND B) AND NOT C ⇒
See attachment for the truth tables
Read more about truth tables at:
brainly.com/question/27989881
#SPJ1
Answer:
In Python:
import os.path
from os import path
fname = input("Filename: ")
if path.exists(fname):
with open(fname) as file_in:
lines = []
for line in file_in:
lines.append(line.rstrip('\n'))
f = open("stat.txt","r+")
f.truncate(0)
f = open("stat.txt", "a")
f.write("Names\tTotal\tSubjects\tAverage\n")
for i in range(len(lines)):
rowsum = 0; count = 0
nm = lines[i].split()
for j in nm:
if (j.isdecimal()):
count+=1
rowsum+=int(j)
average = rowsum/count
f.write(nm[0]+"\t %3d\t %2d\t\t %.2f\n" % (rowsum, count, average))
f.close()
else:
print("File does not exist")
Explanation:
See attachment for explanation where comments were used to explain each line
The correct answer should be process type of software metric. The process metrics are used to help in strategic decision making. The processes such as work products delivery, expended human hours and conformance to quality and schedule are all metrics in the process domain.