Outline for April 28, 2025

Outline for April 28, 2025

Reading: zyBooks text §2.19
Due: Homework #2, due April 30, 2024


  1. Redirection of input, output, and error

  2. Random numbers
    1. Random vs. pseudorandom numbers
    2. Initializations, seeds
    3. rand, random, getrandom [rand.c, getrandom.c]

  3. Monty Hall problem
    1. What it is
    2. Programming it [monty1.c, monty1.c, monty2.c, monty3.c, monty4.c, monty5.c, monty6.c, monty7.c, monty8.c, monty9.c]

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 36A, Programming & Problem Solving
Version of April 28, 2025 at 10:24AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh