course.wilkes.edu/CS125Labs
Welcome to the site for CS 125 labs!

 

Lab 8: Instructor's Notes

Prev | Next | Lab 8

Today's exercise has students encode and decode the characters in a file using the Caesar cipher. The exercise has two parts:

  1. In the first part, the exercise helps students complete the file encode.cpp, which contains a program that encodes a message using the Caesar cipher.
  2. In the second part, students apply what they have learned in the first part to complete decode.cpp, which contains a program to decode a message encoded using the Caesar cipher.
Also provided is a file message.text, which contains a simple message that can be used to test encode.cpp; and a file alice.code that contains an encoded message that can be used to test decode.cpp.

If you wish to avoid network contention and delays, save copies of these files locally ahead of time, and instruct your students on how to access them.

Prev | Next | Lab 8

 
  Home

Help

Lab 0

Lab 1

Lab 2

Lab 3a

Lab 3b

Lab 4

Lab 5

Lab 6

Lab 7

Lab 8

Lab 9

Lab 10

Lab 11

Lab 12

Lab 13



Membership

Login




Last update: Wednesday, August 23, 2000 at 3:53:23 PM.
visitors to this page.