Answer:
numbers = 1:1:100;
for num=numbers
remainder3 = rem(num,3);
remainder5 = rem(num,5);
if remainder3==0
disp("Yee")
else
if remainder3 == 0 && remainder5 == 0
disp ("Yee-Haw")
else
if remainder5==0
disp("Haw")
else
disp("Not a multiple of 5 or 4")
end
end
end
end
Explanation:
- Initialize the numbers variable from 1 to 100.
- Loop through the all the numbers and find their remainders.
- Check if a number is multiple of 5, 3 or both and display the message accordingly.
Pseudocode
<span>
Start
<span>
input myNumber
<span>
set myAnswer = myNumber / 2
output myAnswer
<span>
stop
<span>Pseudocode is a computer programming language that resembles plain English
and compiled or process into the computer. It explains the solution of the problem.
Sometimes used as a detailed step by step process in developing a program</span></span></span></span></span>
The correct answer is
<span>B)</span>
1.4
It can be difficult to become a high earner in the U.S
without a college degree. Those with a high school diploma or less are the
lowest earners on average. According to research, average yearly earnings for
someone with a bachelor’s degree are $59,124 as compared to someone with a high
school diploma who earns an average of $35,256 per year. Thus, at the end of
the day, the amount of money does become significant.
Answer:
a. Convenience
b. Random
c. Stratified
d. Systematic
Explanation:
Types of sampling:
The selection of sample is arbitrary and each member has an equal chance of selection.
This selection does not take probability of selection into account rather focuses on the convenience and proximity of the member for selection.
An ordered system is decided to choose the members for this sample.
This sampling plan divided the population into groups, called clusters. A cluster is then randomly selected from the selected population.
The members of the population are divided into groups, called strata. A random sample is drawn from each strata.
Answer:
B. The Active object's animation stops looping.
Explanation:
As the new event happens, the loop tells it to happen by stopping. And hence, B is the correct option out here. Neither A or C and Nor D is the correct option. The animation does not end here, and the next event takes place. Also, the active object's animation does not change the speeds. Hence, the correct option here is certainly the B.