1. Write a program in a class EvensOddsAvg that counts the integers that are below the average. Read fifteen integers from the keyboard and place them in an array. Compute the sum and count of the evens and the odds separately. Find the average of the integers, and count and display the integers which are below average. Please Java Code
Q: How can you erase data that your JavaScript commands have stored in local storage? a. No action is…
A: Given To know about the java script command and java script language.
Q: What is the process through which a virtual network interface card (vNIC) obtains a MAC address?
A: Process through which a virtual network interface card (vNIC) obtains a MAC address:- Virtual…
Q: What are your thoughts on digital media protection, and how do you believe gadgets such as these…
A: Given: What are your thoughts on DMP, and how will these tools affect mobile device investigations?…
Q: What does the word "kernel mode" signify in terms of operating systems?
A: Introduction: Kernel mode: Kernel mode and system mode are the two working modes of the central…
Q: Some systems analysts don't think it's necessary to keep track of the source code. They say that by…
A: The question has been answered in step2
Q: If you could explain one of the cache techniques in detail, that would be really appreciated
A: Given: To quickly explain one of the cache approaches, kindly do so. I will cover MESI Protocol: The…
Q: What printers can be allocated an IP address, and which ones can't?
A: Almost every printer can print a network setup page, which provides the printer's IP address. If…
Q: In this Spark example what is the output? Explain myData = "resilient distributed datasets" data =…
A: The question has been answered in step2
Q: Give an explanation of the advantages as well as the disadvantages that are associated with the…
A: ANSWER:-
Q: Find at least three firms that provide free or shareware CASE tools on the Internet. Give an…
A: CASE Tools: A CASE tool is a piece of software used to model, evaluate, and record business…
Q: The characteristics that are inherently present in wireless networks give rise to a diverse set of…
A: Given: Wireless networks' fundamental properties produce a variety of issues. Give examples of three…
Q: The characteristics that are inherently present in wireless networks give rise to a diverse set of…
A: The question has been answered in step2
Q: The characteristics that are inherently present in wireless networks give rise to a diverse set of…
A: The Answer start from step-2.
Q: List the many kernel components present in a typical operating system and provide a brief…
A: Kernel Elements The central processing unit (CPU) of an operating system for computers is called the…
Q: It's possible that some individuals find cybercrime appealing. Other folks aren't like that.
A: Cybercrime: Any illegal behavior using a computer, a networked device, or a network is considered a…
Q: Create two matrices called A and B of random integer in range (-100,100) with size (5,5). Then,
A: The code is given blew step:
Q: An information system is made up of a number of different pieces
A: The answer is given in the below step
Q: What are some of the considerations that have to be made throughout the process of creating the…
A: Solution: Software component: It is the responsibility of software to instruct hardware on what to…
Q: Design an algorithm that will prompt for and receive 20 integers from an operator at a terminal, and…
A: a.A Defining diagram A defining diagram can be a tabular representation of the input required ,…
Q: The characteristics that are inherently present in wireless networks give rise to a diverse set of…
A: Given: There are several difficulties brought on by the characteristics of wireless networks. Give…
Q: Computers nowadays are so advanced that this is possible. Are there some schools where it wasn't so…
A: Computer: A computer is a tool for processing and storing data. Most computers use a binary system,…
Q: Installing software on a PC, a mobile device, or even a web browser involves the same basic…
A: Introduction: A software programme that may be transferred from one computer to another is referred…
Q: As a result of today's technology, this is now a reality. How did computers become so prevalent in…
A: The question has been answered in step2
Q: Create a truth table for each statement. 1. AA ~B 2. ~(~A V B) 3. (A A B) → C 4. (A V B)→ ~C 5.…
A: Introduction to the truth table Logic operations are carried out using truth tables. Boolean algebra…
Q: Methods Java Write the appropriate method headings using the provided method name for the following…
A: The program is written in Java. Please find the source code and output in the following steps.
Q: Is it feasible to have the same MAC address on two distinct network interfaces? Is this the case, or…
A: Network Interfaces: The point of the connection between a computer and a private or public network…
Q: Why did the original Linux developers decide to build a kernel that does not support preemption?…
A: The non-preemptible kernel was the choice of the original Linux developers for what reason? What is…
Q: Is utilizing a document store rather than a relational database better?
A: Introduction : According to the query, a computer programme and information storage system built for…
Q: If you could perhaps explain three strong explanations as to why the spiral model is preferable than…
A: The SDLC process brings both the spiral and waterfall models into play. These models are used in the…
Q: The characteristics that are inherently present in wireless networks give rise to a diverse set of…
A: Given: There are several difficulties brought on by the characteristics of wireless networks. Give…
Q: To add a question and answer section to an online workbook, what steps should be taken?
A: Find Your Answer Below
Q: What is the difference between additive and subtractive colour mixing? Question 55 options:…
A: Question 55 What is the difference between additive and subtractive colour mixing? Answer is the 3rd…
Q: network
A: The Network allows computers to connect and communicate with diffrents computers via any medium.…
Q: Write Python program to create a list of 1 with length 20 in three different ways
A: Coded using Python Language.
Q: A major part of the meaning of "kernel mode" may be attributed to operating systems.
A: Introduction The following section contains detailed information about kernel mode and the numerous…
Q: When it comes to the process of sending and receiving email over the internet, what are the most…
A: ANSWER:-
Q: Create a LWC component to display the output. When we click on the checkbox it will show the…
A: Lighting web components ( LWC ) Lightning Web Components adhere to the fundamental Web Components…
Q: Describe the three guiding principles that govern the organization's commitment to honesty. It would…
A: Principles of Conduct Definition: Regardless of changes to an organization's objectives, tactics,…
Q: When adopting object-oriented design, everything is framed in terms of objects. Hot can a large (or…
A: It is defined as the involves defining the context of a system followed by designing the…
Q: For the grammar S → a ABC A → aBla BbA|b C⇒a obtain the equivalent PDA.
A:
Q: When should a network update be scheduled?
A: Network A network is characterized as the connection of no less than two PC frameworks, either by a…
Q: First, provide a concise summary of each component that makes up a typical operating system kernel,…
A: An operating system's brain and nerve center is a kernel computer software. The Kernel controls…
Q: When making the switch to an ALL-IP network, what do you consider to be the most important…
A: We have provided a few considerations with regard to ALL-IP networks here. In addition, they…
Q: The characteristics that are inherently present in wireless networks give rise to a diverse set of…
A: Given: There are several difficulties brought on by the characteristics of wireless networks. Give…
Q: privileged
A: Options : A. parameters : show category () is not a parameters methods as it is itself a function we…
Q: What are some of the considerations that have to be made throughout the process of creating the…
A: Know what your needs are: to find the right software match, you should identify all potential pain…
Q: PROBLEM 3. [TIME ALLOWED = 5 MINUTES] Is the following sentence a proposition? If it is a…
A: answer is given below
Q: public interface Queue Interface { } public void enqueue (T object) throws Exception; public T…
A: Class Explanation: Define class variables s, front, and rear. Define an array to hold data, qData.…
Q: Are you able to offer a description of the operating environment in addition to an explanation and…
A: The question has been answered in step2
Q: The answer to this question is a resounding yesan IT infrastructure problem at the company
A: Modern IT is becoming dominated by cloud computing. There has to be a wonderful cloud option for…
Step by step
Solved in 4 steps with 3 images
- Write a java program: Question 1 Write a program that allows the user to enter name and grade until "QUIT" is entered for name. The grade should be a number between 0 and 100. If the user input of a grade is not in this range, you should ask the user to re-input the grade. Store all the names in an array called names, and all the grades in an array called grades. Print out all the names and the corresponding grades. For Example, Input Enter name: Alice Enter grade: 90 Enter name: Bob Enter grade: 80 QUIT Expected output Name: Alice, Grade: 90 Name: Bob, Grade: 80In java Write a program that uses a 2-D array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and highest and lowest temperatures of the year. Your program must consist of the following methods with their appropriate parameters:a.) getData: This method reads and stores the data in the 2-D array.b.) averageHigh: This method calculates and returns the average high temperature of the year.c.) averageLow: This method calculates and returns the average low temperature of the year.d.) indexHighTemp: This method returns the index of the highest temperature in the array.e.) indexLowTemp: This method returns the index of the lowest temperature in the array.Use the following input:High temp for each month: 30 40 45 60 70 90 89 95 79 90 70 40Low temp for each month: 10 -10 20 30 50 75 85 79 50 80 30 20For Beginners Java: Write a program that ask the user to enter a list of positive scores until the user enters a negative score to terminate the input. You need to store these scores in an array. You can assume the maximum number of scores the user may enter is 50. However, you need to keep track of the actual number of scores entered. Write 2 methods: 1. calculateAverage(): this method takes the list of scores and return the average score. 2. countPerfectScores(): this method takes the list of scores and return the number of perfect scores (100). The main program reads the input and calls these methods and print the results. Please make sure you write a comment line to document what your method does.
- Create the following program in java: Write a java program that lets a meteorologist record day and evening temperature for a certain number of days. The temperatures must be stored in a two-dimensional array. Your program should: · Ask the meteorologist the number of days he/she wants to record temperatures for. · Read the temperatures. · Report the number of days where both the day and evening temperature are below average. · The number of days where the difference between the day and evening temperature is less than 10. · The highest and lowest day and evening temperature.Here you go Create a java program that generates elements (randomly from 10 – 75) of a 2-dimensional array (5x5) using the Random Class then perform the following:1) Output the array elements2) Output the sum of prime numbers in the array3) Output the elements in the main diagonal.4) Output the sum of the elements below the diagonal.5) Output the sum of the elements above the diagonal.6) Output the odd numbers below the diagonal.7) Output the even numbers above the diagonal. NOTE: Please do not use the array methods available on the internet. Use the for loop, while loop or do-while loop statement in your codes..for java please Please submit the pseudocode of your program for your project below. Need a class which will contain: Student Name Student Id Student Grades (an array of 3 grades) A constructor that clears the student data (use -1 for unset grades) Get functions for items a, b, and c, average, and letter grade Set functions for items a, n, and c Note that the get and set functions for Student grades need an argument for the grade index. Need another class which will contain: An Array of Students (1 above) A count of number of students in use You need to create a menu interface that allows you to: Add new students Enter test grades Display all the students with their names, ids, test grades, average, and letter grade Exit the program Add comments and use proper indentation. Nice Features: I would like that system to accept a student with no grades, then later add one or more grades, and when all grades are entered, calculate the final average or grade. I would like the system…
- in Java please This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99, but this is NOT enforced by the program nor tested) and the player's rating (1 - 9, not enforced like jersey numbers). Store the jersey numbers in one int array and the ratings in another int array. Output these arrays (i.e., output the roster) as shown below after inputting the data. Ex Enter player 1's jersey number: 84 Enter player 1's rating: 7 Enter player 2's jersey number: 23 Enter player 2's rating: 4 Enter player 3's jersey number: 4 Enter player 3's rating: 5 Enter player 4's jersey number: 30 Enter player 4's rating: 2 Enter player 5's jersey number: 66 Enter player 5's rating: 9 ROSTER Player 1 -- Jersey number: 84, Rating: 7 Player 2 -- Jersey number: 23, Rating: 4 . . . (2) Implement a menu of options for a user to modify the roster. Each…9. Complete a program in a class ToyCounter that computes the cost of toys sold in a shop. Five kinds of toys-Zen, Leo, Star, Sam, and Barry-are stocked and cost, respectively, RM0.75, RM0.50, RM1.25, RM0.80 and RMO.75 per toy. Create an array of strings that holds the names of these toys. Create another array that holds the cost of each corresponding toy. Your program should read the name of a toy and the quantity desired by a customer. Locate the toy in the name array and use that index to find the cost from the cost array. Compute and print the total cost of the sale as output in Figure 8 below: E Output - test (run) #4 x :unz What kind of£ toy would you like? zen How many toy would you like? 10 zen: 10 at RMO.75 will cost RM7.5 Figure 8 Insert your answer here (Figure 9): import java.util.Scanner: public class ToyCounter public static void main (String [] args) double totalcost; int number; String() toyName - {"zen", double [] prices = (0.75, 0.50, 1.25, 0.80, 0.75): "leo", "star",…Write a program that lets the user enter the total rainfall for each of 12 months (starting with January) into an array of doubles. The program should calculate and display (in this order): the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts. Months should be expressed as English names for months in the Gregorian calendar, i.e.: January, February, March, April, May, June, July, August, September, October, November, December. Do not accept negative numbers for monthly rainfall figures. When a negative value is entered, the program outputs "invalid data (negative rainfall) -- retry" and attempts to reread the value. NOTE: Decimal values should be displayed using default precision, i.e. do not specify precision.
- Write a program that does the following: • Reads an integer from the user that represents the number of the students in a class. • Reads the scores of the students from the user and stores them in an array. • Calculates and prints the average of the students with a passing grade (above or equal to 60). Hints: Assume that the scores of the students are integers between 0 and 100 (inclusive) • Assume that there is at least one student in the class with a passing grade. Using java Sample run 1: Enter the number of students in the class: 3 Enter the scores of 3 students: 90 80 40 The average of the students with a passing grade is 85.0 Sample run 2: Enter the number of students in the class: 5 Enter the scores of 5 students: 90 80 40 60 70 The average of the students with a passing grade is 75.0HangmanAA.java For this program, you will create the game Hangman. (If you are unsure of how to play Hangman, Google it.) The game will start by asking player 1 for a word or phrase (can be multiple words). Then player 1 will be asked how many missed guesses are allowed by player 2. Once this information is received, player 2 will take over. (Have the program print many blank lines of space so that player 2 can’t see what player 1 entered.) The instructions should be displayed for player 2 as well as the number of misses they’re allowed to make before they lose the game. The screen should also output dashes or underscores to represent each letter of player 1’s secret word/phrase. Player 2 should guess one letter at a time. Case should not matter. Typing x or X should give the same result. If that letter is present in the mystery phrase, then it should be displayed. (It will replace the dash/underscore in that spot. Spaces, punctuation, and all other non-alphabetic characters should…2. A store owner wants the total sales for 2020. Write a program that will load an array with 12 months of sales. Use iomanip to make a nice-looking chart that shows the monthly sales, the month with the highest sales, lowest sales, and average for the year sales. January ……………. $50,000 February…………… $60,000 March ……………….$80,000 April ………………..$106,000 May …………………..$50,000 June ………………..$190,000 July ………………….$900,000 August …………… $102,000 September ………..$70,000 October …………..$700,000 November………… $90,000 December …………$90,000 Total Sales for the year 2020 was ………………….………$ The month with highest sales was ****** at ………..$ The month with lowest sales was ****** at ………...$ The average of sales for the year was ……………………$ C++