Answer:
option d: 25% unfavorable
Step-by-step explanation:
The budget is $40, and it was spent $50, so as the amount spent was higher than the budget, we have a unfavorable percent of variance.
The amount spent more than the budget was:
50 - 40 = 10
Now to calculate the percent of variance, we divide the value spent more than the budget (10) by the value of the budget (40)
Percent of variance = 10 / 40 = 0.25 = 25%
So the answer is 25% unfavorable, option d
We have a "rectangular" double loop, meaning that both loops go to completion.
So there are 3*4=12 executions of t:=t+ij.
Assuming two operatiions per execution of the innermost loop, (i.e. ignoring the implied additions in increment of subscripts), we have 12*2=24 operations in all.
Here the number of operations (+ or *) is exactly known (=24).
Big-O estimates are used for cases with a varying scale of operations, governed by a variable (usually n) to indicate the sensitivity of the number of operations relative to a change in the size of n.
Here we do not have a scale, nor n is defined. The number of operations is constant and known at 24. So a variable is required to find the big-O estimate.
Answer:
22.5
Step-by-step explanation:
If you divide y/x each ticket costs $2.5, so multiply 2.5x9 and that's your answer. :)
I don't understand your question are you multiplying or what