• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 17 pages
Class notes

Class notes Introduction to python

Document preview thumbnail
Preview 3 out of 17 pages

This is a 17-page Python Programming Study Guide built as a standalone Word document, meant to be sold independently rather than serve as a running notes doc. It opens with a title page and table of contents, then walks through Modules 1–3 of an intro Python course — covering hardware/software fundamentals, data storage and variables, input/output and string formatting, Turtle graphics, and decision structures with Boolean logic. Each section uses clear header hierarchy, shaded and bordered code blocks for every example, clean comparison tables for operators and built-in methods, and highlighted tip callouts for common gotchas (like float truncation or operator precedence). Overall it reads as a self-contained, professionally formatted reference rather than raw lecture notes

Content preview

PYTHON PROGRAMMING
A Complete Beginner's Study Guide

Modules 1–3: Fundamentals, Input/Output & Formatting, Decision Structures


Covers hardware & software basics, data types & operators, string formatting, Turtle graphics, and if/elif/else &
Boolean logic — with worked examples throughout.

,Table of Contents
Module 1 — Programming Fundamentals
1.1 What Is a Program? · 1.2 Hardware · 1.3 System vs. Application Software
1.4 How Data Is Stored · 1.5 How a Program Runs · 1.6 Machine Language to Python
1.7 Keywords, Operators & Syntax · 1.8 Variables & Values · 1.9 Indentation
1.10 print() and input() · 1.11 Interactive vs. Script Mode
Module 2 — Input, Processing, and Output
2.1 The Program Development Cycle · 2.2 Input → Processing → Output
2.3 String Literals & Comments · 2.4 Getting Input · 2.5 Math Operators
2.6 Numeric Data Types · 2.7 Number Systems · 2.8 Order of Operations
2.9 String Concatenation & Repetition · 2.10 print() end/sep
2.11 String Formatting · 2.12 Slicing & Escape Characters · 2.13 String Methods
2.14 Named Constants · 2.15–2.20 Turtle Graphics & Advanced Formatting
Module 3 — Decision Structures and Boolean Logic
3.1 if Statement · 3.2 if-else · 3.3 Comparing Strings
3.4 Nested Decisions & if-elif-else · 3.5 Logical Operators
3.6 Boolean Variables · 3.7 Conditional Expressions · 3.8 Walrus Operator
3.9 Turtle State-Checking Functions

, Module 1 — Programming Fundamentals
1.1 What Is a Program?
● Program — instructions telling a computer what to do.
● Software — a collection of programs.
● Programmer / Software Developer — writes, designs, tests, and maintains software.
Tip: Analogy: software is a recipe; the programmer is the chef writing it.

Python is beginner-friendly but also used professionally at companies like Google, NASA, YouTube, major
game studios, and the NYSE.

1.2 Hardware
Hardware refers to the physical parts of a computer. There are five main components:
● CPU — runs instructions; the most essential part of the computer.
● RAM (main memory) — a temporary "work area" for running programs and data; wiped when
power is lost.
● Secondary Storage — long-term storage (HDD, SSD, USB) that survives power-off.
● Input Devices — keyboard, mouse, microphone, camera, etc.
● Output Devices — monitor, printer, speakers.
A microprocessor is a CPU built onto a single chip. The ENIAC (1945) was the first programmable electronic
computer — it was 8 feet tall, 100 feet long, and weighed 30 tons.

1.3 Software: System vs. Application
System Software runs the computer itself:
● Operating System — controls hardware, manages devices and storage, and lets other programs run
(Windows, macOS, Linux, Android, iOS).
● Utility Programs — virus scanners, file compression tools, backup software.
● Development Tools — assemblers, compilers, interpreters.
Application Software is what people use day to day: word processors, spreadsheets, browsers, email clients,
games.

1.4 How Data Is Stored
A bit is the smallest unit of data — a 0 or a 1. A byte is 8 bits.
Binary Decimal
0000 0
0001 1
0010 2
0011 3
0100 4
A single byte can hold values from 0–255 (all bits off = 0, all bits on = 255). Larger numbers simply use more
bytes.

Document information

Uploaded on
September 14, 2026
Number of pages
17
Written in
2026/2027
Type
Class notes
Professor(s)
Mr. staples
Contains
All classes
$21.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
4
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions