![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 12.12.2020 17:00, maddiemalmstrom
Class Averages
Description: There are two students who are taking the exact same classes. You have been asked to compare the student averages. Each student has taken 4 classes. You should read in the data and produce a chart output of the average for each class for each student.
Requirements: file input, methods, output, decision making
Sample:
Course ID Student# Course Average
CIS 110 1 79.10
2 65.00
ENG 111 1 73.40
2 85.00
MTH141 1 89.80
2 80.60
CHM 121 1 72.20
2 91.40
Average for student 1: 78.625
Average for student 2: 80.50
0 10 20 30 40 50 60 70 80 90 100
CSC
ENG
MTH
CHM
![answer](/tpl/images/cats/otvet.png)
Answers: 2
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30, jackie0833
Which option allows you to view slides on the full computer screen?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 19:00, brittneyrenae7338
This question involves a class named textfile that represents a text file. public class textfile { private string filename; private string filename; private arraylist words; // constructors not shown // postcondition: returns the number of bytes in this file public int filesize() { } // precondition: 0 < = index < words. size() // postcondition: removes numwords words from the words arraylist beginning at // index. public void deletewords(int index, int numwords) { } // precondition: 0 < = index < = words. size() // postcondition: adds elements from newwords array to words arraylist beginning // at index. pub lic voidaddwords(int index, string[] newwords) { } // other methods not shown } complete the filesize() method. the filesize() is computed in bytes. in a text file, each character in each word counts as one byte. in addition, there is a space in between each word in the words arraylist, and each of those spaces also counts as one byte. for example, suppose the words arraylist stores the following words: { mary had a little lamb; its fleece was white as snow. } the filesize() method would compute 4 + 3 + 1 + 6 + 5 + 4 + 6 + 3 + 5 + 2 + 5 as the sum of the lengths of each string in the arraylist. the value returned would be this sum plus 10, because there would also be 10 spaces in between the 11 words. complete the filesize() method below: // postcondition: returns the number of bytes in this file public int filesize() { }
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 19:40, Latoyajenjins1789
Use a physical stopwatch to record the length of time it takes to run the program. calculate the difference obtained by calls to the method system. currenttimemillis() just before the start of the algorithm and just after the end of the algorithm. calculate the difference obtained by calls to the method system. currenttimemillis() at the start of the program and at the end of the program so that the elapsed time includes the display of the result. use the value returned by the method system. currenttimemillis() just after the end of the algorithm as the elapsed time.
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:40, ndurairajownkpq
What social factors affect your health
Answers: 3
Do you know the correct answer?
Class Averages
Description: There are two students who are taking the exact same classes. You have...
Questions in other subjects:
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/fizika.png)
Physics, 27.05.2020 20:03
![Konu](/tpl/images/cats/mat.png)
Mathematics, 27.05.2020 20:03
![Konu](/tpl/images/cats/es.png)
Spanish, 27.05.2020 20:03
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/istoriya.png)
History, 27.05.2020 20:03
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 27.05.2020 20:03
![Konu](/tpl/images/cats/es.png)
![Konu](/tpl/images/cats/mkx.png)
Arts, 27.05.2020 20:03