Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Lab
Synopsis

In this lab, students work through an introductory problem to have a simple conversation with a computer program they have written. The computer prints a greeting message, and then asks the user five questions, and responds in an appropriate manner. This activity is good to get students familiarized with simple i/o.

Recommendations

For more information on how this homework fits within the scope of the course, please see the following course schedule and syllabus here: (http://mathcs.pugetsound.edu/~aasmith/cs161/). Search "Conversation".

Engagement Highlights

By putting i/o in the context of common conversation, this activity has Meaningful and Relevant Context. By giving students the choice of what questions to ask, this activity Incorporates Student Choice.

Materials and Links

Computer Science Details

Programming Language
Java

Material Format and Licensing Information

Creative Commons License
CC BY-NC-SA