CMPT110_Assignment06

CMPT110_Assignment06 - CMPT 110 Assignment 6 (1% of final...

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

View Full Document Right Arrow Icon
CMPT 110 – Assignment 6 (1% of final grade) Due : Monday, November 10 th , in class Late assignments will not be accepted. What to hand in: a print-out of your code and one screenshot of your program. For each question, make the appropriate buttons and textboxes on your form to test what the question asks for (unless the question specifies asks for something else). 1. Write a function that displays the contents of a list of strings in a multi-line textbox, one string per line. Then make two lists of strings (with a different number of strings in them), and call this function with each of them. After the two function calls, both lists’ contents should appear in the textbox (i.e. the textbox should not be cleared between function calls). 2. Write a function that generates a list of any length, filled with random integers between 1 and 100. For example, this function could be used to make a list of 20 random integers, or 55 random integers, or any other number of integers. Here is the header for this function (note the return type):
Background image of page 1

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

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

This note was uploaded on 10/12/2011 for the course CMPT 110 taught by Professor Andrew during the Fall '10 term at Simon Fraser.

Page1 / 2

CMPT110_Assignment06 - CMPT 110 Assignment 6 (1% of final...

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

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