This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: http://cs.bilgi.edu.tr Comp 314 —Worksheet ( Week 07) Project 07 Deadline: 0900 Friday 3 April / 0900 Monday 6 April Irrelevant code will be penalised 1 in project submissions. 1 In the lab In the lab this week, you will 1. Complete unfinished code in your week 06 assignment. If you got less than 100, you must do this. Your assistant will check that you have actually completed the design and code, and much more importantly, the tests. 2. Design test and code vector based stack routines. These will use a vector and a free index. You should have procedures to add a value to the stack and a procedure to retrieve the nth item down in the stack. Answer these questions and write the answers in comments in your code. (a) Why don’t we need a procedure to remove an item from the stack? (b) Why don’t we implement the stack as a datatype, instead of as two values? (c) Why will we need more than one stack? (d) Do we need more than one stack? 3. Update your deBruıijniser from project 05 to work on your FnWAEif lan- guage from project 06, produce abstract syntax of a debruijnised language FnWAEifDB. To get an attendance grade for the class, you need to arrive at the lab class on time and to stay and work on Comp 314 tasks until the end of the class time. Document last compiled on March 31, 2009 1 http://cs.bilgi.edu.tr 2 Assignment This week you must complete your designs, data definitions, and, in particular, your...
View Full Document
This note was uploaded on 05/03/2009 for the course COMPUTER S Comp 314 taught by Professor Chrisstephenson during the Spring '09 term at Istanbul Bilgi University.
- Spring '09