-
Lesson Setup
-
Start-of-lecture
Slides
(Required)
-
'Starter' project
for the lesson 06 PCEs (VS 2010)
-
Watch
the online
videos for this
lesson and
demonstrate your
knowledge
(Hand-In) You can
download
a .ZIP of all
the
videos for this
lesson from
Microsoft's
OneDrive website
by
opening the
folder (click
this link to
open the folder),
then clicking on
the "Download" menu
item.
-
Recursion:
Figuring Out
What Existing,
Recursive Code
Does
-
VIDEO:
Tracing through recursion
-
Exercise:
Recursion By
hand: Warm-up #1
(Link
to the exact
same code,
in an
easy-to-print
page
NOTE: This
is in an MS
Word file)
-
Exercise:
Recursion
By hand: Warm-up
#2
(Hand-In)
You can hand
this in
however you
want - take
a picture
using your
phone & hand
in the image
file, do the
work in Word
directly, do
the work in
something
like MS
Paint (or
the
superior,
free
alternative,
Paint.Net),
etc, etc)
(Link
to the exact
same code,
in an
easy-to-print
page
NOTE: This
is in an MS
Word file)
-
Exercise:
Recursion
By hand: Warm-up
#3
(NOTE: This
is in an MS
Word file,
and is ONLY
available in
a single,
easy-to-print
page)
-
Exercise:
Recursion By
hand: More
Complicated
(NOTE: This
is in an MS
Word file,
and is ONLY
available in
a single,
easy-to-print
page)
-
Recursion:
Writing Your
Own, Recursive
Code
-
VIDEO:
Writing recursive code: Basic approach
-
VIDEO:
Writing recursive code: PowR example
-
Exercise:
Recursively
Printing Numbers
1 - 10
-
Exercise:
Recursively
Printing Even
Numbers
(Hand-In)
-
Exercise:
Recursive Power
Function
-
Exercise:
Recursive
Multiplication
(Hand-In)
-
Exercise:
Write Factorial
-
Exercise:
Fibonacci
Numbers (And
Arrays!)
-
Exercise:
Print a singly
linked list
recursively (Hand-In)
-
Last Steps
-
Hand in
your work: Go to the
StudentTracker web app, and
hand in your
work there
(There's a
link to
StudentTracker
on the main
page for
this course)
Please submit a .ZIP (and ONLY a .ZIP - not a .RAR, .7z, etc)
that contains the Program.cs
file, the video outline/viewing quiz .DOCX (or .PDF), any other files you wish to include, and leaves out every thing else (as
much as possible).
-
Make sure that you're working on
the next homework
assignment.
Details
are listed on the
homework assignment page.
The due date is listed on the
main page.
-
Practice
what you've
learned
Remember
that in
order to
really learn
this stuff
you're going
to need to
practice it.
Go back and
redo the
exercises
from this
lesson until
you've
really got
it down.
Go back to
the prior
lesson(s)
and review
and redo
that.
Make sure
that you've
really got
this stuff
in your head
(and
remember
that it gets
easier each
time you
redo the
work)!
|