CSci 150: Foundations of computer science
Home Syllabus Readings Projects Tests

printable version

Test 2 Review A

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Problem R2a.1.

Both functions and methods allow names to be associated with more complex computations. For example, with strings, you can use the len function and the count method. What distinguishes them?