Answer:
12. for (i = 0 ; i < testGrades.length ; i+=1 ){
13. if (testGrades[i] > 100){
14. sumExtra = sumExtra + testGrades[i] - 100;}
15. }
Explanation:
We first iterate through the entire testGrades array. For each test score that is in testGrades ( that is testGrades[i] ), we see whether or not the test grade is above 100 (See line 12) . If test grade is greater than 100, this means we have extra credit. We simply subtract 100 from the test grade, add it with the previous value of sumExtra and store the value back in sumExtra(see line 14). Once i is greater than the length of the test grades, the loop is exited. We can now print sumExtra to obtain the result.
One has more caramel and one has more cookie
Answer: Persistent
Explanation:
Persistent is the type of connection in the hyper text transfer protocol (HTTP) that act as communication channel in the network. It basically remain open after HTTP request or response to the server.
Persistent also maintain the HTTP connection and prevent it from the timing out with the help of transmission control protocol packets.
In the persistent connection, after request has been send TCP connection is leave by the server. Therefore, the request can be easily send between the similar server and client.
UX i believe. Web designer and graphic designer are visual which is the basis of UI. Think of UX as User eXperience and in order to have a good experience it has to flow. If it can flow then u can design it. Think of UX as the skeleton and UI is the flesh