A given application written in Java, runs 15 seconds on a desktop computer. A new Java compiler is released that requires only .6 times as many instructions as the old compiler. Unfortunately, it increases the CPI by a factor of 1.1. How fast can we expect the application to run using the new compiler

Answers

Answer 1

The Java 1 virtual machine (JVM) and Java application programming interfaces (APIs) make up the Java platform.

Thus, Java APIs are compiled code libraries that you can incorporate into your programs. They enable you to add pre-made and programmable features, saving you time.

The straightforward program in this tutorial prints a line of text to the console using the Java API. You input the text to be printed, and the API provides the console printing functionality ready for use.

The Java VM is a separate software that runs (or interprets) Java programs. This idea should be recognizable to you if you are familiar with Visual Basic or similar interpreted language.

Thus, The Java 1 virtual machine (JVM) and Java application programming interfaces (APIs) make up the Java platform.

Learn more about Java, refer to the link:

https://brainly.com/question/31561197

#SPJ4


Related Questions

Which set of symbols encloses an if-then code block? Choose the best answer.

straight brackets []
curly brackets {}
backslashes \\
vertical bars ||

Answers

Here's some code that might help, assuming that you are using JavaScript.

e = "Hello"

if(e === "Hello"){

    alert(":D")

}else{

    console.log("Um.")

}

I think that the answer is curly brackets.

i need answer pooooooo​

i need answer pooooooo

Answers

Read the instructions right, youll get ir done

how would you improve the transparency of the spreadsheet model below by separating data from formulas? for example, how would you rewrite the formula shown in c10 in a form that would be both more transparent and also could be easily copied through the multi year period in columns c through f?

Answers

To improve the transparency of the spreadsheet model below, separating data from formulas would be helpful.

How can this be done?

The formula in cell C10 could be rewritten in a separate column, such as column G, where the calculation is performed. Then, the result of that calculation could be referenced in cell C10 using a simple cell reference.

This would make it easier to see how the calculation is performed and to modify the formula if needed. Additionally, the formula in cell G10 could be easily copied through the multi-year period in columns C through F, ensuring consistency and accuracy of the calculation across all years.

Read more about spreadsheet here:

https://brainly.com/question/26919847

#SPJ1

13) When developing film, how do you dispose of fixer as opposed to developer?
A) Fixer is poured down the drain while developer can be reused.
B) Developer is poured down the drain while fixer can be reused.
C) Both developer and fixer can be poured down the drain.
D) I don't know.

Answers

Answer:

B) Developer is poured down the drain while fixer can be reduced

Explanation:

The effluents produced during photographic processing includes, wash water, bleach, fixer, and developer

The developer is an alkaline solution, with a pH of approximately 10.0, while the pH of the fixer is about 4.3, it is therefore, acidic

The rate of discharge of the developer to the fixer is 2 to 1, and the exhausted developer, fixer and process effluents combined are neutral and can be handle by the the treatment works and the drain pipes

Fixer which remain clear can be reused for more than a day, while the spent basic Developer and the acidic Spent Stop Bath can be combined to form a neutral solution, having a pH of approximately 7, which make them less hazardous to be disposed off down the sink into the drain

Therefore, developer is poured down the drain while fixer can be reused

Find the maximum number of paths between any two vertices of a
tree.

Answers

