
Concept explainers
Write a Java program using methods and arrays.
Create “HW9_lastname.java” program that:
- Prints a program title
- Creates a table with grades for our class students and
initializes grades with random values
- Finds the largest grade for every student
- Displays the following information:
Student name:
CIS 232 Introduction to
Programming Project 9
Due Date: November 9, 2020
Instructor: Dr. Lomako
ASSIGNMENT GRADES
HW1 HW2 NW3 HW4 HW5 HW6 HW7 Student Name
_______________________________________________________
0001 0076 0078 0068 0003 0012 0048 Adams
0033 0042 0035 0020 0021 0058 0060 Aimuengheuwa
0013 0021 0037 0099 0025 0098 0060 Bennett
0068 0089 0007 0051 0083 0057 0080 Bowen
0062 0078 0083 0013 0023 0043 0098 Brown
0052 0003 0033 0091 0003 0031 0080 Brumaire
0057 0076 0089 0053 0026 0028 0022 Bubb
0089 0081 0079 0100 0092 0024 0084 Clarke
0022 0074 0009 0052 0002 0061 0026 Crawford
0097 0037 0046 0010 0058 0036 0098 Garcia
0053 0046 0013 0075 0008 0097 0011 Godfrey
0013 0025 0085 0021 0059 0086 0088 Grenade
0030 0039 0092 0026 0067 0024 0016 Jean-jacques
0046 0023 0063 0066 0095 0072 0090 Labissiere
0058 0079 0078 0033 0093 0067 0048 Lian
0043 0025 0020 0065 0054 0087 0054 Mompremier
0067 0011 0017 0085 0021 0008 0013 Obadi
0088 0018 0032 0051 0017 0033 0083 Ogbormeh
0018 0033 0076 0061 0061 0036 0037 Penalo
0092 0006 0014 0041 0052 0031 0042 Ragland
0014 0100 0039 0051 0019 0019 0084 Sancho
0011 0053 0001 0001 0020 0049 0049 Stanislaus
0057 0094 0029 0021 0040 0010 0006 Wright
The largest student's grade
78 is the largest grade of Adams
60 is the largest grade of Aimuengheuwa
99 is the largest grade of Bennett
89 is the largest grade of Bowen
98 is the largest grade of Brown
91 is the largest grade of Brumaire
89 is the largest grade of Bubb
100 is the largest grade of Clarke
74 is the largest grade of Crawford
98 is the largest grade of Garcia
97 is the largest grade of Godfrey
88 is the largest grade of Grenade
92 is the largest grade of Jean-jacques
95 is the largest grade of Labissiere
93 is the largest grade of Lian
87 is the largest grade of Mompremier
85 is the largest grade of Obadi
88 is the largest grade of Ogbormeh
76 is the largest grade of Penalo
92 is the largest grade of Ragland
100 is the largest grade of Sancho
53 is the largest grade of Stanislaus
94 is the largest grade of Wright
Remember, the class name must be the same, as the java file name!

Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 5 images

- in c++ Exercise Tasks: Create a project <yourfirstandlastName>Ex8 and .cpp file. When you are finished with the exercise, please submit the corresponding .cpp file using moodle. For tasks 2 through 4 create an integer array with 100 randomly generated values between 0 and 99; pass this array into all subsequent functions. Place code in your main to call all the methods and demonstrate they work correctly. Using just the at, length, and substr string methods and the + (concatenate) operator, write a function that accepts a string s, a start position p, and a length l, and returns a subset of s with the characters starting at position p for a length of l removed. Don’t forget that strings start at position 0. Thus (“abcdefghijk”, 2, 4) returns “abghijk” Create a function that accepts the integer array described above returns the standard deviation of the values in a. The standard deviation is a statistical measure of the average distance each value in an array is from the mean.…arrow_forwardComputer Science JAVA #7 - program that reads the file named randomPeople.txt sort all the names alphabetically by last name write all the unique names to a file named namesList.txt , there should be no repeatsarrow_forwardArrays can be created to store values of multiple data types at one place. True False in javaarrow_forward
- JAVA based programarrow_forwardIn Java using recursion, create a program with a GUI that will allow a user to enter five numbers. The program will provide the product of all five numbers using recursive methods.arrow_forwardA file USPopulation.txt contains the population of the US starting in year 1950 and then each subsequent record has the population for the following year. USPopulation.txtDownload USPopulation.txt Write a program that uses an array with the file that displays these in a menu and then produces the results. This is not an Object Oriented Program but should be a procedural program, calling methods to do the following: 1: Displays the year and the population during that year 2. The average population during that time period (Add up the populations of all records and divide by the number of years). 3. The year with the greatest increase in population - print the year and that population and that amount. To figure this out, compare the difference in population before of say year 1950 and 1951, store that difference somewhere. Compare 1951 with 1952, find that difference. Is that difference greater than the stored difference? If so, move that the the maximum place. 4.…arrow_forward
- in java #6 - program that reads the name data from the files named firstNames.txt and lastNames.txtand produces a list of 1000 random names randomPeople.txtone complete name (firstname lastname) per linearrow_forwardWrite a code in python for this exercise belowarrow_forwardIn this project you will generate a poker hand containing five cards randomly selected from a deck of cards. The names of the cards are stored in a text string will be converted into an array. The array will be randomly sorted to "shuffle" the deck. Each time the user clicks a Deal button, the last five cards of the array will be removed, reducing the size of the deck size. When the size of the deck drops to zero, a new randomly sorted deck will be generated. A preview of the completed project with a randomly generated hand is shown in Figure 7-50.arrow_forward
- Java - Normalizingarrow_forwardDesign a program that asks the user to enter a store’s sales for each day of a 7 day week. The amounts should be stored in an array. Use a loop to calculate the total sales for the week, the average sales per day, and also display the list of values. This is for java.arrow_forwardplease write in javaarrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





