ESC180: Introduction to Computer Programming

Fall 2024

Course staff


Course description   This course serves as an introduction to computer programming and computer science. We will introduce the Python programming language. We will use Python to solve a variety of problems, and practice problem-solving techniques that are applicable to computational problems. We will discuss good practices in software engineering (designing and building large software systems). We will analyze the efficiency of algorithms, and discuss designing efficient algorithms. Various research areas in computer science (AI, software engineering research, the theory of computation, etc.) will be introduced throughout the term. No previous knowledge of programming or computer science is assumed.

The course syllabus is available here.

Projects

Project 1: Gamification. Due Sept. 29 at 3p.m.(5%), assigned Sept. 20. gamify.py

Project 2 (draft, but no major updates will be posted). gomoku.py (5%). Due Nov. 17 at 10:59p.m.

Project 3. synonyms.py, test.txt Due Dec. 4 at 10:59 p.m. (5%). public tests

Labs

(schedule is tentative)

Lab 1: Tracing, Functions, and Conditionals (assigned Sept. 11, show the TA during the lab). Solution session

Lab 2: Functions and Local and Global Variables: Simulating a Pocket Calculator (assigned Sept. 18, show the TA during the lab). Solution session

Lab 3: Project 1 warm-up (state machines) (assigned Sept. 25). Solutions session

Lab 4: Loops (assigned Oct. 2) Solution session.

Lab 5: Lists (assigned Oct. 9) Solution session.

Lab 6: Hopfield Networks and Tic-tac-toe ttt.py. Solution session

Lab 7: Debugging (Part 1) and Gaussian Elimination (Part 2) , use_numpy.py. Sample run. Solutions session

Lab 8: Getting started with Project 2 (optional), dictionaries, using Python functions Solutions session

Lab 9: Memory model review, time complexity, using Python functions. Solutions session

Lab 10: Recursion. Solutions session

ESC190 Lab 1: Intro to C.

ESC190 Lab 2: More C, strings, and recursion

Online exercises

Exams

Midterm

The midterm was held on Oct 27.

Midterm sessions: Oct 13, Oct 14

Exam

The exam will be held in December. Past exams are below.

An inclusive environment

We strive to build and maintain an inclusive environment in class — an environment that allows every student to reach their full potential. Please do not hesitate to contact me and/or your preceptor to let us know if you need special accommodation or with any concerns.

Design credit: CS229, Jan 2019.