Save this video free

Python (Fall 2026) Module 2-2: Procedural Programming and Variables

Bill Moseley, Ph.D. - Computer Science Educator · 8:41 · Watch on YouTube

Part of Bakersfield College COMP B10. See all 47 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Bill Moseley, Ph.D., introduces procedural programming as code that runs one line at a time until it reaches the end or a control structure changes the order. He demonstrates `print("hello world")` in online-python.com, explains strings as sequences of characters, and teaches Python variables, naming rules, and case sensitivity using `name` and `Name` as separate variables.

Key takeaways

Chapters

0:00 Procedural Python and the Hello World Example
3:59 Python Variables Store Values That Can Change
5:22 Python Variable Naming Rules and Case Sensitivity

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 So we're going to start out with a type of  programming, and we're going to explore a few different types of programming, or  models of programming, in this class, but we're going to start out with the most basic  kind, and it's called procedural programming. What I mean by procedural programming is  this. When I write a procedural program, it starts on the first line of my code and it  runs that line of code. Then it goes to the next line of code, runs that line of code, and so  on. It just goes down the page unless I tell it to do something else or go in a different order,  which I can do it using what are called control structures. We'll learn about those very soon. My  programs are just going to run one line at a time. And so that is what procedural programs do. And  when it gets to the end of the program, it stops. So in our code,

0:58 we talked about this, print hello world, we've got multiple things going on here, right? If I add a  little color here, we can see them more easily. But the teal part of that, the print, the  word print and the parentheses, are part of the print function. Maybe you remember  that from last time. And in the red, the part in the quotation marks, we have a  string. A string is a type of data that says it includes this list of characters. Now, this is  not two words and punctuation. This is a list of characters: a lowercase h, a lowercase e, and so  on. That's how the computer sees it. The computer doesn't understand hello or world or what an  exclamation point means. It just has characters.

1:55 So, let's jump into online Python.  If you type online-python.com,

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Bill Moseley, Ph.D. - Computer Science Educator.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.