Answer:
True
Explanation:
In order to be compliant with the NIST publications, policies must include key security control requirements. One of these key requirements includes certification and accreditation, which is a process that occurs after the system is documented, controls tested, and risk assessment completed. It is required before going live with a major system. Once a system is certified and accredited, responsibility shifts to the owner to operate the system is a true statement.
Answer:
10
Explanation:
num1=3 and num2=2
num3=myproc(num1)+myproc(num2)
myproc(num1) results 6
myproc(num2) results 4
when we add both e get 10
Answer:
CASE
Explanation:
Case Structure is a mechanism that allows different executions when there are several distinct possible values for a single variable, and each value requires a different subsequent action depending on the value of the label.
Case structure is also a conditional control structure that appears in most modern programming languages and allows a selection to be made between several sets of program statements.
Answer:
Information output and information storage
Explanation:
Output in the form of images, audio, printed on paper, video, 3D models, etc
Storage - saving information internally on hard drive and externally (HDD, SSD, RAID system, etc
Answer:
import numpy as np
def sample_median(n, P):
return np.median( np.random.choice ( np.arange (1, len(P) + 1 ), n, p = P ) )
print(sample_median(10,[0.1 0.2 0.1 0.3 0.1 0.2]))
print(sample_median(10,[0.1 0.2 0.1 0.3 0.1 0.2]))
print(sample_median(5, [0.3,0.7])
print(sample_median(5, [0.3,0.7])
Explanation:
- Bring in the numpy library to use the median function provided by the numpy library.
- Define the sample_median function that takes in 2 parameters and returns the median with the help of built-in random, choice and arrange functions.
- Call the sample_median function by providing some values to test and then display the results.
Output:
4.5
4.0
2.0
1.0