Why we calculate two numbers, not one, for dice rolls

Look at this. You should see the reason plainly. Graphic: Two dice

When you get a random number from 2 to 12 for a dice roll, you’re making the chances for a roll of 7 the same as 1 in 11.

That’s not how it is when you actually roll two dice. Because so many combinations can add up to 7, the probability is much higher — 17 percent.

Meanwhile, it’s really hard to roll “snake eyes,” or 2 (double ones). It’s equally hard to roll a 12, or two sixes. The chances for 2 or 12 are only 3 percent.

But only if you get two unique random numbers, one for each die.


Get ready for Weeks 6 and 7 and our HTML, CSS review

We will move on from Python after the Week 5 meetings, quiz and problem assignment.

Next up is a review of HTML and CSS. This begins in class on Monday, Feb. 16, when I will give you an HTML-and-CSS exercise to do during class and hand in. Based on this exercise, I will assess how much you know — basically, your skill level.

Before that class, you should review your previous work with HTML and CSS so you are properly prepared to complete the in-class assignment on Feb. 16.

Read the assigned readings. These are listed under Weeks 6 and 7 on the Course Schedule. Material from the readings will be in the quizzes in these weeks.

Review the checklist (link under Week 6 on the Course Schedule) to refresh your memory.

You can also review HTML and CSS at the excellent HTML Dog website.

DO NOT rely on the W3schools website. It is not a respected resource. See W3Fools for more information and other good resources.

Week 1 in Spring 2015: Important information!

Hello! Are you thinking about signing up for MMC 4341L? All you need is one prerequisite: MMC 3260. If you liked that course, you are all set to learn Web programming and real code for making real apps!

See important Week 1 class details below.

Have you already signed up for MMC 4341L? Welcome! You’ll see that most pages on this site have been updated for 2015. Have a look around — About This CourseCourse ScheduleRequired Work and Syllabus are the key pages for right now. You can get access quickly on any smartphone by tapping the contents button (left of three):  Continue reading

What students said about this course in spring 2014

These are bona fide, unedited student comments from the official UF student course evaluations site. Those with no answer or “n/a” or “none” have been omitted. Students were all undergraduates in journalism or advertising who had no previous programming experience. Only eight students were enrolled in this course.

Qualities of instructor which contributed to success of the course:

“Her enthusiasm and clear description of the course and how much time we would have to devote to it to be successful.”

“She is very passionate about the course and the material which makes me what to learn more about the material as well.”

“Her enthusiasm for the subject material and our understanding of it made difficult course material easier to understand. She was always willing to give additional help, even outside of class and after work hours. The class was also broken down really intelligently so that we had a good foundation for more difficult material later in the course.”

“Ms. McAdams encouragement to play with code helped with my success in this course.” Continue reading

Dates for your project work

To be clear, these are the weeks in which your individual meetings are about your three weeks of project work:

  1. Week 14 | April 7 (meetings April 8, 9, 10)
  2. Week 15 | April 14 (meetings April 15, 16, 17)
  3. Week 16 | April 21 (meetings April 22, 23, 24)

So that week’s work needs to be complete when you come to meet with me.

The last day of classes is April 23. So I messed up here — I’m not allowed to make you meet with me on April 24, which is an official Reading Day. Therefore, the four students who meet me on Thursdays will need to schedule with me for earlier in that week. Of course, if you want to meet on Thursday, that’s up to you.

On April 28, I’m getting on a plane. I’ll be out of the country for about 10 weeks. So if you’re interested in the extra credit (due Monday, April 28, before 6 p.m.), discuss it with me.

This course has ended

The course will be taught again in spring 2014.

This blog contains the complete syllabus and all assignments for an undergraduate course taught in the College of Journalism and Communications at the University of Florida in the United States. This course has been offered every spring semester since 2000. After three or four years, the course content changes completely. In the first years, we focused on video editing, compression and players. After that, we focused on database design and interactivity using Web back-end databases. Next, the focus was on Adobe Flash for several years. Now, we code.

For information about the course, please follow the navigation links above. Start with About This Course.

For PowerPoints shown in class, you can see a complete list at SlideShare, where you can also download the PPT files.

I believe in sharing knowledge. Teaching materials should be open and free. If you want to use anything from this course, you are welcome to do so.