Code the following statments in JAVA If your average time to run each mile is under 11 minutes, display a "you got gold" message 5. If your average time to run each mile is under 15 minutes, display a "you got silver" message 6. If your average time to run each mile is equal to or more than 15 minutes, "you got bronze" message
Q: IRA is a 7-bit code that allows 128 characters to be defined. In the 1970s, many news papers…
A:
Q: Intelligent modems can make and end calls as well as answer incoming calls automatically. Who must…
A: Definition: An electronic device known as a modulator-demodulator, sometimes known as a modem,…
Q: 4. Convert the following hexadecimal numbers to their binary equivalents: a. 1C b. 1F.C C. C67 d.…
A: Answer the above question are as follows
Q: For the given design, Which of the following is NOT true about the design? Select one: a. It…
A: Sequence diagrams describe interactions among classes in terms of an exchange of messages over time.
Q: In coral language write code that increases numCups by 6. Ex: If numCups is 10, the output is:…
A: As per the requirement program is developed in coral language. Algorithm: Step 1: Define numCups…
Q: What about software and services that may be accessed online?
A: In a cloud networking environment, a portion of or all of an organization's network capabilities and…
Q: you’ve been tasked with redesigning a website contents, text, image or documents. The website isn't…
A: What is the user trying to accomplish? Having high-quality material on your website, updating it…
Q: s mesh topology capable of ensuring safety, reliability, and consideration of traffic demands? Why?
A: Mesh topology covers security and robustness and eliminates traffic components.
Q: Consider the following augmentation of a remote-file- access protocol. Each client maintains a name…
A: Remote file Access: An programmer running on a client computer may access files saved on another…
Q: Why is it that the start and stop bits can be eliminated when character interleaving is used in…
A: In order to maximise the bandwidth of a synchronous TDM line, we have been asked several times over…
Q: C# Fill in the blank code and ensure that the loop repeats 10 times
A: It is defined as a simple, modern, general-purpose, object-oriented programming language developed…
Q: Please explain the pros and cons of doing such studies.
A: Evaluation Research: Evaluation Research Evaluation analysis, also known as program evaluation,…
Q: For the sake of argument, let's say you're a systems analyst creating a thorough test strategy.…
A: A system analyst collects and compiles information on the software. The user provides the system…
Q: How does the NTPS directory structure differ from the directory structure used in Unix operating…
A:
Q: Explain the following terms associated with compound vector processing: (a) Compound vector…
A:
Q: List and briefly define important factors that can be used in evaluating or comparing the various…
A:
Q: Huffman codes for the pairs (run sxe) and for the amplitudes Thess Huffman codes have to be…
A: pecudocode for the encoding of a single 8x8 block 7 we shall denote the different Haffman codes by…
Q: Why is a modem needed when a phone line may be directly connected to a communication device?
A: Introduction: There are just two components that make up a modem: a modulator and a demodulator. It…
Q: What are the benefits of using cloud computing for data storage and analysis?
A: Cloud computing is the on-demand availability of computers system resource, especially data storage…
Q: The Local Area Network serves to link together computers and people in the same geographical region…
A: The term "local area network" A collection of computers linked together within a specific geographic…
Q: How may we benefit from using cloud computing for our data storage and processing needs?
A: Cloud computing is the provision of essential internet computer services under a pay-as-you-use…
Q: What is a process, and how is it managed in Windows XP?
A:
Q: Indicate whether each of the following statements is true or false and justify your answer with…
A:
Q: In your perspective, what is the most critical issue in the field of software engineering right now?
A: In your perspective, what is the most critical issue in the field of software engineering right now…
Q: write code to The Modified search() and the New find() of the Ordered Array
A: code to The Modified search() and the New find() of the Ordered Array is:-
Q: In terms of software engineering, do you have a major worry?
A: Software engineering is a subfield that focuses on all elements of software development, beginning…
Q: What are the benefits of using cloud computing for data storage and analysis?
A: Answer:
Q: Write a function that determines if two strings are anagrams. The function should not be case…
A: Here we will do the above program i.e. check anagrams using C++, kindly check the code.
Q: 1. Evaluate the CCR and BCC efficiency scores for the following data. Does a CCR efficient DMU…
A: From the data, it can be seen that DMU 1 is CCR efficient but not BCC efficient. DMU 2 is BCC…
Q: Here are four reasons why you should care about continuous event simulation.
A: Here are four reasons why you should care about continuous event simulation answer in below step.
Q: Compare the PRAM models with physical models of real parallel computers in each of the following…
A:
Q: Given an 10 X 10 image show in Figure 2, use an appropriate technique to identify the shape of the…
A: The solution for the above-given question is given below:
Q: Architecture's advantages include... Compare a project with and without architecture. How will it…
A: Project-planning for softwareA software project is an extensive series of programming tasks.…
Q: Five virtues that you have according to Aristotle's Theory of Virtue Ethics (Doctrine of the…
A: Answer:
Q: Locate the information repositories that may have your details. How frequently and from which…
A: Search databases for personal information. How often and for how long may database records be…
Q: of a er the following augmentation protocol. Each client maintains a na translations from file names…
A: Solution - In the given question, we have to tell the issues that we should take into account in…
Q: A company has two locations: a headquarters and a tactory about 25 km away. Inc factory has four…
A: It would be simple to multiplex the four terminals onto a single voice grade line. Since only one…
Q: code blow public class Aya { //instantiate variables private int ManufacturingYear; private…
A: Please find the answer below :
Q: Provide at least three instances of discrete event simulation.
A: Describe three applications where discrete event simulation was used. 1. Modeling network protocol…
Q: public class MyListTestCase { // ... private MyList aList; private String anElement; public void…
A: Assert statement is used for testing.
Q: ARP and RARP both map addresses from one space to another. In this respect, they are similar.…
A: Let's discuss how "ARP" and "RARP" are similar and different.
Q: With an example explain what a derived attribute is?
A: DBMS:- DBMS is software that is an interface between user and database(or data). The DBMS is a…
Q: When implementing a data warehouse, performance is usually a paramount consideration. List 10 items…
A: A data warehouse which refers to the one that with a central repository of information that can be…
Q: There has to be research on how wireless networks affect developing and rising nations. In other…
A: Given: The impact of wireless networks on emerging countries as well as on wealthy countries. Why…
Q: What does the fact that in a mesh topology each node uses its own version of Multipoint connection…
A: The answer of the question is given below
Q: If a method given an ArrayList as a parameter calls a second method giving it the same ArrayList,…
A: The answer is given below.
Q: Produce a procedure to remove all linkedlist nodes with a duplicate key.
A: In a LinkedList, an algorithm to remove all nodes with a duplicate key. Example if the connected…
Q: Compute the subnet mask, subnet address, broadcast address and the IP host ranges of 192.168.3.55/24…
A: Here is handwritten solution as follows. Please upvote, thank you. 1:
Q: ARP and RARP both map addresses from one space to another. In this respect, they are similar.…
A: Address Resolution Protocol(ARP) It is a network layer protocol which is used to convert IP address…
Q: Use C Programming, explain and give the output: A set of data(of 8 integers) will be input through…
A: 1) Below is C program to input 8 integers, calculate and display means and standard deviation In…
Code the following statments in JAVA
If your average time to run each mile is under 11 minutes, display a
"you got gold" message
5. If your average time to run each mile is under 15 minutes, display a
"you got silver" message
6. If your average time to run each mile is equal to or more than 15
minutes, "you got bronze" message
Step by step
Solved in 4 steps with 4 images
- Calculate your Physics final Write a Java program to solve the following problem: grade based on the following: Assessment Percent Lab Activity(ies) Quiz (zes)/Test (s) 10% 10 Assignment (s) 208 Midterm Exam (8) 20% Final Exam 40% Theory grade is the quiz/test, midterm and final exam marks. Practical grade is the assignment and lab marks. Final grade is all five marks. But the calculation of Final grade needs to comply with the following rule: If either of the practical or theory grade is less than 50%, the final grade is the lesser of the two. A grade letter must be assigned based on the final grade (See the courses outline for the distribution of grades) You must implement input validation for each mark as follows: Lab mark must be out of 10. Quiz/Test mark must be out of 10. Assignment mark must be out of 20. Midterm mark must be out of 20. Final Exam must be out of 40. Bonus: Modify your code so that you can calculate and display grade for N number of students. Your program must…The average age to obtain a driver's license is 18. Write a Java program where the user enters his/her age. If the age is greater than or equal to 18 the program must display using JOptionPane the following message, you are old enough to apply for a driver license, else display the following message you are not old enough to apply for a driver's licenseJAVA CODE ONLY 2. Rectangle by CodeChum Admin A rectangle can be formed given two points, the top left point and the bottom right point. Assuming that the top left corner of the console is point (0,0), the bottom right corner of the console is point (MAX, MAX) and given two points (all "x" and "y" coordinates are positive), you should be able to draw the rectangle in the correct location, determine if it is a square or a rectangle, and compute for its area, perimeter and center point. To be able to do this, you should create a class for a point (that has an x-coordinate and a y-coordinate). Also, create another class called Rectangle. The Rectangle should have 2 points, the top left and the bottom right. You should also implement the following methods for the Rectangle: display() - draws the rectangle on the console based on the sample area() - computes and returns the area of a given rectangle perimeter() - computes and returns the perimeter of a given rectangle…
- Java Class: Fundraiser You are a fundraising distributor who needs to to pre-sell a limited number of doughnut coupon books. Each buyer can buy as many as 4 coupon books. No more than 100 coupon books can be sold. Implement a program called Fundraiser that prompts the user for the desired number of coupon books and then displays the number of remaining coupon books. Repeat until all coupon books have been sold, and then display the total number of buyers.In a Java Language codes Last month Joe purchased some stock in Acme Software, Inc. Here are the details of the purchase: The number of shares that Joe purchased was 1,000. When Joe purchased the stock, he paid $32.87 per share. Joe paid his stockbroker a commission that amounted to 2% of the amount he paid for the stock. Two weeks later Joe sold the stock. Here are the details of the sale: The number of shares that Joe sold was 1,000. He sold the stock for $33.92 per share. He paid his stockbroker another commission that amounted to 2% of the amount he received for the stock. Write a program that displays the following information: The amount of money Joe paid for the stock. The amount of commission Joe paid his broker when he bought the stock. The amount that Joe sold the stock for. The amount of commission Joe paid his broker when he sold the stock. Display the amount of profit that Joe made after selling his stock and paying the two commissions to his broker. (If the amount…Use Java ⮚ Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. ⮚ Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000.⮚ For example, 2 is written as II in Roman numeral, just two ones added together. 12 is written as XII, which is simply X + II. The number 27 is written as XXVII, which is XX + V + II. ⮚ Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not IIII. Instead, the number four is written as IV. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as IX. There are six instances where subtraction is used: I can be placed before V (5) and X (10) to make 4 and 9. X can be placed before L (50) and C (100) to make 40 and 90. C can be placed before D (500) and M (1000) to make 400 and 900. ⮚ Given a roman numeral, convert it to an integer
- A Software Engineering Company has a salary system based on position level. The table below represents the salary paid according to each position: Employee Position Employees Salary Employees' Name: Ali Position: Bonus Amount: Final Cost: $3500 Manager Supervisors Sales Person The Company decided to give a 25% bonus for employees whose salaries are less than 3000$ due to holidays. Write a java program that asks the user to enter his/her name, and his/her work position. The program should calculate and display the total salary of the employee based on his/her salary position, the bonus amount and the final salary for an employee. Make sure that your program outputs exactly as the sample run below. Sample Run1: Enter Your Name: Ali Enter Your Position (M for Managers, S for Supervisors or P for Sales Person): M Fixed Monthly Salary 3500$ 2100$ Manager Salary: $3500.0 $0.0 Internet Service Bill 700$ Sample Run2: Enter Your Name: Cerine Enter Your Position (M for Managers, S for…Java Code: The Personnel Department of Ariel Manufacturing Company is composed of ten employees of varying ages. Prepare a program that would show how many are below 20 years old, how many are between 20 to 29 years old and how many are over 29 years old.JAVA Programming Language: According to the American Heart Association, as you exercise you should periodically check your heart rate to ensure you are in your target zone. Your target zone is a range that is 50% to 85% of your maximum heart rate. The formula for calculating a persons maximum heart rate is 220 minus your age in years. Write a program that reads the users current heart rate, birthday, and the current day (each consisting of month, day, and year). The program should calculate the persons age (in years), the person's maximum heart rate, and the person's target heart rate zone range. Output the users age, current heart rate, target zone range. If their heart rate is in the target zone congratulate them, if it is out of their target zone warn them. Required Methods (Write these first and use them in your algorithm): (your code, particularly for computeAge, must be 100% clear and documented - it's the core of this assignment!) int computeAge(int birthMonth, int birthDay,…
- Write a complete Java program that prompts the student to enter the credit hours earned and then displays a message according to the following: If the credit hours earned is greater or equals 90, display "you are a senior"; If the credit hours earned is less than 90 but greater or equals 60, display "you are a junior"; If the credit hours earned is less than 90 but greater or equals 30, display "you are a sophomore"; If the credit hours earned is less than 30, display "you are a freshman".Write a structured Java program to calculate the parking fare forcustomers who park their cars in a parking lot when the following information isgiven:a) A character showing the type of vehicle: C for car, B for bus, T for truck An integer between 0 and 24 shows the hour the vehicle entered the lotc) An integer between 0 and 60 showing the minute the vehicle entered the lotd) An integer between 0 and 24 showing the hour the vehicle left the lote) An integer between 0 and 60 showing the minute the vehicle left the lotThis is a public lot. To encourage people to park for a short period of time, themanagement uses two different rates for each type of vehicle, as shown in thefollowing table:Vehicle First Rate Second RateCAR RM 0.00/hour first 3 hour RM 1.50/hour after 3 hourTRUCK RM 1.00/hour first 2 hour RM 2.30/hour after 2 hourBUS RM 2.00/hour for first hour RM 3.70/hour after first hourThe input data consist of a character and a set of four integers representing thetype of vehicle and…JAVA PROGRAM Chapter 5. PC #2. Retail Price Calculator (page 312) Write a program that asks the user to enter an item’s wholesale cost and its markup percentage. It should then display the item’s retail price. For example: • If an item’s wholesale cost is 5.00 and its markup percentage is 100 percent, then the item’s retail price is 10.00. • If an item’s wholesale cost is 5.00 and its markup percentage is 50 percent, then the item’s retail price is 7.50. The program should have a method named calculateRetail that receives the wholesale cost and the markup percentage as arguments, and returns the retail price of the item. Class name: RetailPriceCalculator PLEASE MODIFY THIS JAVA PROGRAM SO WHEN I UPLOAD IT TO HYPERGRADE IT PASSES ALL TEST CASSES PLEASE. RIGHT NOW IT SAYS 0 OUT 5 PASSED. THE PROGRAM IS NOT WORKING IN HYPERGRADE FIX IT SO IT WILL WORK IN HYPERGRADE. THANK YOU. import java.util.Scanner;public class Main { public static double calculateRetail(double…