<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:
A page that gets a Didn't Load flag
Pages with an obvious problem with functionality or errors in displaying content
Explanation:
The main reason why a page gets Page Quality rating Low/Lowest is if it can't be shown for one reason or another.
A page with mismatch between the location of the page and the rating location, does have a mismatch but some form of a page is shown.
A file type other than a webpage displays that specific file type in a page framework, so page is shown
Other two do not show a page, so they will get a PQ rating Low/Lowest
The command is : <span>rm [Aa]*[Zz] </span>
Answer:
A. Define boundaries
C. Deny access
D. Delay access
Explanation:
A barrier is a material or structure used to prevent or block access. Barriers can either be natural or structural and are used for many purposes usually for security reasons. The following are functions of barriers either natural or structural:
- Define areas of boundaries
- Delay or slow access. Example is the use of speed bumps to slow down vehicles.
- Provide access to entrances such as the use of gates
- Deny access to unauthorized personnel and allowing authorized personnel.