Day 1
Day 1
Programming I
• Introductions
• Syllabus
• Lesson 1.1
Introductions
About Me
Elaine Cortez
Introductions
Whip-around
1. Name
2. Major and/or minor
3. What are you looking
forward to learning about in
this class?
Syllabus
Programming I
CS201
Catalog Description
CS201
Textbook
CS201
• Introduction to Computing,
1st Edition
• Author: David Joyner
• Publisher: McGraw-Hill
Education LLC
• ISBN: 978-1-2600-08227-2
Class Format
CS201
Evaluation
CS201
Student Learning Outcomes
CS201
Course Schedule
CS201
Moodle
Sign Up
• Go to: https://
moodle.uog.edu/
• Search: cs201
• Select CS-201-01
PROGRAMMING I - SUMMER
B'23 - CORTEZ, E.
• Enrollment Key:
• CS201-SUMB23-7iWtK
Lesson 1.1
Computing
Lesson Objectives
By the end of the lesson, students will
be able to:
What is Computing?
1.1 Computing
What is Computing?
Introduction to Programming
What is Computing?
Programming Is Everywhere
What is Computing?
Chapter Outline
Programming Vocabulary
Programs and Code
Programming Vocabulary
Compiling and Executing
Programming Languages
CS201
f
Code Segments
CS201
Course Outline
Unit 1: Computing
• Basic terminology
• Basics of Python and environment set up
• Basic low of programming: writing code, compiling it, executing it, and
evaluating the results
• Process of debugging code
f
Course Outline
Unit 2: Procedural Programming
Course Outline
Unit 3: Control Structures
• Control structures are lines of code that control other lines of code.
• Conditionals: if, elif, else
• Loops
• Debugging conditionals and loops
Course Outline
Unit 4: Data Structures
Course Outline
Unit 5: Objects and Algorithms
Introduction to Python
Python: A High-Level Language
• High-level: Abstracts far away from the core processor and memory of the
computer.
• No need to worry about managing memory or directly communicating
with the core processor in machine language.
• High-level means more portable: can run on PC, Mac, or Linux.
• Compared to lower-level languages that are tied to certain operating
systems.
Introduction to Python
Python: A Interpreted Language
• Python will run our code line-by-line when we ask it to, without trying to
compile it irst.
• Can write Python code straight from the command-line interface one line
at a time.
• As an interpreted language, we might not be aware of errors until we try
to execute those lines.
• Compiled languages do some error checking before trying to execute.
Setting Up
Files and Command Line
• Install Python
• Open a basic text editor
• Type out and save:
• print(“Hello World”)
• Open command line and navigate to the folder where you saved the ile:
• e.g.: cd Documents/Folder \Name/
• Type the command: python ilename.py
Setting Up
Using an IDE
• VS Code
Setting Up
Web-Based IDEs
• Replit
Setting Up
Interactive Mode
Introduction to Turtles
Turtle Basics/Turtles and User Interface
• Log-in to Moodle.
• Click on the Replit Sign Up link.
• Sign up with Replit to join the Replit class.
• Go to the Teams page: https://replit.com/team/cs201-su2023
• Start the Testing project.