Variables in Python
TEKS – §126.33 (Computer Science 1):
- c.2 – Communication and collaboration. The student communicates and collaborates with peers to contribute to his or her own learning and the learning of others. The student is expected to:
- c.2.A – create and properly display meaningful output
- c.2.D – write programs with proper programming style to enhance the readability and functionality of the code by using meaningful descriptive identifiers, internal comments, white space, spacing, indentation, and a standardized program style
- c.4 – Critical thinking, problem solving, and decision making. The student uses appropriate strategies to analyze problems and design algorithms. The student is expected to:
- c.4.E – identify reusable components from existing code
- c.4.H – identify and debug errors
- c.4.I – test program solutions with appropriate valid and invalid test data for correctness
- c.4.J – debug and solve problems using error messages, reference materials, language documentation, and effective strategies
- c.6 – Technology operations, systems, and concepts. The student understands technology concepts, systems, and operations as they apply to computer science. The student is expected to:
- c.6.O – choose, identify, and use the appropriate data types for integer, real, and Boolean data when writing program solutions
- c.6.P – demonstrate an understanding of the concept of a variable
- c.6.V – compare and contrast strongly typed and un-typed programming languages
- The student will demonstrate mastery of the integer, string, and floating variables.
- The student will create a basic program that utilizes each of the covered variable types.
- Repl.it Access
Description of Lesson:
Students will cover hands-on how to create a basic application in Python that utilizes integer, float, and string variables.
Students will create their own application in Python that utilizes integer, float, and string variables correctly.
- Daily Grade – Guided Practice Lesson File (50%) & Independent Practice File (50%)