Course Level
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type

In this tutorial, students create a random number generator. Using Java, students must create a program that prints a random integer, prints the value of a coin toss (H or T), prints a value from a discrete set of float/double values, prints a random lower-case letter, and two additional problems (as identified by the student).

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

Computer Science Topic(s)
random number
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