17.incorrect code........................sorry I'm not sure about number 16
It's an incomplete, therefore wrong, description of "<span>B. Browser using a URL to access a web page"
After the nameserver returns the IP address of the domain, the client machine makes the page request from the IP address. The client's browser parses (reads) the HTML code, makes calls to the server for any other files (href, img and media) and displays the HTML content according to visual specifications in the CSS (Cascading Style Sheet).
</span>
Answer:
I dont try, but sometimes when i get the question wrong i get reported :(
Explanation:
Solution :
It is given that Lael always looks out for the students who are interested in running for the office in a student group.
We use an excel sheet to determine whether a student had already elected to the office of the student group or not.
The formula used for the excel sheet used is :

K L M N
Elected group Finance certificate
Yes Yes Yes
No Yes Yes
No No No
Answer:
The solution code is as follows:
- #include <iostream>
- #include <fstream>
- #include <string>
- using namespace std;
- int main()
- {
- ifstream data;
- float number;
- float sum = 0;
-
- data.open("numbers.txt");
-
- while (data >> number) {
- sum = sum + number;
- }
- cout<<sum;
- return 0;
- }
Explanation:
Firstly, we create a ifstream object, <em>data</em> (Line 9). Then we can use the ifstream object to open the "numbers.txt" (Line 13) and use while loop to traverse through the number in the text file line by line (Line 15). White the loop is ongoing the number in each line is read by >> operator in a similar way to cin and then add each read number to sum variable (Line 16).
At last, display the output (Line 18).