<u>Answer:</u>
I am writing <em>partial code in</em> <em>c++ to calculate weighted average</em>. The weighted average should be calculated based on multiplying the test score and its <em>respective weight and finally add all the test score.</em>
<u>Explanation:</u>
<em>int arrtestscore[100];</em>
<em>int arrweight[100];</em>
<em>int n;</em>
<em>double weightedavg;</em>
<em>cout<<”Enter the number of test score for which weighted average needs to be calculated”;</em>
<em>cin>>n;</em>
<em>for(int x = 0; x <n;x++)</em>
<em>{</em>
<em> cout<<”Enter test score :” + (x+1) ;</em>
<em> cin>>arrtestscore[x];</em>
<em> count<<”Enter the respective weight:”;</em>
<em> cin>>arrweight[x];</em>
<em>}</em>
<em>for (int i=0; i<n;i++)</em>
<em>{</em>
<em> weightedavg = weightedavg + (arrtestscore[i] * arrweight[i])</em>
<em>}</em>
<em>cout<<”weighted average = “ <<weightedavg; </em>
Answer:
20 will be displayed on the console.
Explanation:
Given code is:
var numList = [10,20,30];
console.log(numList[numlist.length-2]);
The first line of code declares an array named numList and assigns it values given in the square brackets.
The second line of code is written to display the element on the index obtained by [numlist.length-2]
[numlist.length-2] means the second index.
Hence,
after running the code on JavaScript editor and dry running the code
20 will be displayed on the console.
<u>Answer:</u>
The correct answer option is D. set the switch to the highest range and then move it to a range that gives the most accurate reading.
<u>Explanation:</u>
When measuring an unknown voltage with an analog VOM, one should set the meter to the highest range and then move it to a range that gives the most accurate reading.
The reason being that the analog meters indicate the measurement of voltage by moving a needle across a physical card by printing numbers on it.
So in case the voltage is nearly 100 times the full range to which the meter is set, then its needle will try move to a position which will be 100 times the highest number on the meter.
Answer:
Explanation:
In this exercise, you will roll a pair of dice until the numbers add up to a given number. You can assume that the given number is 2, 3, 6, or 12. Using pseudocode, write an algorithm that returns the number of times the dice is rolled to achieve this number.
Answer:
The answer is "Option d".
Explanation:
The Iteration Management is also an activity in which all members of the team will determine how many the backlog team will allocate towards the next Iteration, and each team wraps up the work only as a group of determined iteration targets. in the given question the "choice d" is correct because The plans to achieve without training entered PO or design staff and requirements have not even been identified, and the wrong choice can be defined as follows:
- In choice A, T' he PO doesn't give the story detail, that's why it's incorrect.
- In choice B, the doesn't a team left the past for more refining with the PO in the Project Backlog, that's why it's incorrect.
- In choice C, The Development Team has not found some other team dependency, that's why it's incorrect.