Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Basic Concepts Questions

Post your questions here.

I'm not 100% sure on 1, 2, 3, and 9. I'm about 90% sure on 1, 2, and 9, though. Alex Young
1. "/" gives the quotient of two numbers. "%" gives the remainder of two numbers.
2. "==" is mathematical equality. "=" means "set something to be something else."
3. Not sure. Playing around with the command line leads me to believe that they're the same, but I don't think that's right.
9. MovieMaker makes movies out of still JPEGs that are like snapshots of moving images.


Can we get a definitive answer for the following questions? The answers are debatable, but here's what we've come up with...

What is the lowest frame rate that shows motion? 16
What is the highest frame rate that has been tested to show motion? 60
No, look in your book (in Chapter 12). Thanks! Brittany Duncan
What is the standard frame rate for the digital video camera, video games, or motion pictures? 30
Yes, but motion pictures is actually 24. Sorry, I should have realized that sounded like it would be one answer. Thanks! Brittany Duncan
What is the difference between "!=" and "<>" in JES? I haven't noticed a difference.
There isn't one. They both mean "not equal". I was being tricky. Thanks! Brittany Duncan
will we have to use % in anything on the test? i understand that it gives the remainder but can someone explain a little how it is used in a code?


In the code Dr. Potts showed us in class, he used % to determine the direction of the rectangle's movement. He defined it such that if (frameNumber / turnNumber)%2 were 1, then the rectangle would move from left to right, and if (frameNumber / turnNumber)%2 were 0, then the rectangle would move from right to left. As he commented in the code, frameNumber / turnNumber is integer division. Thus, if frameNumber < turnNumber, the quotient will be 0, so the rectangle moves from right to left. If 2*turnNumber>frameNumberturnNumber, then the quotient will be 1, so the rectangle moves from left to right.Alex Yang
the highest frame rate that has been tested is 200




Link to this Page