comp.lang.ada
 help / color / mirror / Atom feed
* Ada-based Primer in Big-Oh Notation
@ 2010-02-17 23:20 Rick
  2010-02-18 14:57 ` John McCormick
  0 siblings, 1 reply; 2+ messages in thread
From: Rick @ 2010-02-17 23:20 UTC (permalink / raw)


In preparing a tutorial on binary trees I am looking for an
introductory article on Big-Oh Notation.  The NIST article at
http://www.itl.nist.gov/div897/sqg/dads/HTML/bigOnotation.html
is, as expected, excellent - if you are comfortable with mathematics.
The students at whom this tutorial is aimed struggle with mathematics,
and would be much more comfortable with Rob Bell's article at
http://rob-bell.net/2009/06/a-beginners-guide-to-big-o-notation/.

Unfortunately, the examples in Rob's article are not in Ada.

Can anyone point me to a tutorial at a similar level to Rob's in which
Ada examples are used?

Thanks



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ada-based Primer in Big-Oh Notation
  2010-02-17 23:20 Ada-based Primer in Big-Oh Notation Rick
@ 2010-02-18 14:57 ` John McCormick
  0 siblings, 0 replies; 2+ messages in thread
From: John McCormick @ 2010-02-18 14:57 UTC (permalink / raw)


> Can anyone point me to a tutorial at a similar level to Rob's in which
> Ada examples are used?

Hi Rick!

Section 5.4 of my book, Ada Plus Data Structures (Dale and McCormick,
2007), discusses various ways to compare implementations.  That
discussion includes an introduction to Big-O and textural descriptions
of the common orders of magnitude. After this introduction, the Big-O
of each algorithm developed in the book is discussed.  As the material
is spread out throughout the book, organizing it into a single
tutorial would take some effort.

This is our students' first exposure to Big-O.  They see it again in
several other classes.  It seems to take several spirals through the
concept adding more details each time for Big-O to sink in.

It would not be difficult to translate Rob's examples into Ada.

John



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-18 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-17 23:20 Ada-based Primer in Big-Oh Notation Rick
2010-02-18 14:57 ` John McCormick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox