Exam 3- 2012

Cs 115 exam 3 fall 2012 page 7 of 9 problem 4 35

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: have at least N characters * does not change the list that was passed to it CS 115 Exam 3, Fall 2012 Page 6 of 9 (c) Define a function called all_even that… * has one input parameter: a list of integers * returns True if all elements of the list are even numbers and False otherwise CS 115 Exam 3, Fall 2012 Page 7 of 9 Problem 4: 35 points. For this problem, you must write a complete program. That includes a docstring, a def main(), any necessary library imports, etc. Read the instructions carefully before you start coding! If you get stuck, try to maximize your partial credit. Your program should contain the following: 1. The definition of a function called select_names that does the following: o Takes two input parameters: a list of strings L and an integer N o Returns a new list L2 consisting of...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online