## CSci 3501 Algorithms and Computability - Lab 12.

#### Due Wednesday, December 7th at 11:59pm

What to submit and when:

- All submissions are electronic: by e-mail to elenam at morris.umn.edu and CC to all lab
partners. Please do not delete your e-mail from "Sent mail" or your
mailbox until the end of the semester.
- When working on the lab, please comment your work so that it is
clear what contributions of each person are.
- At the end of the lab each group should send me the results of their
in-class work. Please indicate if this is your final submission.
- If your submission at the end of the lab time was not final,
please send me(CC to the lab partner(s)) a final copy before the due
time. Please use the subject "3501 Lab N", where N is the lab
number.

### Lab assignment

Work in groups **as assigned.**

#### Lab overview and goals

The goals of the lab are: to get experience with algorithmic
problem-solving;
to get practice with the pumping lemma for context-free languages.

#### Play the context-free "pumping lemma game" (7 points)

Use the tutorial
for the pumping lemma. Play the "pumping lemma game" for the
following examples. For each example state whether the language is
context-free; justify it based on which side has a winning strategy in
the pumping lemma game. If submitting your write-up as a text file,
please use .txt extension.

- The third language (a^n b^j a^n b^j, n >= 0, j >= 0) -- computer
goes first.
- The eighth language (a^k b^n c^n d^j: j not equal to k) -- you go
first

#### Problem-solving (30 points)

For this lab you will be working on a problem
defined here. Please
log in with your dungeon user name and password. Groups are
assigned. The problem statement is in Help/Documentation.

You should download a Desktop application for testing (also in
Help/Documentation).

Problem submissions generate scores for a given set of test cases. You
can also generate random test cases or define your own via the Desktop
application.

Every group should submit at least one copy of the code at
the end of the lab. Solutions are automatcially scored on the current
set of tests when you submit them.

Your solution will be evaluated both on the set of test cases that are
posted now and on a different (final) set that I will activate next
Thursday.

#### What to submit

- Submit the JFLAP files and the writeups for the pumping lemma
problem.
- Solutions for the polygon problem must be uploaded directly into
the web application.

CSci 3501
course web site.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.