tutorial03

tutorial03 - CS 135 - Winter 2012 Tutorial the Third...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 135 - Winter 2012 Tutorial the Third January 25, 2012 CS 135 Winter 2012 03: Tutorial the Third 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Clicker Question - box-and-pointer Which of the following nested box representations match this box-and-pointer representation? CS 135 Winter 2012 03: Tutorial the Third 2
Background image of page 2
Group Problem - list of Strings - data definition Write a data definition for a list of Strings. You can find a similar example on module 5, slide 15. Keep this solution for the next problem. CS 135 Winter 2012 03: Tutorial the Third 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Group Problem - list of Strings - template Based on the previous data definition, write an appropriate template. Module 5, slides 16-18 also show an example of a template. Keep this for the next problem. CS 135 Winter 2012 03: Tutorial the Third 4
Background image of page 4
Group Problem - string-length-adder Based on the previous template, write a function string-length-adder that consumes a list of Strings and produces the length of all the strings added together. If you are given empty, return 0. Include the contract, purpose, one
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/02/2012 for the course CS 135 taught by Professor Vasiga during the Winter '07 term at Waterloo.

Page1 / 7

tutorial03 - CS 135 - Winter 2012 Tutorial the Third...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online