Answer:
Hello attached is the Java program written to solve the problem
The Pet.java and Dog.java files are unaltered
Explanation:
The input and output codes are attached as well i.e the second image is the input while the third image is the output code
Answer: see description
Explanation:
first we accommodate the bit pattern in a matrix of 4x4 which is the minimum length checksum field, now with even parity two-dimensional scheme we need to complete this matrix by adding one row and one column by adding at the end of each row a 1 or a 0 to complete pairs of 1's:
we have
![\left[\begin{array}{cccc}1&1&1&0\\0&1&1&0\\1&0&0&1\\1&1&0&1\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bcccc%7D1%261%261%260%5C%5C0%261%261%260%5C%5C1%260%260%261%5C%5C1%261%260%261%5Cend%7Barray%7D%5Cright%5D)
so we complete with this, adding a row at the end which matches a pair number of 1's
![\left[\begin{array}{ccccc}1&1&1&0&1\\0&1&1&0&0\\1&0&0&1&0\\1&1&0&1&1\\1&1&0&0&0\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccccc%7D1%261%261%260%261%5C%5C0%261%261%260%260%5C%5C1%260%260%261%260%5C%5C1%261%260%261%261%5C%5C1%261%260%260%260%5Cend%7Barray%7D%5Cright%5D)
Answer:
C) /etc/updatedb.conf
Explanation:
The locate command actually uses the configuration file located at /etc/updated.conf.
Answer:
<em>Written in Python</em>
names= []
birthday = []
name = input("Name: ")
bday = input("Birthday: ")
for i in range(1,11):
names.append(name)
birthday.append(bday)
if name == "ZZZ":
break;
else:
name = input("Name: ")
bday = input("Birthday: ")
print("Length: ", end='')
print(len(names))
checknm = input("Check Name: ")
while checknm != "ZZZ":
if checknm in names:
ind = names.index(checknm)
print(birthday[ind])
else:
print("Sorry, no entry for name")
checknm = input("Check Name: ")
Explanation:
<em>The program is written in Python and I've added the full source code as an attachment where I used comments to explain difficult lines</em>
<em />
Answer:
The answer is "check the worksheet is not read only"
Explanation:
The read only mode is used for read the file data, and it doesn't allows the user to update the file, and for updating the worksheet we should check iut does not open in the read-only mode.
If it is open, then we close it and for close we goto the office button and click on the tools option after that goto general setting, in this there is a check box for turn off the read-only mode.