Answer:
let cookieNumber = Math.floor(Math.random() * 10)
switch (cookieNumber) {
case 1:
document.write('Fortune 1')
break;
case 2:
document.write('Fortune 2')
break;
case 3:
document.write('Fortune 3')
break;
case 4:
document.write('Fortune 4')
break;
case 5:
document.write('Fortune 5')
break;
case 6:
document.write('Fortune 6')
break;
case 7:
document.write('Fortune 7')
break;
case 8:
document.write('Fortune 8')
break;
case 9:
document.write('Fortune 9')
break;
case 10:
document.write('Fortune 10')
Explanation:
The cookieNumber is generated using Math.random(), which is rounded to a whole number using Math.floor(). Then, a switch block is used to display a different fortune depending on the value of cookieNumber.
Answer:
I said CLI.
Explanation:
''A command-line interface (CLI) processes commands to a computer program in the form of lines of text.''- Wikipedia
An LFM IDPS
Using an LFM which stands for log file monitor, the system
is able to review log files generated by servers, network devices, and even
other idpss. Its main purpose is to look for signatures and patterns which might
indicate that an intrusion is in the pipeline or has already happened.
This
intrusion detection is enhanced due to the fact that LFM is in a position to
look at several log files from different systems.
Answer:
The diagram of the ER and depreciation is in the attachments.