100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Review Test Submission: Module 1 - Complexity Quiz- COMPLETED

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
29-01-2023
Written in
2022/2023

Review Test Submission: Module 1 - Complexity Quiz User MOHAMMED REZA MOMIN Course EN.605.202.81.SU19 Data Structures Test Module 1 - Complexity Quiz Started 6/4/19 6:36 PM Submitted 6/4/19 7:03 PM Due Date 6/4/19 11:59 PM Status Completed Attempt Score 5.2 out of 7.59999 points Time Elapsed 27 minutes out of 30 minutes Results Displayed All Answers, Submitted Answers, Correct Answers, Feedback, Incorrectly Answered Questions Question 1 Selected Answer: An algorithm S of complexity O (n) is used to solve a problem. You execute the algorithm many times and collect timing information (see table). You are puzzled by the times you observe. State what you observe and give a reasonable explanation. Data Size | 50 100 250 500 750 1000 1500 10000 20000 50000 ________|___________________________________________________ Time | 2 8 51 205 456 811 1203 8100 16200 40500 The performance is [a] in the second half of the time chart but [b] in the rst half. Beta is about [c]. [d] that point, [e] performance would not be expected to be a reliable indicator or estimate of performance. In this case it [f] a reliable indicator. An algorithm S of complexity O (n) is used to solve a problem. You execute the algorithm many times and collect timing information (see table). You are puzzled by the times you observe. State what you observe and give a reasonable explanation. Data Size | 50 100 250 500 750 1000 1500 10000 20000 50000 ________|___________________________________________________ Time | 2 8 51 205 456 811 1203 8100 16200 40500

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
January 29, 2023
Number of pages
6
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

8/17/2019 Review Test Submission: Module 1 - Complexity Quiz – EN...

MOHAMMED MOMIN Logout
My Institution Courses Community Content Collection Support


EN.605.202.81.SU19 Data Structures Course Modules Module 1: Complexity and ADTs Review Test
Submission: Module 1 - Complexity Quiz




Review Test Submission: Module 1 - Complexity Quiz



User MOHAMMED REZA MOMIN
Course EN.605.202.81.SU19 Data Structures
Test Module 1 - Complexity Quiz
Started 6/4/19 6:36 PM
Submitted 6/4/19 7:03 PM
Due Date 6/4/19 11:59 PM
Status Completed
Attempt Score 5.2 out of 7.59999 points
Time Elapsed 27 minutes out of 30 minutes
Results All Answers, Submitted Answers, Correct Answers, Feedback, Incorrectly Answered
Displayed Questions


Question 1 0.4 out of 2.4 points

An algorithm S of complexity O (n) is used to solve a problem. You execute the algorithm many
times and collect timing information (see table). You are puzzled by the times you observe. State
what you observe and give a reasonable explanation.
Data Size | 50 100 250 500 750 1000 1500 10000 20000 50000
________|___________________________________________________
Time | 2 8 51 205 456 811 1203 8100 16200 40500


The performance is [a] in the second half of the time chart but [b] in the rst half. Beta is about
[c]. [d] that point, [e] performance would not be expected to be a reliable indicator or estimate
of performance. In this case it [f] a reliable indicator.


Selected An algorithm S of complexity O (n) is used to solve a problem. You execute the
Answer: algorithm many times and collect timing information (see table). You are
puzzled by the times you observe. State what you observe and give a reasonable
explanation.
Data Size | 50 100 250 500 750 1000 1500 10000 20000 50000
________|___________________________________________________
Time | 2 8 51 205 456 811 1203 8100 16200 40500


The performance is O(nlgn) in the second half of the time chart but
O(n^2) in the rst half. Beta is about 250. At that point, big
This study source was downloaded by 100000858936669 from CourseHero.com on 01-28-2023 19:39:58 GMT -06:00

https://blackboard.jhu.edu/webapps/assessment/review/review.jsp?attempt_id=_13585087_1&course_id=_184576_1&content_id=_6636065_1&outcome_id=_13520… 1/6
https://www.coursehero.com/file/67599062/Module-1-Complexity-Quizpdf/

, 8/17/2019 Review Test Submission: Module 1 - Complexity Quiz – EN...

performance would not be expected to be a reliable indicator or estimate of
performance. In this case it is a reliable indicator.


Answers: An algorithm S of complexity O (n) is used to solve a problem. You execute the
algorithm many times and collect timing information (see table). You are
puzzled by the times you observe. State what you observe and give a reasonable
explanation.
Data Size | 50 100 250 500 750 1000 1500 10000 20000 50000
________|___________________________________________________
Time | 2 8 51 205 456 811 1203 8100 16200 40500


The performance is O(n) in the second half of the time chart but O(n^2)
in the rst half. Beta is about 1000. Before that point, O(n)
performance would not be expected to be a reliable indicator or estimate of
performance. In this case it is not a reliable indicator.

All Answer Choices


big
small
minimal
excessive
100
250
500
750
1000
1500
10000
20000
O(1)
O(lg n)
O(n)
O(nlgn)
O(n^2)
O(n^3)
Before
After
At
is
is not
maybe
sometimes
consistently
inconsistently




Question 2 1.6 out of 1.6 points



This study source was downloaded by 100000858936669 from CourseHero.com on 01-28-2023 19:39:58 GMT -06:00

https://blackboard.jhu.edu/webapps/assessment/review/review.jsp?attempt_id=_13585087_1&course_id=_184576_1&content_id=_6636065_1&outcome_id=_13520… 2/6
https://www.coursehero.com/file/67599062/Module-1-Complexity-Quizpdf/

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsConnoisseur Self
Follow You need to be logged in order to follow users or courses
Sold
566
Member since
2 year
Number of followers
343
Documents
1497
Last sold
1 week ago

4.3

67 reviews

5
40
4
11
3
12
2
1
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions