subject

"Please Solve Problem 3 Please" Program 1(Total Point 15): You will use scanner class and ask users to enter numbers from 0 to 10 numbers. You will then extract only non prime numbers and store it in the set. You will then print the entire set contents.
Problem 2(Total Point 15): Write a Java program that performs following things.
Generate 10 random numbers
Store all the numbers into the set
Use the iterator or any other class to extract all the elements from the set
Perform addition
Display output
Problem 3(Total Point 15):
Create the tree map that should store following strings.
- Hello
- Today
- Is
- Monday
Once you stored all the data in the tree map, then loop thru the tree map and remove Monday
Program 4(Total Point 15): You will use the scanner class and ask users following things.
- Student Age (Value)
- Student Name (Key)
You will store information for at least 10 students on Map. You will then use iterator to print all the values. You will print the youngest student’s name.
Program 5(Total Point 15):
Create the logic to print below series.
Num1: 1
Num2: 3
Num3: 5
Num4: 7
Num5: 9
You then need to store the entire series into the Hash map and tree map and then print the entire series.
Problem 6(Total Point 15):
Create the set that should store following strings.
-This
-Class
-is
-good
-We
-have
-learned
-lot
-of
-things.
Once you stored all the data in the set/map, then loop thru the set using iterator and remove all the strings that starts with either C or o.
And print the entire set as the single statement.
Problem 7(Total Point 10)
You need to create a base class that should have the following functionality.
- Calculate avg. Students grade. Input parameter to this method is an array that shows grades for at least ten courses.
You need to create a child class that inherits the base class. The child class should have a method to calculate max grade from 10 courses.
You need to write a demo class. The demo class should have a main method that calls child class and able to provide max and avg. Grade.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Which of the following is not a way in which trees benefit the environment? a. they remove a significant amount of carbon dioxide from the atmosphere. b. they remove a significant amount of oxygen from the atmosphere. c. their roots hold soil in place, reducing rates of erosion. d. they remove ozone and particulates from the atmosphere. select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Does read theory have answers keys ?
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
You know the right answer?
"Please Solve Problem 3 Please" Program 1(Total Point 15): You will use scanner class and ask users...
Questions
Questions on the website: 13722367