runtime, new input size. You'll fill in the expected new run figure out the answers. Runtime Original proportional to input size logn 1,000 Original Runtime in ms 4 New Input Size 1,000,000

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 14E: In Chapter 4, you created a program that generates a random number, allows a user to guess it, and...
icon
Related questions
Question

dont dont dont answer if not 100% sure skip if dont know else strict action

1. In each row, four items are given: function to which runtime is proportional, original input size, original
runtime, new input size. You'll fill in the expected new runtime. Refer to Runtime Rules of Thumb to
figure out the answers.
Runtime
Original
proportional to input size
1,000
20
logn
nlogn
n³
n²
n²
√n
n√n
n
1
2
n!
n"
4
1,000,000
4
3,000,000 4
3,000,000
1000
20
12,000
1,000
100
100
Original
Runtime
in ms
4
100
4
4
4
4
4
4
4
4
New Input Size New Runtime in ms
1,000,000
400
2,000,000
9,000,000
6,000,000
4000
180
36,000
1,000,000
101
101
101
Transcribed Image Text:1. In each row, four items are given: function to which runtime is proportional, original input size, original runtime, new input size. You'll fill in the expected new runtime. Refer to Runtime Rules of Thumb to figure out the answers. Runtime Original proportional to input size 1,000 20 logn nlogn n³ n² n² √n n√n n 1 2 n! n" 4 1,000,000 4 3,000,000 4 3,000,000 1000 20 12,000 1,000 100 100 Original Runtime in ms 4 100 4 4 4 4 4 4 4 4 New Input Size New Runtime in ms 1,000,000 400 2,000,000 9,000,000 6,000,000 4000 180 36,000 1,000,000 101 101 101
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Concept of Flowchart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,