Week #
|
Dates
|
Tuesday
|
Thursday
|
1
|
Jan 17,
19
|
First day
of class
Tentative Lecture Plan:
- Syllabus and Handouts
- Chapter 1.3.3 Strings & Languages
- slides
|
Quiz
1 (on material from Discrete Structures)
Homework due today to prep for the quiz (all answers to
problems are in the back of the book!):
- Read the following sections of the textbook to
review some material from discrete structures:
- 1.1 A proof primer
- 1.2 Sets (1.2.1 through 1.2.3)
- 1.3.1 Tuples
- 1.4 Graphs and Trees (1.4.1 through 1.4.4)
- Exercises 1.1 (pp 12-13): #3a, c, e (hint: try the
example 2&5); #4a,c; #6a,c; #7a, c, e; #8a; #9
- Exercises 1.2 (pp 32-36): #1a, c, e; #2a,c;
#3a,c,e,g; #5, #6a,c,e; #7a,c; #8a; #9a,c; #10;
#11;#12; #13a,c,e; #14a,c; #15a,c; #16a,c; #19a,c;
#22; #28 a,c; #33a,c (hint: they're both false)
- Exercises 1.3 (p. 53): #1; #2a,c,e
- Exercises 1.4 (pp 71-73): #4a,c; #5a,b; #7a,b; #10;
#12; #14a,b; #16a,b
|
2
|
Jan 24, 26
|
Homework due today (Quiz on all
of this!!!)
- Exercises 1.3 (page 54): #8a,c,e, #9a,c,e,
- Memorize the material in the handout
about chapter 1.3
|
Homework due today (Quiz as
usual)
- Exercises 1.3 (page 54) #10 a,c,e; #11 a,c;
- Probably a good idea to review that handout
if you don't have it down yet. You never know when
that may show up on a quiz ....
Other stuff:
- Remember to bring the next set of slides to class!
(Find them from the class home
page)
- Please ask me to explain study groups in class again
- apparently not everyone understood!!
|
3
|
Jan 31, Feb 2
|
Quiz today: Just a
review of stuff you've already been quizzed on (but haven't
always done so well on .... (just learn it already!):
- Handout yet again
- Also, more questions about sets (it's clear some of
you aren't totally up on them - review section 1.2.1 and
1.2.2 (I won't quiz you on proofs this time)
Suggested problems to review: Page 32, #1a, c, e; #2a,c;
#3a, c, e, g; #5, #9a, c; #10; #11; #12; #14a, c;
|
Study
for Quiz::
- Slides we've done in class
- Very first part of 11.1 (Page 696-top half of 697)
On the quiz I will give you the definition for Regular
languages as
found in box on page 696.
|
4
|
Feb 7, 9
|
Reminder: Review session on
Monday 2/6 about sets, languages, alphabets, etc.
Homework:
- Read Chapter 11.1.1
- Do problems: on page 702: #1a,c,e; #2a,c,e,g,i; #3
- Review problem 10 on page 54 and our discussion of
that in class last time. There will be one question like
this on today's quiz.
|
Homework:
- Do problems 11.1 on page 702:
- #5 a,c; #9ac; Work on the bold problems in
#6. These are proofs. I'm not going to quiz you
on them today, but I will do so next time.
|
5
|
Feb 14, 16
|
Homework:
- Page 703All the problems in #6 (we did a & b in
class) plus all the problems in #7 (they're bold)
- Page 726 #2a, c, e;
- #3 (the idea is that you're building a DFA to
recognize decimal numbers. It starts with an optional +
or -, and then has one or more digits, a decimal sign,
and then one or more digits. The book uses the | in the
regular expression since they need to say that you can
have a + at the beginning. You can use d to mean any
digit from 0-9 (i.e. d = {0,1,2,3,4,5,6,7,8,9})
|
Homework:
Page 726 #1, also come up
with a 5-tuple for this DFA
Page 726 #2 all parts - in class and as homework you've
already made DFAs for these. Now turn each of those into
5-tuples
Yes, before today's class you should memorize what goes in
the 5-tuple and in what order!!!
|
6
|
Feb 21, 23
|
Take
Home Quiz Due!!!
Surprise - No quiz today (just do well on your take home)
|
Problems on NFAs:
- Page 727 # 5a, c; #6 a, c; #7;
|
7
|
Feb 28, March 1
|
Problems on NFAs:
No quiz today but we will review the proof quiz (you'll
need to know this for the midterm)
Bring review questions
|
Midterm Exam
I will provide you with a
copy of the "Properties of Regular Expressions" table on
page 700. You may bring notes on one side of one 8.5x11
piece of paper with anything else you think might be of
help.
In order to help you study
for the exam:
- You may discuss your notes page verbally (out loud)
with anyone
- You MUST make it yourself
- You MUST NOT look at anyone else's notes page
- You MUST NOT allow anyone else to look at yours
Old quizzes
for you to review
|
8
|
Mar 6, 8
|
quiz today on procedure to turn regular
expression into an NFA. Take this quiz and I'll drop your
lowest 3 quizzes rather than 2!!
|
Homework:
- Do Example 11.9 in the book (pp 715-716)
- Review the Mealy and Moore examples on vending
machines and traffic signals on pp. 719-720 of the book
- Book problems: p727-728: #8a, c; 9
- Book problems p194 #1a, c
|
9
|
Mar 13, 15
|
No
Class
Spring Break
|
No
Class
Spring Break
|
10
|
Mar 20, 22
|
Homework: Book page
194 #1a,c; #2a, c;
Quiz today: Grammar basics including:
- Can you derive a given string from this grammar?
- Is this string in the language specified by this
grammar?
- Construct a leftmost derivation for this string given
this grammar
- Give a regular expression that represents the language
of this (not-too-tough) grammar
|
Homework: Book Pages
194-195: #2a, c; #3a, c, e, g, i; #4a, c, e; #5a, c, e; #6a,
c; #7a
- Challenge problem (optional): #14a
Also, you may want to watch the pencast I
did about finding grammars |
11
|
Mar 27, 29
|
Homework:
Book page 755 #1a,c,e,g,i; #2 a,c,e,g,i; #3a, c
Also, you may want to watch the pencasts
I did about finding grammars
|
Homework:
- Review the slides (note that
I've uploaded the newer versions of them to the web
site) and make sure you can do things like given a DFA,
split a string accepted by it into x, y, and z portions,
and explain how a proof by contradiction works.
- Page 756, #7a, c
Also:
|
12
|
April 3, 5
|
Take
home quiz due today
Homework:
- review last week's lectures & Thursday's homework
problems
- Consider watching the new pumping lemma pencasts
- Try proving the following languages are not regular:
- anb3n
- a2b3cndn
(you'll
need
a
bunch
of
subcases)
- {wxw | w,x are elements of {a,b}* }
Quiz today will be on everything we covered on Tuesday and
Thursday including pumping lemma proofs, however, I
will give you this outline
of
what
a
pumping lemma proof looks like |
Midterm Exam
- Covers all the material this semester, with an
emphasis on the new material since the last midterm.
- You may bring notes
on one side of an 8.5x11 piece of paper.
- In order to help
you study for the exam:
- You may discuss your notes page verbally (out
loud) with anyone
- You MUST make it yourself
- You MUST NOT look at anyone else's notes page
- You MUST NOT allow anyone to look at yours
- If you need "Properties of Regular Expressions"
table from page 700 I'll provide you with it
- I will not provide you
with the outline of pumping lemma proofs - learn it or
include it on your paper
Old quizzes and midterm for you to
review |
13
|
April 10, 12
|
|
Homework:
- Page 777 #1a, c, e; #2; #3a (note-accepting by final
state is the PDAs we learned in class)
- Page 778 - make a PDA for #7a (don't worry about the
book telling you to use 12.7 to do so)
|
14
|
April 17, 19
|
Quiz on PDAs (so
practice them some more!)
|
Read the beginning of
chapter 13 through page 818 (Don't read the busy beaver
stuff unless you feel like it)
Review the slides from Monday. Also check out this
explanation
of the halting problem.
Book Problems (Page 827), #1; 3; 4a; #5a (note - complement
means flip the bits - change the 1's to 0's and 0's to 1's.
)
|
15
|
April 24, 26
|
Problems from the
book
- Page 417: 1a, c;
- Page 418: 5; 9a, c, e
- Page 419: 10a, c, e, g
No quiz today ... take home tonight.
|
Take
home
quiz due
Problems from the book:
- Problems from Monday if you haven't done them yet
- Page 440: #5a,c,e,g, i
|
|
|
EXAM Schedule:
Class Begin Time : 02:45 PM
Class End Time : 04:45 PM
Building
:
Science
Bldg
Room
:
126
Class Start Date : 03-MAY-2012
Class End Date : 03-MAY-2012
EXAM
Day
:
Thursday
Final Exam "Cheat Sheet":
- You may bring notes
on both sides of an 8.5x11
piece of paper.
- In order to help
you study for the exam:
- You may discuss your notes page verbally (out
loud) with anyone
- You MUST make it yourself
- You MUST NOT look at anyone else's notes page
- You MUST NOT allow anyone to look at yours
|