What is this asking for?
you asked for it meaning in hindi
to ask for spanish
ask someone for something
ask of or ask for
ask out meaning
Now let B(n) be the time it takes to sort n elements for bubbleSort. Let Q(n) be the time it takes for quickSort to sort n elements. Let M(n) be the time it takes for mergeSort. to sort n elements . In a Word document or in a text file, create a table of the following data which your program(s) will produce using the functions you developed in 1) 2) 3) and 4).
n B(n) B(n)/n^2 ......... etc i just need to know what this is asking for 1000 2000 4000 8000 16000
one question what is B(n) asking for in this ? I already finish coding and it shows me number of comparison and number of swaps. Do i need a stop watch to time it or something?!?!
I just dont get what it is asking for
For what I understand the question asks you to state how many operations would the algorithms need to perform for each of the input sets.
For example, if insertion sort is O(n^2), you'd have
n O(n^2) ... 1000 1000000 2000 2000000 4000 4000000 . . .
be asking for it, The final frontier of denial, "asking for it" is a mentality people use to justify the world being less horrible than it is. Most commonly it is used to pretend that a rape The first example makes it seem like you're asking the person to stop what she's doing and help you out, while the second one acknowledges the other person's expertise. Avoid guilt. You might want something from a person you've done things for in the past.
You could implement a stopwatch, using time related functions.
However, from my experience, such homework assignments usually ask for number of comparisons and not actual time. Actual time will vary from Environment to Environment.
ASK OUT (phrasal verb) definition and synonyms, : to request to see or talk to (someone) Unhappy with the service, he asked for the store manager. There's someone on the phone asking for you. Learn More about Ask.com is the #1 question answering service that delivers the best answers from the web and real people - all in one place.
"using the functions you developed in 1) 2) 3) and 4)"
you must have very precise definitions of B(n) if you developed them in 1, 2, 3, 4 -- use those rather than those suggested here. they should look like polynomials over n with integer coefficients and powers.
Asking For It, Ask for definition, to put a question to; inquire of: I asked him but he didn't answer. See more. Swartz points out that the question of whether or not it is acceptable to ask for a raise is the exact type of question a young professional can ask on Aurora, reacHIRE’s new online platform
If you're after a good grade:
Your homework mentions a program you have created, presumably that implements the algorithms you listed. Add some timing code that prints system ticks before and after performing a sort with 1000,2000,4000,8000,16000 items. Then subtract the difference, and put the time taken into your answer table.
Then do what the other guys say, and create a new answer table with the theoretical "Big O" answers.
Ideally you'd overlay both as a graph to highlight the difference between theory and your implementation.
Ask For, From Longman Dictionary of Contemporary Englishbe asking for itbe asking for itDESERVEused to say that someone deserves something bad that happens to "Asking for our needs to be met requires us to be extremely vulnerable," Erickson says. "It requires feeling safe in your relationship, and having trust that your partner will hear and receive you without judgement [This] can be especially challenging for younger people,
Ask for, ask meaning: 1. to put a question to someone, or to request an answer from someone: 2. to consider something…. Learn more. Asking for less than you really want - from yourself, from others and from life - doesn’t serve anyone. So I dare you - try asking for what you really want. Who knows… you might just get it!
ASK, Much of an executive's workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart Asking via email. Asking for reviews via email is a bit trickier. There are cases where you don’t have a lot (or any) face time with a customer. In those instances, email may be your only option.
How to Ask Great Questions, A guide to getting over your fear of asking for support by The Void Academy, with illustrations by Qiong Li. Prelude. Learning how to ask for If the company is not doing well, this is not the time to ask for a raise. As an employee, you may be aware of the company’s financial health. You should look for warning signs, such as cutbacks in spending or layoffs. Check the news for stories about your employer or industry.
- From your question, B(n) is the time it takes to sort n elements using bubble sort which is O(n^2). But I don't understand the second part of your question, please provide more detail.
- it it is like a chart it want me to fill in B(n) and then B(n)/n^2 so what do i put in for B(n)?? i know n^2 for the first one is 1000^2
- You need to look up the running time of each of those sorting methods... en.wikipedia.org/wiki/Big_O_notation
- oh i figure it out that crazy teacher actually want us to FIND the RUNNING time on my computer. Ty for the help!
- i got it ty for help! need to use QueryPerformanceFrequency(&frequency); QueryPerformanceCounter(&t1); to find time since quick and merge sort are too fast for s