CPSC 110-08: Computing with Mobile Phones

Homework 6: Three-sided Coin Experiment
Due: Friday 10/7 (before class)

CS Principles

This homework activity addresses several ideas, including creativity, abstraction, algorithms, and programming. It ask students to extend the simulation experiment done in class to a 3-sided coin. How good is App Inventor's PRNG at simulating a 3-sided coin? Like the lecture and in-class demo, it addresses the following learning objectives.

Can App Inventor Model a Fair Three-Sided Coin?

You should work with your Project-1 partner on this assignment.

Following the fair coin experiment and using and building upon the source code for that experiment, write an app that helps you test whether App Inventor's pseudo random number generator (PRNG) can successfully model a fair 3-sided coin.

Details

Getting Help

The TA is available to help you on this assignment between 9-10 PM on Tuesday and Thursday evenings in MCEC 136.

In Class on Friday

Don't forget the quiz on Friday. It will cover algorithms, especially if/else and loop algorithms.