Python 1, Introduction
Printable Version (pdf)
Course Introduction
Python is a language with a simple syntax, and a powerful set of libraries. It is an interpreted language, with a rich programming environment, including a robust debugger and profiler. While it is easy for beginners to learn, it is widely used in many scientific areas for data exploration. This course is an introduction to the Python programming language for students without prior programming experience.
Core Standards of the Course
Strand 1
Python Basics
Standard 1
Basics
-
Students will understand the history of programming languages.
-
Students will understand the different levels of programming languages:
- Binary
- Assembly
- Compiled
- Interpreted
-
Students will use an editor/IDE (Integrated Development Environment) to compile and run programs Students will always use best practices to coding tasks
- Sequencing algorithms
- Indenting
- Eliminating redundancy
- Commenting
- Naming conventions
Standard 2
Variable & Data Types
-
Students will demonstrate the ability to use variables in a program.
-
Students will demonstrate the use of different data types.
- Integer
- Float
- String
- Boolean
-
Students will use appropriate naming conventions
-
Students will give descriptive names to variables
Standard 3
Operators
-
Students will use arithmetic operators in a program (+, -, *, /)
-
Students will demonstrate the use of order of operations
- Parentheses Excuse My Dear Aunt Sally (PEMDAS)
-
Students understand the single equal sign performs an assignment
-
Students understand the += and the -= operators are used for incrementing and decrementing
Standard 4
Errors
-
Students will identify errors and debug a program
-
Students will identify the three types of errors:
Standard 5
Input and Output Functions
-
Students will demonstrate the use of input and print functions
-
Students will demonstrate the use of formatting methods
- Concatenation
- Type Casting
Standard 6
Students will be able to:
-
Understand the input() function.
-
Apply the input() and print() function in programs.
Performance Skill
- Use a programing editor to write working code
- Demonstrate the use of variables with different data types
- Demonstrate the use of input & output formatting methods
- Demonstrate the use of #comments
Strand 2
Conditionals
Standard 1
Conditionals
-
Students will understand the conditional logic of >, <, >=, <=, ==, != operators when comparing
Standard 2
If Statements
-
The student will control flow with an if statement in a program
Standard 3
Elif Statements
-
The student will control flow with an Elif statement in a program
Standard 4
Else Statements
-
The student will control flow with an Else statement in a program
Performance Skill
- Understand conditional logic
- Understand and use If, Elif, and Else statement
Strand 3
Loops
Standard 1
-
Students will use loops (iteration) to efficiently repeat code
-
Students will know which type of loop to use in a program
- For loop
- Nested loops
- Indentation conventions
Standard 2
-
Students will use a range in a loop
-
Students will design a loop with a range so they iterate the correct number of times
Standard 3
-
Students will use variables in the argument of a loop
Standard 4
-
Students will use incrementing and decrementing (+=. -=) in the body of a loop
Performance Skill
- Students will use a range in a loop
- Students will use variables in the argument of a loop
- Students will use nested loops
Strand 4
Functions
Standard 1
-
Students will understand the difference between pre-defined and user-defined functions
-
Students will understand the purpose of using functions for eliminating redundancy and reusability
Standard 2
-
Students will create user-defined functions
- Students will use appropriate naming conventions
- Snake case (first_name)
- Students will give descriptive names
- Students will understand that a user-defined function will perform a single task
- Students will use one or more parameters in a function definition
Standard 3
-
Create forever loops using while and break.
-
Use incrementing variables in a while loop.
Standard 4
-
Students will call (use) functions
- Students will be able to call a function with arguments
Performance Skill
Students will be able to create and call a function with a parameter
http://www.uen.org - in partnership with Utah State Board of Education
(USBE) and Utah System of Higher Education
(USHE). Send questions or comments to USBE
Specialist -
Kristina
Yamada
and see the CTE/Computer Science & Information Technology website. For
general questions about Utah's Core Standards contact the Director
-
THALEA
LONGHURST.
These materials have been produced by and for the teachers of the
State of Utah. Copies of these materials may be freely reproduced
for teacher and classroom use. When distributing these materials,
credit should be given to Utah State Board of Education. These
materials may not be published, in whole or part, or in any other
format, without the written permission of the Utah State Board of
Education, 250 East 500 South, PO Box 144200, Salt Lake City, Utah
84114-4200.