Answer:
i think its b
Explanation:
i did the test and got it right
Hi! I'm a Digital Marketer Intern at hotels.ng and I have a moderate knowledge on programming.
First, your question is not very explanatory. The term "view" is often used in back-end web development. A view is simply a Python function that takes a Web request and returns a Web response.
But I'm not sure this is what you want, so I'll just go ahead and write a python function involving class to return the total number of credits taken by a student.
I'll answer this question using Python.
class student(object):
credits = None
year = None
def num_credits(self):
#get credit value
self.credits = input("Enter the total number of credits: " )
pass
def getYear(self):
self.year = input("Enter current year: ")
pass
def tot_credits(self):
TotalCredits = tempTotalCredits + self.num_credits
print "Your total credits are :"+" "+str(TotalCredits)
Answer:
a). SLE =$37.5
b). ARO =75
c). ALE = $2,812.5
Explanation:
a).Single loss Expectancy (SLE) is starting point in determining the single loss of an asset that will occur and calculated this;
SLE = asset value * exposure factor.
Asset value =$500,
Exposure factor is simply the percentage of asset lost.
In this case out of 1000 phones, 75 were damaged or loss.
In percentage;
75 ÷ 1000 =0.075, 0.075×100=7.5%(exposure factor).
Therefore,
SLE = $500×7.5%= $37.5.
b). ARO - Annual Rate of Occurrence is the number of times a threat on a single asset is expected to occur in one year.
In the case the damage or loss occured in 75 devices in one year.
c). ALE - Annualized loss Expectancy is the product of SLE and ARO.
Therefore;
ALE = $37.5 × 75 = $2,812.5.
The simulation, player 2 will always play according to the same strategy.
Method getPlayer2Move below is completed by assigning the correct value to result to be returned.
Explanation:
- You will write method getPlayer2Move, which returns the number of coins that player 2 will spend in a given round of the game. In the first round of the game, the parameter round has the value 1, in the second round of the game, it has the value 2, and so on.
#include <bits/stdc++.h>
using namespace std;
bool getplayer2move(int x, int y, int n)
{
int dp[n + 1];
dp[0] = false;
dp[1] = true;
for (int i = 2; i <= n; i++) {
if (i - 1 >= 0 and !dp[i - 1])
dp[i] = true;
else if (i - x >= 0 and !dp[i - x])
dp[i] = true;
else if (i - y >= 0 and !dp[i - y])
dp[i] = true;
else
dp[i] = false;
}
return dp[n];
}
int main()
{
int x = 3, y = 4, n = 5;
if (findWinner(x, y, n))
cout << 'A';
else
cout << 'B';
return 0;
}
Either a 3d,2d printer, or a price label gun