Skip to content

How to Write Code How Programs Work Variables

Sally Steuterman edited this page May 22, 2024 · 1 revision

How to Write and Run Code, How Programs Work, and Data and Variables

In the prep work for this class, the students learned:

How to Write and Run Code

  1. How to write print statements
  2. What syntax, comments, and debugging are when you are coding
  3. How to better navigate the terminal

How Programs Work

  1. What an algorithm is.
  2. What a programming language is.
  3. Different types of programming languages
  4. How to run a program and view it's output in the console
  5. How to set up the necessary coding tools including Python, Visual Studio Code, and GitHub.
  6. Basic terminal navigation
  7. Basic git skills

Data and Variables

  1. Different types of data
  2. Operators
  3. Operands
  4. How to initialize variables
  5. Expressions and return values
  6. How to collect user input

Announcements

  1. Always check with your program manager to see if there are any upcoming deadlines you should highlight!

Large Group Time (Instructor)

Topics That Require Careful Attention

  1. Q & A from the prep work and/or exercises.
  2. Filesystems and Paths as this is a common source of trouble for learners
    1. Some learners may not have properly installed python or added it to their $PATH
  3. Running code in the visual studio code terminal vs a git-bash terminal or other terminal emulator.
  4. Q & A from the prep work and/or exercises.
  5. Focus on Python as a language and why it is commonly used for data analysis.
  6. Clarify any confusion around Git and GitHub:
  • forking a repository
  • cloning a repository
  • making changes and staging changes for updating remote
  1. Type Conversion
  2. arithmetic operators
  3. PEMDAS
  4. collecting user input

Studio (IA Notes)

  1. Clarify and confusion around the terminal and filepaths or directory structure
  2. Help any learners that are struggling with installations or terminal access