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
- 3. Given the following variables and their values: Sagot = true A = 2 B= 4 Letter = ‘c’ Pi = 3.14Requirements:a) Write a Java program that prints the values of the variables above in this manner The value of A is 2 while B is 4 Letter c Initial value of Sagot is true Pi contains the value 3.14 Sagot is now false** for the last line of output, determine if A is greater than Bb) Display the product of A and B without declaring another variable. Display the result in this manner : 2 * 4 = 8Ask the user for a number of seconds. Display the number of minutes, seconds, and hours accordingly. 60 seconds in 1 Minute 3,600 seconds in 1 hour 86,400 seconds in 1 day Write a code in Java that results like test case examples. ThanksA company has 5 stores {1, 2, 3, 4, 5}. The sales for each store is as follows: {200, 300, 400, 500, 600}. The tax rate is 6% Write a java program that: 1) Calculates the sales tax for each store and the total sales tax for the company.
- Java Questions - (Has 2 Parts). Based on each code, which answer out of the choices "A,B,C,D,E" is correct. Each question has one correct answer. Thank you. Part 1 - 7. Given the following code, what is the output if today is Thursday? Calendar cal = Calendar.getInstance();System.out.println(cal.get(Calendar.DAY_OF_WEEK)); A. Calendar.ThursdayB. ThuC. 5D. 3E. 4 Part 2 - 8. Given the following code, what year will the output be? Calendar cal = Calendar.getInstance();cal.clear(Calendar.YEAR);System.out.println(cal.getTime()); A. current yearB. 0C. 1970D. NULLE. none of the optionsThe 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 licenseAsk the user for a number of seconds. Display the number of minutes , seconds, and hours accordingly. 60 seconds in 1 minute 3,600 seconds in 1 hour 86,400 seconds in 1 day Please write a code in Java that results like test case examples.
- Following an economic crisis, the CEO (Chief Executive Officer) of EXOSTAR company decided to give the company’s employees a bonus on their monthly salary. The bonus depends on the employee’s basic salary, following the given strategy: Less than or equal 1000$, bonus of 13% Between 1000$ and 2000$, bonus of 10% Greater or equal 2000$, bonus of 7% Write a Java program that displays a message “Welcome to EXOSTAR salary system” when starts execution, then reads the number of employees N, then asks the user to enter N employees’ basic salaries. In case the number of employees was entered zero or negative, the program displays a message “Good luck in finding new employees!!” and stops execution, otherwise, the program prints the new salary of each employee. In case the entered salary is zero or negative, the program must re-ask the user to enter a positive one. (Read the sample runs for further details) Note: The solution must use arrays. Sample run1: Welcome to EXOSTAR salary system…An Arabian legend has it that a fabulously wealthy but unthinking king agreed to give a bigger one cent and double the amount for 60 days. Using this information write, run and test a Java program that displays how much King must pay the beggar each day. example days. Amount 1. 0.01 2. 0.02 3. 0.04 . 64 days. .... note:- 1) modify the program that you have write To determine on which day king must have paid the beggar a million dollarIn donkey Kong a player receives a free jump man at 7000 points. Prompt the user for their score. If the score is below 7000 output how many more points are needed for a free jumpman. If it is 7000 or above inform the user of their prize. If the number is zero display an error message. Make a code in Java that results like test case examples. Thanks
- Assume that a runner runs 15 kilometers in 50 minutes and 30 seconds. Write a Java program that displays the average speed in miles per hour. (Note that 1 mile is 1.6 kilometers.). Note: You have to replace the question mark with the correct answer.Create a Java class that accepts a number The input number must be between 10 and 99. You must validate this. If the input number is outside of this range, output a message "Invalid Input" and exit the program. If its a valid number: Check if the square of the sum of its digits is equal to the input number If the square of the sum of its digits is not equal to the input number, find the reverse of the number and display it. For example: Input: 81 Output: 81 because 81 = (8 + 1)2 Input: 23 Output: 32 because 23 is not equal to (2 + 3)2A company has 5 stores {1, 2, 3, 4, 5}. The sales for each store is as follows: {200, 300, 400, 500, 600}. The tax rate is 6% Write a java program that: Print the sales tax for the entire company