Answer:
#include <iostream>
using namespace std;
int main()
{
cout<< rand() % 50 + 100 <<endl;
cout<<rand() % 50 + 100 <<endl;
return 0;
}
Explanation:
The rand() gives you a random number. If you use rand() % 50, it will give you a random number between 0 and 49. Since we are required to have the numbers between 100 and 149, add 100 to this expression. This way, you will have a random number between 100 and 149. Type this expression two times and use "endl" to end with a new line.
Answer: Synchronization
Explanation:
In communication of messages between processes we have a mechanism called as the interprocess communication (IPC) using which it is required to achieve synchronization between the process. These synchronization helps to prevent collision of the processes for the shared resources. Examples can be of mechanism of producer consumer problem .
The correct statements for the code below are:
- An object of the ActivationLayer class has a name attribute.
- print(FCLayer(42)) prints FullyConnectedLayer.
- When creating an object of the BaseLayer class, the name argument must be given.
<h3>What is activation layer?</h3>
Activation layer is known to be the added into the code after the weight layer.
Note that The correct statements for the code below are:
- An object of the ActivationLayer class has a name attribute.
- print(FCLayer(42)) prints FullyConnectedLayer.
- When creating an object of the BaseLayer class, the name argument must be given.
See options below
An object of the ActivationLayer class has a name attribute.
An object of the BaseLayer class has a size attribute.
print(FCLayer(42)) prints FullyConnectedLayer.
When creating an object of the ActivationLayer class, the size argument must be given.
When creating an object of the BaseLayer class, the name argument must be given.
Learn more about code from
brainly.com/question/26497128
#SPJ1
Answer:
The following statement is True.
Explanation:
Because when we are applying the pair t-test then, take differences of that pair and then treat it as an individual samples. Formula for the test is a statistic and in this case, it is also same as formula in the one-sample of t statistics.
Therefore, it will be an equivalent to the one-sample t-test.
Answer:
The three options are:
1. Avoid sharing files and folders over the network without the permission of your administrators. You might fall in trouble otherwise.
2. Never share your credit card details with a third party through the internet. You can lose a lot of or all your money.
3. Always ensure that your password is strong enough or else your account can be hacked, And never share them with anybody.
Explanation:
Please check the answer.