Temple University CIS 1051
Professor Rosen · Temple University · 23 lectures with notes
Every lecture with its full transcript and chapters, and one search across all 23 lectures.
CIS 1051 - Introduction to Class
CIS 1051 teaches algorithmic problem solving through Python, sustained practice, hands-on assignments, and responsible AI use.
CIS 1051- Lecture 2
Runestone's interactive Python image project previews core programming ideas through hands-on image effects.
Lecture 3: Variables
Python variables store values, while Turtle commands turn those values into simple graphics.
Lecture 4: Conversions
Use explicit unit conversions, integer division, and remainders to turn raw inputs into readable answers and defensible estimates.
Lecture 5: Shapes!
Use turtle turns, for loops, and circumference calculations to draw regular polygons and approximate circles in Python.
Lecture 6: PI
A Python implementation of the Madhava–Leibniz series introduces loops, accumulation, floating-point limits, and binary arithmetic.
Lecture 7: Passwords and For Loops
Long passphrases can be easier to remember and much harder to guess than short passwords with forced character substitutions.
Lecture 8: Kiva
Python list operations turn Kiva loan records into basic statistics, including averages, loan extremes, and country counts.
Lecture 9: Loops Exercises
Four loop exercises show how to count, extract digits, test number properties, and search candidate values.
Lecture 10.1: Leap Years
A Python date validator uses Gregorian leap-year rules, string slices, and clear conditional logic.
Lecture 11: Cryptography
Python examples show how Caesar and substitution ciphers work, and why modern cryptography must defend against more than brute-force decoding.
Lecture 12: Exam Review
A practical Python exam review emphasizing how to trace code, strings, loops, functions, and turtle drawings.
Lecture 13: File Reading 1
Python file reading depends on choosing the right reading method and placing files where the program’s paths can find them.
Lecture 14: Hurricane Tracker
Build the tracker’s foundations by mapping longitude and latitude, parsing CSV rows, and plotting hurricane data with turtle.
Lecture 15: Zipf's Law
A 5,000-word English corpus demonstrates Zipf's law and practical Python techniques for analyzing and graphing frequency data.
Lecture 16: Dictionaries (with bonus Lambda and Map!)
Python dictionaries make frequency counting practical, while lambda and map enable concise transformations of collections.
Lecture 17: LET'S GO GAMBLING (Monte Carlo Approximations)
Monte Carlo simulation estimates game odds by repeatedly running randomized trials, as shown with a card game and Monty Hall.
Lecture 18: Monte Carlo Part 2
Estimate pi by sampling random points, then apply structured parsing to a Hawaiian word-pronunciation program.
Lecture 19: Your Professor is a [fan of] Git
GitHub commits and backups make code collaboration manageable and protect final projects from lost work.
Lecture 20 - Exam 2 Review
A practical Python exam review focused on writing working code for files, lists, functions, dictionaries, and simulations.
Lecture 21: Pig
Python simulations of Pig suggest that holding at roughly 19 or 20 points wins in the fewest turns on average.
Lecture 22: Florida Man and Regex
Regex character classes, quantifiers, and Python `re.sub` make sensitive text in files straightforward to identify and redact.
Lecture 23: Regex 2
A Python regex pattern can identify and redact precisely formatted IDs while avoiding similar-looking case numbers.