User Defined Methods Review Questions and Exercises

From CompSciWiki
Jump to: navigation, search

COMP 1010 Home > User Defined Methods


Introduction

To familiarize yourself with creating user-defined methods, this page contains review questions and exercises found in the Program A Day section.

Try These Program A Day Questions

User Defined Methods

  1. Print a Calendar
  2. Print Numbers
  3. Add Area Code
  4. Fix Code Sample
  5. Concatenate Strings

User Defined Methods Involving Arrays

  1. Passing Arrays
  2. PrintArray Method
  3. FillArray Method
  4. ReverseArray Method
  5. commissionCalculator
  6. Cellphone Texting

Tougher Examples

  1. Rock Paper Scissors
  2. Student Record List With Parallel Arrays
  3. Top Secret
  4. String Binary Search
Previous Page: Passing Arguments using Methods Next Page: Arrays