SUNY Geneseo Department of Computer Science


Asymptotic Notation

{Date}

CSci 141, Fall 2004
Prof. Doug Baldwin

Return to List of Lectures

Previous Lecture


Misc

Return tests

Hand out Homework 1

[Input Goes from File to Stream to Reader to Program]

Questions?

Reading Summary

Section 9.2

Relating step counts to execution time

Asymptotic notation

Ways to test asymptotic hypotheses

How to come up with asymptotic forms?

n 3n2 - n + 9 n2 B / n2
1 11 1 11
2 19 4 4.75
5 79 25 3.16
10 299 100 2.99
20 1189 400 2.9725
50 7459 2500 2.9836
100 29909 10000 2.9909
200 119809 40000 2.995225
500 749509 250000 2.998036

 

Next

Lists

Read Sections 11.1 through 11.3


Next Lecture