Course Level
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type

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.

Computer Science Details

Computer Science Topic(s)
conditionals (if/else)
loops (while)
Programming Language

Material Format and Licensing Information

Material Format
Technology Platform Required
Creative Commons License

Author's Institutional Information

Institution Type
Baccalaureate Colleges - Liberal Arts
Community Type
Town Distant