The maximum number of paths between any two vertices of a tree can be determined using the formula `n(n-1)/2A tree is a connected graph having no encryption cycles.

In a tree with `n` vertices, the maximum number of paths between any two vertices can be determined using the formula `n(n-1)/2`. This formula is derived as follows: For a given vertex, there are `n-1` vertices that it can be connected to directly (excluding itself).

Therefore, the maximum number of paths from this vertex is `n-1`.Similarly, for each of the `n-1` vertices that are connected to the first vertex, there are `n-2` vertices that they can be connected to (excluding themselves and the first vertex). Therefore, the maximum number of paths from each of these vertices is `n-2`.Continuing this pattern for all `n-1` vertices, we get the following sum:`(n-1) + (n-2) + (n-2) + ... + 1 = (n-1) + ((n-2) + (n-3) + ... + 1) = (n-1) + ((n-2)(n-1)/2) = n(n-1)/2`Therefore, the maximum number of paths between any two vertices of a tree with `n` vertices is `n(n-1)/2`.

To know more about encryption visit:

https://brainly.com/question/30225557

#SPJ11

A threat analyst is asked about malicious code indicators. Which indicator allows the threat actor's backdoor to restart if the host reboots or the us

Answers

Indicators of compromise enable system administrators and information security professionals to detect intrusion attempts or malicious activities.

Your information is incomplete as the options aren't provided. Therefore, an overview of indicators of compromise will be given.

Indicators of compromise means the pieces of forensic data that are found in files or system log entries to identify malicious activity on a network or system.

Indicators of compromise help IT and information security professionals to detect malware infections, data breaches, etc. Examples of indicators of compromise include log-in red flags, unusual outbound network traffic.

Read related link on:

https://brainly.com/question/25522987

If you do not want to use your Internet service provider (ISP) for your email account, how can you acquire a webmail account

Answers

A lot of services are being provided over the Internet. If you do not want to use your Internet service provider (ISP) for your email account, you can you acquire a webmail account through online services

An online service is simply known as body that gives access to various types of data for different uses through the use of the the Internet.

Examples are: online banking, news, shopping, social media networks, e-mail etc.

This services done online gives an avenue in which subscribers can communicate with one another via exchanging e- mail messages or through online conferences or forums.

Learn more from

https://brainly.com/question/9930336

Select the correct answer.

Which statement is true with respect to Java?

Answers

Answer:

where are the options ..... to select

Microcomputer other device on the network that requests and utilizes network resources Hub Switch Client Server

Answers

Answer:

Client.

Explanation:

Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.

Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.

Cloud computing comprises of three (3) service models and these are;

1. Platform as a Service (PaaS).

2. Infrastructure as a Service (IaaS).

3. Software as a Service (SaaS).

A client can be defined as a microcomputer or other device on the network that requests and utilizes network resources.

These network resources that are being requested by the client (client computer) are typically made available by a dedicated computer on the network known as a server.

What do you do when you have computer problems? Check all that apply. PLEASE HELP

Answers

Answer:

I ask my parents or call someone

Can you put the answers to the problem it would be a lot easier for me


And I would look up how to fix the problem on my own before paying someone....

You compared each letter in the correct word to the letter guessed. Assume the correct word is "cloud." Finish the code to compare the guessed letter to the "u" in "cloud."
if guess == correct[4]
if guess == correct{4}
if guess == correct[3]
if guess == correct{3}

Answers

Answer:

if guess == correct[3]:

Explanation:

Its was correct

You compared each letter in the correct word to the letter guessed the correct word is "cloud." Finish the code to compare the guessed letter to the "u" in "cloud." is option c. it is if guess == correct[3].

What is code ?

Coding method is the use of the programming language to get the laptop to act as desired. Each line of the code is a hard and fast of commands for the laptop.

The correct word is "cloud." Finish the code to compare the guessed letter to the "u" in "cloud" is if guess == correct.

Read more about the code:

https://brainly.com/question/19344465

#SPJ2

explain with a reason one situation in which it would be appropriate to use an interpreter

Answers

Answer:

when you want an instant result

Explanation:

the intepreter converts the program line by line

Which statement is TRUE regarding the instruction for use of the CPT codebook?
A. use an unlisted code when modifying a procedure
B. select the name of the procedure or service that accurately identifies the service performed
C. select the name of the procedure or service that most closely approximates the procedure or service performed
D. parenthetical instructions define each code listed in the code book

Answers

B. Select the name of the procedure or service that accurately identifies the service performed.

The instruction for use of the CPT (Current Procedural Terminology) codebook states that the coder should select the name of the procedure or service that accurately identifies the service performed. This means that the code should reflect the specific procedure or service rendered by the healthcare provider. Accuracy in code selection is crucial for proper billing, documentation, and reimbursement purposes. The coder should review the code descriptions and guidelines in the CPT codebook to ensure that the selected code aligns with the performed procedure or service. It is important to choose the most appropriate code that precisely represents what was done during the encounter.

learn more about procedure or service here:

https://brainly.com/question/4049834

#SPJ11

Final answer:

The CPT codebook should be used to accurately code and document the specific procedures conducted during patient care. Selecting the name of the service that accurately identifies what was performed is the correct approach.

Explanation:

The CPT (Current Procedural Terminology) codebook is used in the healthcare industry to accurately code, specify, and document procedures conducted during patient care. Regarding the instructions for the use of the CPT codebook, the correct answer is B. Select the name of the procedure or service that accurately identifies the service performed. This mean, the CPT code chosen should accurately represent the medical, surgical, or diagnostic services provided to the patient. On the other hand, unlisted codes (option A) are used when a procedure or service doesn't have a specific code. Option C would be a misleading representation of the patient's care. Lastly, parenthetical instructions (option D) do not define each code but rather provide additional information or guidelines about certain codes.

Learn more about CPT codebook here:

https://brainly.com/question/13924844

Write a code in python that guesses a hardcoded answer and keeps on asking the user until the user gets the answer correct. The cmputer should be telling the user if the number they are guessing is too low or too high.

Answers

import random

#You can change the range.

answer = random.randint(1,1000)

counter = 0

while(True):

   guess = int(input("Make a guess: "))

   message = "Too high!" if guess>answer else "Too low!" if guess<answer else "You won!"

   print(message)

   if(message=="You won!"):

       print("It took",counter,"times.")

       break

   else:

       counter+=1

Write a code in python that guesses a hardcoded answer and keeps on asking the user until the user gets

is using a hexadecimal number like 2FF a form of abstraction? explain.

Answers

Answer:

To convert a binary number into hexadecimal format, break up the number ... A. Hexadecimal represents data at the lowest level of abstraction ... However, the same values can be represented with binary's 2 digits in a longer form. ... As seen in the previous question, the number of colors that can be represented using the ...

Explanation:

if involved in a boating accident causing serious bodily injury or death while boating under the influence, the operator has committed a _____.

Answers

Answer:

a felony.

Explanation:

Got u brother :)

which of the following is the correct way to declare an array named myarray with ten elements?

Answers

To declare an array named myarray with ten elements, you need to specify the data type of the elements you want to store in the array  followed by the name of the array, and then the number of elements in square brackets.

In most programming languages, arrays are declared by specifying the data type of the elements they will hold, followed by the name of the array, and then the number of elements in square brackets. For example, in Java, you can declare an integer array named myarray with ten elements using the following line of code: int[] myarray = new int[10];


In programming languages, the syntax for declaring arrays may differ slightly, but the basic concept is the same. The key is to specify the correct data type for the elements you want to store in the array, and to allocate enough memory to hold all the elements you need.

To know more about array visit:

https://brainly.com/question/13261246

#SPJ11

7.

"You win!" never displays. What line is responsible for this error?

1

var score

0

2

onEvent

"button2"

"click"

function

3

var score

score + 1

if

score

5

setText ("display", "You win!");

A. 1

B. 3

ОООО

C. 4

D. 5

Answers

Answer:

The answer is "4".

Explanation:

In this code, on line number 4, it will give the error message, and its correct solution can be defined as follows:

In this code, a variable "score" is declared, that holds a value that is 0, and in the next step, a method "onEvent" is declared that uses a method, and in the if block, it checks the "score" value that is less than 5 and it will print the message.

5. Which of the following illustrates how you would enter a symbol, such as a division sign or degree symbol?

A. Insert > Special Characters

B. Edit > Restore

C. Format > Character

D. Insert > Manual Break

Answers

Answer: A. Insert > Special Characters

This leads to a very large table of all sorts of special characters. These are symbols that aren't found on your keyboard. If you want to get these items quickly without going through the menu, you can copy/paste the symbols you'll use and then just have them close by somehow. Think of it like a reference sheet. Or you could use the character code associated with each item (using the alt key along with it).

what is the internet revolution

Answers

Answer:

Down below

Explanation:

The Internet age began in the 1960s, when computer specialists in Europe began to exchange information from a main computer to a remote terminal by breaking down data into small packets of information that could be reassembled at the receiving end. ... The system was called packet-switching

Answer:

I think it was when the internet was on the come up like the .com boom that happened and ended up making people lose a lot of money

Explanation:

yup

Consider the following code segment - 3

Consider the following code segment - 3

Answers

Answer:

The answer is "Choice C".

Explanation:

In the above-given code, a 1D array "list" is declared that holds integer values, and it uses three print which can be defined as follows:

In a first print method, it uses the length method that holds the array length that is "9".In a second print method, it uses the array that prints the first element value of the array that is "22".In the last print method, it uses the array that holds the length of the array, which will give an error message that is "ArrayIndexOutOfBoundsException".   That's why only the choice C is  correct.

which shortcuts can you use for undo and redo?

Answers

Answer:

Control + Z = undo

Control + Y = redo

"Control + Z" and "Control + Y" can be used for undoing and redoing in most programs, such as Microsoft Word, and virtually any text editor.

When starting up his computer, Connor notices pop-ups appearing randomly from his browser. Over time, these get worse and prevent him from using the computer. What is MOST likely the cause of this?

Answers

Answer: Sounds like he has a malware problem he should uninstall all of the potentially unwanted programs (PUPs), or run an antivirus software.

Explanation:

It's what I would do if I was in that unlikely of situations because I'm constantly aware of what I download and install. Sounds like Connor should too.

If you spend time on social media, you probably see many infographics. How can you determine whether the information contained in them is trustworthy? When you create infographics, what can you do to make it more likely that the viewer will trust you?

Answers

Answer:

Provide sources.

Explanation:

Providing sources for your infographic would be the best I can think of.

Either a direct quote, a source for a graph, etc.

The museum ticket price should be :
$0 on Fridays with couponcode "FREEFRIDAY"
$10 on the weekends for everybody
On weekdays $5 for 18 years old and under and $10 otherwise.
A student wrote this conditional to set the price . For which case will the price NOT come out as indicated?

var price=10;

// Check the value of variables to decide the price to set

if (age <= 18 && day != "Saturday" && day != "Sunday") {
price = price / 2;
} else if (day == "Friday" && discountCode == "FREEFRIDAY"){
price = 0;
}

a. a minor on Friday with the discount code
b. an adult on Friday with the discount code
c. an adult on the weekend
d. a minor on the weekend
e. an adult on a weekday

Answers

Answer:

a. a minor on Friday with the discount code

Explanation:

Let's try and decipher the given code segment

Let's first look at the if part

if (age <= 18 && day != "Saturday" && day != "Sunday") {

              price = price / 2;

==> if a minor and a weekend then price is half = $5

Now look at the else part

else if (day == "Friday" && discountCode == "FREEFRIDAY"){

             price = 0;

}

This means if the visitor is NOT a minor and it is NOT a weekend if it is a friday, with a coupon then admission is free

Let's look at the answer choices and see what the logic flow is:

a. minor on Friday with the discount code
if (age <= 18 && day != "Saturday" && day != "Sunday")
All three parts of this condition are true so the statement price = price/2 is executed and price = 5. However, everyone with this coupon should get in free. So this part is incorrectly coded

b. an adult on Friday with the discount code
if part is False, else if part is true and price = 0 which is consistent

c. an adult on the weekend
if part is false, else if part is also false so price printed out is 10 which is consistent

d. a minor on the weekend
the if part is false and so is the else if part , so price is unchanged at 10. Consistent

e. an adult on a weekday
Both the if and else if parts are false, so price is unchanged at 10. COnsistent

What is the purpose of the CC option in an email?
A.
Create a carbon copy of the message.
B.
Save the message as a template for future use.
C.
Send a copy of the message to one or more people.
D.
Forward a message to multiple recipients.
( Edmentum MSE )

Answers

Answer:

c

Explanation:

send a copy of the messege

Briefly discuss the aesthetics and ergonomics of a hydraulic jack. First explain what these
terms mean and then discuss their application on a hydraulic jack.​

Answers

Answer:

For this model, aesthetics is defined as a measure of how attractive a product appears, and ergonomics is how well a product feels when used/held. ... Two important types of defects, part flash and crush, will be used to define ergonomic and aesthetic PA's, respectively.

Suppose you use a stack instead of a queue when running breadth-first search. Does it still compute shortest paths?

Answers

Yes, you can surely use stacks instead of a queue as the auxiliary data structure for the Breadth-First Search.

For every enqueue and dequeue operation, you might have to perform some extra pushing and popping which may lead to a complex code for a simple BFS.

What is Breadth-first search ?

BFS is an algorithm for looking for nodes in a tree data structure that satisfy a specified property. Before moving on to the nodes at the next depth level, it begins at the root of the tree and investigates every node there.

The breadth-first search method gets its name from the way it evenly widens the frontier between vertices that have been discovered and those that have not.

Learn more about Breadth first search here:

https://brainly.com/question/15142337

#SPJ4

Provide The Algebraic Model Formulation For Each Problem A Country Club Must Decide How Many Unlighted And How Many

Answers

Algebraic model formulation means turning a problem into math using equations and inequalities. This means taking a problem and turning the rules, goals, and choices into math equations.

What is  Algebraic Model Formulation

To create a math formula, you usually do the following:

Find the things you need to know or control in the problem. These things are often represented by letters.

The objective function describes what we want to achieve in the problem. This might mean making something as big or small as possible. For example, making a lot of money or spending less money. You could also try to make something take less time or be more helpful. The goal of a problem is written using the choices you can make.

Learn more about Algebraic Model Formulation from

https://brainly.com/question/33639939

#SPJ1

antispyware software prevents adware software from installing itself on your computer. T/F

Answers

True. antispyware software prevents adware software from installing itself on your computer.

Antispyware software is designed to detect and remove various types of spyware, including adware. Adware is a form of unwanted software that displays advertisements on a user's computer. It often gets installed without the user's consent and can be disruptive or intrusive. Antispyware software works by scanning the computer for known adware signatures and behaviors and then taking appropriate actions to prevent their installation or remove them if already present. By regularly scanning the system and blocking or removing adware, antispyware software helps protect the computer and the user's privacy from unwanted advertising and potential security risks associated with adware.

learn more about antispyware software here:

https://brainly.com/question/30695087

#SPJ11

Other Questions
34. A virus decays on a steelsurface at a rate of -15% perhour. There are 5,000,000viruses present on a steelcountertop. Write an equationmodeling the situation andpredict the amount of viruspresent in 24 hours. a number plus 6 is greater than 1 The concept of green streets was noted as an opportunity to better steward water in neighborhoods and roadside areas. The concept is being used in Portland, Oregon and Los Angeles, California. Additio Constructed Response HELPPPPPPPP FAST PLSSSSSSSThe authors of "Online Programs to Train Your Brain" and "Is Online Brain Training Actually Effective?" present conflicting views on the topic of brain training. Which text provides the MOST reliable information? Analyze the evidence presented in each text and write a response assessing which text provides the most reliable information. Alex and Bailey run a dog wash and spa service. They have to purchase basic, low-cost work supplies on a regular basis. They budget a specific amount of money to buy these goods each month. Which type of credit would be mosthelpful and least risky for them?O Installment crediaO Secured credit cardmous QuestionO Service creditO Bank loan Where do synthetic polymers come from? Why are they problematic sources of pollution? 1) A Freedom 35 financial planner claims you will need$1,175,000 to retire in 15 years time. How much should you investtoday at 9% simple interest to reach your retirement goal?2) How long will it The sales manager gathered information on the numbers of sales calls made and the number of copiers sold for a random sample of sales representative. Is there a positive correlation between calls made and copiers? Test at the 0.05 level of significance. Determine the 90% prediction interval for 60 number of calls made. * Calls,X Sold. Y 20 40 20 50 40 60 50 90 40 80 20 40 40 60 30 60 Determine the conditions under which x - y is positive.1.) If x and y are both positive, the expression x - y is ____2.) If x is positive and y is negative, the expression x - y is ____Answer choices:Always positiveNever positivePositive only if x > yPositive only if x < y 9. Select all the angles of rotation that producesymmetry for this flower who tryna play among us Expert help me When firing a rifle, the bullet is shot at a high speed as the rifle recoils in the opposite directo How do you compare the force which they impart on each other? How do you then explain the big difference in the velocities of two? Would you care to fire a rifle whose bullet is ten times as massive as the rifle? Why or why not? Which of the following would be directly counted in GDP in 2014?A. kitchen cabinets purchased from Home Depot in 2014 to be installed in a house built in 1997B. kitchen cabinets built in 1887, extracted from the 1887 home, and installed in a brand new country-style homeC. kitchen cabinets built in 1887, extracted from the 1887 home, and installed in a farm house built in 1950D. None of these The expression \sqrt[3]{3}\cdot \sqrt[5]{3^6} 33 53 6 is equivalent to EXPLAIN THE HISTORICAL CONTEXT BEHIND THE QUESTION AND ANSWER, talking about whats happening during this time.Stanleys description of the riches of the Congo in the first two paragraphs can best be seen as an attempt to.Answer: Place Europe expansion in the Congo in the context of other imperial values that had seemed difficult at first but have subsequently turned out to be highly valuable find the radius of convergence, r, of the series. [infinity] (1)n xn 7n ln(n) n = 2 R =Find the interval, I, of convergence of the series. (Enter your answer using interval notation.) I = Given (9,4) and (x,11), find all x such that the distance between these two points is 17. Separate multiple answers with a comma. how many amino acids have a ring? Farmers were able to grow more crops which led to an increase in the ______ and they were able to trade their _______ crops expression that gives an estimate of the probability that intelligence exists elsewhere in the galaxy, based on a number of supposedly necessary conditions for intelligent life to develop