Answer:
Answer explained below. Python language used
Explanation:
The size of the square is of size 10. So assuming zero indexing,
vertical side1 (column Index = 5): row index from 5 to 14
vertical side1 (column Index = 14): row index from 5 to 14
horizontal side1 (row Index = 5): column index from 5 to 14
horizontal side2 (row Index = 14): column index from 5 to 14
Note:
while indexing, data_new[a:b,c] denotes,
row index: a to b-1
column index: c
Similarly data_new[a,b:c] denotes,
row index: a
column index: b to c-1
<u>Code:
</u>
import matplotlib.pyplot as plt
import numpy as np
size_1 = 20
size_2 = 20
data_new = np.random.random((size_1,size_2))
data_new[5:15,5] = 4
data_new[5:15,14] = 4
data_new[5,5:15] = 4
data_new[14,5:15] = 4
fig = plt.figure(figsize=(10,10))
plt.imshow(data_new)
plt.colorbar()
plt.show()
<span>When information about a person remains on the internet indefinitely it is known as digital footprint.
</span>A digital footprint is all of the information on-line about a person posted by that person or others,<span>intentionally or unintentionally.
</span><span>Protecting what is added to your digital footprint is very important.</span>
Answer:
b) False.
Explanation:
Port explorers are tools used by both attackers and defenders to identify (or fingerprint) the computers that are active on a network, as well as the ports and services active on those computers, the functions and roles the machines are fulfilling, anAn IDPS can be configured to dial a phone number and produce an alphanumeric page or other type of signal or message., is a FALSE statement.
Answer:
inFile.open("progdata.dat");
Explanation:
This command opens the file which is passed to it as an argument. We are quite used to the C++'s cin and cout functions contained in iostream library for reading and writing data, however, when working will real-life stuff, we find ourselves working with huge data saved as separate files and require our programs to read them, manipulate them and possibly write back to the files... The first operation usually carried out before a file can be read or written to is open