Answer:
#include <stdlib.h>
#include <time.h>
#include<iostream.h>
int main(void) {
int seedVal = 0;
seedVal = 4;
srand(seedVal);
/* Solution*/
cout<<rand() % 149 + 100<<endl;
cout<<rand() % 149 + 100<<endl;
return 0;
}
Explanation:
We start with the required include statements to enable use of srand, rand and time functions. I have also added iostream library to use "cout" function.
After that, the seed is initialized using srand(). And then the two rand functions are called with ranges including and between 100 and 149, and printed out.
DDoS - Distributed Denial of Service
<u>Explanation:</u>
- In DDoS attack, the attack comes from various system to a particular one by making some internet traffic.
- This attack is initiated from various compromised devices, sometimes distributed globally through a botnet. It is different from other attacks such as (DoS) Denial of Service attacks, in which it utilizes an unique Internet-connected device ( single network connection) to stream a target with the malicious traffic.
- So in DDoS, multiple systems are involved in the attack and hence we can conclude that as the answer.
The answer to the given question is (B) PAN.
A PAN (personal area network) connection is <u>a network used for interconnecting devices centered on a person’s workspace</u>. Bluetooth is a type of wireless PAN. Bluetooth-based wireless PAN connection is also called a <em>piconet</em>. Other examples of PAN that is not wireless based include a USB drive.
Browsers ignore any values specified for the left or top properties under _____ positioning.
B