LECTURES A GRATIS GLOBAL SERVICE
⌕ SEARCH GRATIS GLOBAL ↗
LECTURES / COMPUTER SCIENCE
Lecture 4: Loops over Strings, Guess-and-Check, and Binary
SOURCE: YOUTUBE · NO YOUTUBE TRACKING UNTIL YOU PRESS PLAY · TROUBLE PLAYING? WATCH AT THE SOURCE ↗

Lecture 4: Loops over Strings, Guess-and-Check, and Binary

73 MIN · EN · STATUS: [ STREAMING ]
RATE THIS
MIT · Introduction to CS and Programming using Python · LECTURE 4

At a glance

Ana Bell continues MIT's 6.100L Introduction to CS and Programming using Python with a lecture on iteration. She shows how loops can step through any sequence of values, including ranges of numbers and the characters of a string, and uses guess-and-check as a worked example of exhaustive enumeration: when a set of candidate solutions is enumerable, checking every one eventually finds an answer. The lecture then turns to binary numbers, explaining how converting between decimal and binary illuminates how a computer actually stores values in memory. Bell works through code examples on screen, building up programs step by step rather than presenting finished solutions, in the style of MIT OpenCourseWare's full lecture capture. Runtime is about 73 minutes, consistent with a complete classroom session.

At a glance

Lecture facts

Runtime compared with the other 1,354 Mathematics lectures
Runtime1 h 13 m
Compared with MathematicsLonger than 67%
Link status✓ Working · checked yesterday
This series

Introduction to CS and Programming using Python

Every lecture in order, sized by its length.

  • Earlier lectures
  • This lecture
  • Still to come
Lecture 4 of 25 3 h 10 m before this · 26 h 30 m in total

More from this course

12 LECTURES
Introduction to CS and Programming Using Python: Lecture 1

Introduction to CS and Programming Using Python: Lecture 1

MIT · 64 MIN
Strings, Input/Output, and Branching

Strings, Input/Output, and Branching

MIT · 79 MIN
Lecture 3: Iteration

Lecture 3: Iteration

MIT · 47 MIN
Lecture 5: Floats and Approximation Methods

Lecture 5: Floats and Approximation Methods

MIT · 47 MIN
Lecture 6: Bisection Search

Lecture 6: Bisection Search

MIT · 74 MIN
Decomposition, Abstraction, and Functions

Decomposition, Abstraction, and Functions

MIT · 46 MIN
Functions as Objects

Functions as Objects

MIT · 78 MIN
Lecture 9: Lambda Functions, Tuples, and Lists

Lecture 9: Lambda Functions, Tuples, and Lists

MIT · 45 MIN
Lecture 10: Lists and Mutability

Lecture 10: Lists and Mutability

MIT · 75 MIN
Lecture 11: Aliasing and Cloning

Lecture 11: Aliasing and Cloning

MIT · 46 MIN
Lecture 12: List Comprehension, Functions as Objects, Testing, and Debugging

Lecture 12: List Comprehension, Functions as Objects, Testing, and Debugging

MIT · 76 MIN
Exceptions and Assertions

Exceptions and Assertions

MIT · 43 MIN