Security scan is checking this page.

Contents - Lessons & Practice

Computer Science

Introduction to Python Programming

OpenStax book

OS

Chapter set

Introduction to Python Programming

OpenStax · one set on each chapter

This margin

—

No score yet

In the bank

300

items, drawn without repeats

Questions from the 15 chapters of Introduction to Python Programming. Each item asks for a term, a definition, or a claim the chapter itself states.

Questions this set

What to study

Finish a set and the weakest chapters will collect here.

Open the OpenStax book

OpenStax

Introduction to Python Programming

15 lessons

One lesson for each chapter of Introduction to Python Programming, in the book’s order. The lesson teaches what that chapter says you need to know, then checks it.

  1. 1StatementsAt this point, you should be able to write programs that ask for input, perform simple calculations, and output the results.
  2. 2ExpressionsExpressions and statements can be run interactively using a shell
  3. 3ObjectsA string is a sequence of values that represents Unicode code points
  4. 4DecisionsBooleans represent a value of True or False
  5. 5LoopsA loop else statement runs after the loop's execution is completed without being interrupted by a break statement
  6. 6FunctionsFunctions are named blocks of code that perform tasks when called and make programs more organized and optimized
  7. 7ModulesModules often include the line if __name__ == "__main__" to prevent code from running as a side effect when the module is imported by other programs
  8. 8StringsLogical operators can be used to compare two string values.
  9. 9ListsThe copy() method is used to create a copy of a list
  10. 10DictionariesA dictionary in Python is a container object including key-value pairs
  11. 11ClassesInstances of a class type represent objects and are created using __init__()
  12. 12RecursionDemonstrate how recursion uses simpler solutions to build a bigger solution
  13. 13InheritanceInheritance describes an is-a relationship between classes.
  14. 14FilesExceptions that cause a program to terminate can be handled using try and except
  15. 15Data ScienceThe data science life cycle is the framework followed by data scientists to complete a data science project