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

In this tutorial, students create a program in Java that uses a while loop. The program must accept user input and then evaluate whether or not the value entered by the user is too high or too low. The program must continue to loop until the user enters the correct value.

Engagement Highlights

Incorporates Student Choice by allowing students to customize part of their program. Supports Student-Student Interaction by encouraging students to help one another while working on the activity. Includes positive language that is commonly used for Effective Encouragement. Supports Student-Faculty Interaction by encouraging students to email the professor directly with any questions or concerns, regardless of whether or not they completed the activity.

Materials and Links

Computer Science Details

Programming Language
Java

Material Format and Licensing Information

Creative Commons License
CC BY-NC