Programming in Python - CS 105

Covers Python syntax, variables, control flow, functions, collections, files, exceptions, and fundamental programming techniques.

Study Tools

All

Study guides

9

Lecture 785DC0C8 2231 4A1E AEF9 B841BDE7800A

Explore how to clarify everyday plans, respond to tense conversations, and check whether a language change is actually helping someone understand.
Study guide · Updated

6 File Input and Output

Learn how to open, read, write, organize, and safely persist text and structured data with Python file I/O.
Study guide · Updated

7 Exceptions and Error Handling

A practical progression through Python exceptions: recognizing runtime failures, handling expected problems, validating inputs, managing resources, and designing informative error messages.
Study guide · Updated

5 Collections and String Processing

A practical guide to Python strings, sequences, mappings, sets, iteration, comprehensions, and choosing the right collection for a task.
Study guide · Updated

4 Functions and Scope

A practical guide to defining, calling, documenting, and designing reusable Python functions while reasoning clearly about parameters, return values, and scope.
Study guide · Updated

3 Control Flow

A practical guide to Python control flow, from Boolean conditions and branching to loops, iteration, and reliable loop-control techniques.
Study guide · Updated

8 Fundamental Programming Techniques

A practical progression through Python problem solving, algorithm design, data structures, modular functions, searching, sorting, file handling, exceptions, testing, and debugging.
Study guide · Updated

1 Python Syntax and Program Structure

A progressive guide to Python’s source structure, syntax, values, operators, input and output, execution models, and common errors.
Study guide · Updated

2 Variables, Types, and Expressions

A practical introduction to Python names, assignment, built-in types, expressions, conversion, formatting, mutability, and clear coding choices.
Study guide · Updated

Quizzes

7

5 Collections and String Processing

A medium-difficulty quiz on applying Python collection and string-processing concepts, including mutability, indexing, lookup, iteration, comprehensions, and collection selection.
Quiz · Updated

4 Functions and Scope

A 14-question quiz on defining, calling, designing, and reasoning about Python functions and scope. The batch contains the required interaction allocation plus two alternate candidates, ordered from foundational understanding toward more applied reasoning.
Quiz · Updated

8 Fundamental Programming Techniques

A 14-question quiz on fundamental Python programming techniques, including algorithm design, data structures, functions, searching, sorting, file handling, exceptions, testing, and modular program construction. Questions progress from foundational recognition to applied reasoning.
Quiz · Updated

2 Variables, Types, and Expressions

A medium-difficulty quiz on Python variables, types, assignment, conversion, mutability, strings, Boolean values, and clear expressions. Questions progress from foundational understanding to applied reasoning.
Quiz · Updated

7 Exceptions and Error Handling

A medium-difficulty quiz on identifying, handling, raising, and designing useful responses to Python exceptions.
Quiz · Updated

6 File Input and Output

A medium-difficulty quiz on Python file input and output, including file modes, context managers, reading and writing patterns, paths, encodings, exceptions, and JSON persistence.
Quiz · Updated

1 Python Syntax and Program Structure

A medium-difficulty quiz on Python syntax and program structure. Questions progress from foundational understanding to application of code-organization, control-flow, input/output, and execution concepts.
Quiz · Updated

Flashcards

8

5 Collections and String Processing

A focused review of Python strings, sequence operations, collections, iteration patterns, comprehensions, and collection selection.
Flashcards · Updated

6 File Input and Output

Build practical knowledge of Python file handling, including opening, reading, writing, paths, encodings, exceptions, and JSON persistence.
Flashcards · Updated

2 Variables, Types, and Expressions

Learn how Python names, assignments, data types, conversions, operators, strings, mutability, and clear expressions work.
Flashcards · Updated

4 Functions and Scope

A focused set of flashcards on defining, calling, designing, documenting, and managing scope in Python functions.
Flashcards · Updated

7 Exceptions and Error Handling

Learn how Python identifies, raises, handles, validates, and communicates runtime failures using exceptions and resource-management patterns.
Flashcards · Updated

1 Python Syntax and Program Structure

Learn the core rules for organizing Python programs, writing valid syntax, using names and values, applying operators, handling input and output, and understanding execution modes.
Flashcards · Updated

3 Control Flow

Build practical understanding of Python control flow, including Boolean logic, branching, loops, ranges, and loop-control statements.
Flashcards · Updated

8 Fundamental Programming Techniques

A focused review of Python problem solving, algorithms, data structures, functions, searching, sorting, file handling, exceptions, testing, and modular program design.
Flashcards · Updated