CS 171 Computer Programming I

Winter 2025
3 Credits

Basic Course Information

Lecture

Section Day and Time Course Instructor Room
CS 171 - A Monday 09:00 AM - 10:50 AM Prof. Adelaida Medlock Bossone Auditorium
CS 171 - B Monday 11:00 AM - 12:50 PM Prof. Daniel Moix Bossone Auditorium
CS 171 - C Monday 01:00 PM - 02:50 PM Prof. Mark Boady Stratton 113

Lab

Section Day and Time Lab Assistants Room
060 Wednesday 1:00 PM - 2:50 PM
Omesh Dwivedi
Prayuja Teli
Vishal Hagargundgi
Robert Raharjo
3675 Market - Room 910-911
061 Thursday 09:00 AM - 10:50 AM
Prayuja Teli
Saquib Baig
Ryan Brosius
Oscar Zhang
3675 Market - Room 1054-1055
062 Thursday 11:00 AM - 12:50 PM Prayuja Teli
Omesh Dwivedi
Vanessa Trinh
Anh Nguyen
3675 Market - Room 1054-1055
064 Friday 09:00 AM - 10:50 AM Robert Raharjo
Saquib Baig
Ryan Brosius
Anh Nguyen
3675 Market - Room 1054-1055
065 Friday 11:00 AM - 12:50 PM Robert Raharjo
Oscar Zhang
Ryan Brosius
Anh Nguyen
3675 Market - Room 1054-1055
066 Friday 01:00 PM - 02:50 PM Robert Raharjo
Josh Morris
Mozen Moazzam
Matt Nguyen
3675 Market - Room 1054-1055

Course Instructors

Prof. Mark Boady
Electronic Mail Address: mwb33@drexel.edu
Webpage: https://boadycs.gitlab.io/about-mark/
Office: 3675 Market – Room 1063
Office Hours: Tuesdays 3:00 PM - 4:00PM; Others by Appointment

Prof. Adelaida Medlock
Electronic Mail Address: aalban@drexel.edu
Webpage: https://www.cs.drexel.edu/~aalban/
Office: 3675 Market – Room 1064
Office Hours: Tuesdays 3:00 PM - 5:00 PM; Others by Appointment

Prof. Daniel Moix
Electronic Mail Address: dwm69@drexel.edu
Webpage: https://drexel.edu/cci/about/directory/M/Moix-Daniel/
Office: 3675 Market – Room 1058
Office Hours: Mondays and Wednesdays 1:30pm - 3:00pm; Others by Appointment

Teaching Assistants / Graders

TA Office Hours: will be conducted at the CLC located at 3675 Market St. Room 1066.
TA Office Hours Schedule https://www.cs.drexel.edu/clc
TA Contact Info: can be found under the Faculty Information section of Bb Learn.
Contact your TA through the CS 171 Discord server for Course Related Questions.

CS Dept. Phone: (215) 895-2669
CS Dept. Fax: (215) 895-0545
CS Dept. Location: 3675 Market Room 1171-A


Course Description and Objectives

Course Description

Introduces fundamental concepts of computing including memory, instructions, function calls, and activation records. Covers fundamentals of structured computer programming in the language of instruction: variables, input and output, expressions, assignment statements, conditionals and branching, subprograms, parameter passing, repetition, arrays, top-down design, testing, and debugging.

Course Goals

The goal of this course is for students completing it to be competent programmers, able to write working Python program on their own using appropriate constructs when presented with a problem description.

Course Objectives

By the end of the course students should be able to:

  1. Trace execution of a Python program containing assignment statements, strings, conditionals, file input/output, functions, and loops.
  2. Determine appropriate code constructs and design a Python program using them to satisfy problem description.
  3. Write appropriately styled Python code and documentation for programs using assignment statements, strings, conditionals, file input/output, functions, and loops.
  4. Detect and correct syntax errors in Python programs containing assignment statements, strings, conditionals, file input/output, functions, and loops.
  5. Detect and correct logic errors in Python programs containing assignment statements, strings, conditionals, functions, and loops.
  6. Communicate and solve problems effectively as a member of a team.

Audience and Purpose within Plan of Study

This course is open to all students interested in Programming and Computer Science. This course is the first in a two-term sequence of computer programming courses in Python (CS 171-172) and is a required course for students majoring in computer science, software engineering, mathematics, physics, information systems, and digital media. It is also a required course for students pursuing a minor in computer science. The goal is for students completing this sequence to be competent programmers, able to write working Python program on their own using appropriate constructs when presented with a problem description.

Prerequisites

None. While there are no formal prerequisites for the course, students are expected to be computer literate. Prior programming experience is not required but is definitely helpful.


Required Textbook and Software

Textbook

Title: Think Python
Edition: 3rd
Author: Allen B. Downey
ISBN-13: 9781098155438
Free: https://allendowney.github.io/ThinkPython/
Copyright: 2023
Price: Free

NOTE: While the bookstore has a physical copy of the textbook available for purchase, it can be accessed free using the link above.

Software and Hardware Requirements

All Drexel students are required to have individual access to a dedicated personal computer which meets minimum specifications, including processor speed, memory and secondary storage requirements, and connectivity to campus network. Please see https://drexel.edu/cci/admissions/graduate-professional-development/admissions-information-and-requirements/computer-requirements-and-skills/ for further information.

The official language used for this course is Python 3. It is available for free at https://www.python.org.

Required Software

  1. Thonny Python IDE: https://thonny.org/
  2. Discord: students registered in CS 171 should have access to our course server within the next few days.

Blackboard Learn

This course is operating with the Drexel Blackboard Learn (Learn) Course Management System, which allows electronic submission of assignments, quizzes, and lab exercises, and threaded discussion groups. You can access the Drexel Learn course website from the Drexel portal http://one.drexel.edu/. You can also access Drexel Learn from the following page https://learn.dcollege.net/.


Grade Computation

Labs 15%
Homeworks 15%
Reading Quizzes 10%
Lecture Activities 10%
Midterm Exam 25%
Final Exam 25%

Final grades will be determined by your total points weighted according to this distribution. Grades may be curved but are generally computed via the formula below. It may be modified at the instructor's sole discretion, but letter grades will generally not be lower than those shown here.

Grading Scale

A+ 97 - 100
A 93 - 98.99
A- 90 - 92.99
B+ 87 - 89.99
B 83 - 86.99
B- 80 - 82.99
C+ 77 - 79.99
C 73 - 76.99
C- 70 - 72.99
D+ 65 - 69.99
D 60 - 64.99
F 0 - 59.99

Grading Policies

Readings

Homework

Labs

Lecture Activities

Midterm / Final Exams

Special Circumstances

If you have a documented reason why you cannot submit any work by the cut-off deadline, a special exception may be made. The Professor may also wave the late submission policy for documented special exceptions. Special Exceptions must be approved by the Professor.

Additional Policies

Plagiarism Detection System

To ensure that assignments are done independently, in addition to human observation, we will be running all assignments through a plagiarism detection system. This program uses compiler techniques which are invariant of syntax and style. It has a very high accuracy rate.


Academic Honesty Policy

The university's Academic Honesty policy is in effect for this course. This policy is available in the Student's Handbook https://drexel.edu/studentlife/community_standards/code-of-conduct/. Please also read the following information from the Provost Office: https://drexel.edu/studentlife/community-standards/code-of-conduct/academic-integrity-policy

You must be the sole original author of all assignments and examination solutions in their entirety, unless the instructor explicitly instructs you otherwise in written directions on an assignment or exam. Except where specifically assigned, collaborative work is a violation of academic honesty in this course. You are not to examine, share, or use code/written solutions belonging to someone else, nor may you let anyone else examine or copy your code/written solutions.

Students found in violation of the Academic Honesty policy will receive no credit for the questionable assignment or exam, a half letter grade reduction on the final grade for the course (on the first occurrence), a whole letter grade reduction on each subsequent occurrence(s), and/or will possibly receive a failing grade for the course. In addition, a Drexel University Alleged Academic Misconduct Report will be filed for each occurrence of Academic Dishonesty.

If you are suspected of academic dishonesty, you will receive an email from your course instructor. You will be required to communicate with the course instructor within 72 hours indicating your response to the suspected violation.

Students having difficulty fulfilling the requirements for an assignment without outside help are to seek assistance from a teaching assistant or instructor, not from another student or knowledgeable person.

It is your responsibility to avoid violating the university's policy. If you are unclear as to what the policy means in a particular situation, ask the instructor for clarification before you hand anything in.

See the examples below for clarification of this policy.

Examples

The following are acceptable:

These are NOT acceptable:

Artificial Intelligence Policy

Artificial intelligence tools such as large language models (e.g., ChatGPT) are not permitted to be used in preparing submitted work for this course.  Further information on university policies regarding the use of artificial intelligence tools in the classroom is available at https://drexel0.sharepoint.com/:w:/s/DrexelOfficialPolicyCatalog/ERCrNmAQVglEmsu12S3g_ioB6JpHqP2UGvzxlLYc433cpw


Additional Course Resources

Computer/Software Help

CCI Commons (3675 Market #1067): https://drexel.edu/cci/current-students/icommons/

Students Accommodations

Students requesting accommodations due to a disability at Drexel University need to request a current Accommodations Verification Letter (AVL) in the ClockWork database before accommodations can be made. These requests are received by Disability Resources (DR), who then issues the AVL to the appropriate contacts. For additional information, visit the DR website at https://drexel.edu/disability-resources/support-accommodations/student-family-resources, or contact DR for more information by phone at 215-895-1401, or by email at disability@drexel.edu


Other important Academic Policies

In addition to the course policies listed on this syllabus, course assignments or course website, the following University policies are in effect:

Class Disruption Policies

According to the student handbook (Code of Conduct section), Disorderly Conduct is defined as behavior that disturbs academic study:

Behavior that disturbs the peace, academic study, or sleep of others both on or off campus is prohibited. Examples of disorderly conduct as it pertains to class/research settings includes, but is not limited to the following:

Students are responsible to comply with a reasonable request from a professor, instructor, or other University official regarding appropriate behavior.

Students disrupting online office hours will be asked to stop the disruptive behavior. If they do not stop, the student will be asked to leave the online session, and a formal complaint will be filed with the Office of Student Conduct and Community Standards.


Diversity, Equity and Inclusion Statement

CCI faculty believes and embraces diversity for it fosters innovative, transformative classrooms where optimal learning for students of all identities and backgrounds can occur.

For more information on Diversity and Inclusion in CCI, please visit: https://drexel.edu/cci/about/diversity-equity-and-inclusion-council/


Statement on Recording Lectures

Appropriate Use of Course Materials

It is important to recognize that some or all of the course materials provided to you are the intellectual property of Drexel University, the course instructor, or others. Use of this intellectual property is governed by Drexel University policies, including the IT-1 policy found at: https://drexel.edu/it/about/policies/policies/01-Acceptable-Use/

Briefly, this policy states that all course materials including recordings provided by the given prior written approval by the University. Doing so may be considered a breach of this policy and will be investigated and addressed as possible academic dishonesty, among other potential violations. Improper use of such materials may also constitute a violation of the University’s Code of Conduct and will be investigated as such.

Recording of Class Activities:

In general, students and others should not record course interactions and course activities in lecture, lab, studio or recitation.

Students who have an approved accommodation from the Office of Disability Resources to record online lectures and discussions for note taking purposes should inform their course instructor(s) of their approved accommodation in advance. The recording of lectures and discussions may only be carried out by the students enrolled in the class who have an approved accommodation from Disability Resources with their instructors’ prior knowledge and consent. Students with approved accommodations may be asked to turn off their recorder if confidential or personal information is presented.

If a student has any comments, concerns, or questions about provided class materials and/ or recording, talk to your course instructor first. If this does not resolve the issue, you can also reach out to the Department Head, and use the process described for a grade appeal to move your concern forward. The process described for grade appeals can be found at: https://drexel0.sharepoint.com/:w:/s/DrexelOfficialPolicyCatalog/ET1tL4vqf6lPnz5gFmcpiW8BJNBqVLCrtZBcX4JMvnoOpg

Tentative Course Schedule

Schedule Subject to change at any time.

Note: All due dates and times are on Eastern Time Zone.

Week

Topics

Reading

Lab

Homework

1

(1/6/2025)

Syllabus Review

Introduction to Python

Think Python Chapters 1 through 4

Reading Quiz Due Sunday 1/12/25 by 11:59PM

Week 1 Lab

Due by end of your lab session

Week 1 Homework

Due Tuesday 1/14/25 by 11:59PM

2

(1/13/2025)

Arithmetic Expressions and Functions

Think Python Chapters 5 & 6

Reading Quiz Due Sunday 1/19/25 by 11:59PM

Week 2 Lab

Due by end of your lab session

Week 2 Homework

Due Tuesday 1/21/25 by 11:59PM

3

(1/20/2025)

Conditional Statements & Intro to Recursion
(This is MLK Day; Lecture will be pre-recorded)

Think Python Chapters 7 & 8

Reading Quiz Due Sunday 1/26/25 by 11:59PM

 

Week 3 Lab

Due by end of your lab session

Week 3 Homework

Due Tuesday 1/28/25 by 11:59PM

4

(1/27/2025)

While Loops and Strings

Think Python Chapter 9

Reading Quiz Due Sunday 2/2/25 by 11:59PM

Week 4 Lab

Due by end of your lab session

Week 4 Homework

Due Tuesday 2/4/25 by 11:59PM

5

(2/3/2025)

Lists and For Loops

 Think Python Chapters 5 & 10

Reading Quiz Due Sunday 2/16/25 by 11:59PM

Week 5 Lab

Due by end of your lab session

Week 5 Homework

Due Tuesday 2/11/25 by 11:59PM

6

(2/10/2025)

Midterm Exam
To be taken during the lecture period

None None

None

7

(2/17/2025)

Revisiting Recursion

Think Python Chapters 12 & 13

Reading Quiz Due Sunday 2/23/25 by 11:59PM

Week 7 Lab

Due by end of your lab session

Week 7 Homework

Due Tuesday 2/25/25 by 11:59PM

8

(2/24/2025)

Files, Dictionaries, and Exceptions

Linear Search, Binary Search

Reading Quiz Due Sunday 3/2/25 by 11:59PM

Week 8 Lab

Due by end of your lab session

Week 8 Homework

Due Tuesday 3/4/25 by 11:59PM

9

(3/3/2025)

Binary Search & Advanced Features of Functions

Insertion Sort, Quick Sort

Reading Quiz Due Sunday 3/9/25 by 11:59PM

Week 9 Lab

Due by end of your lab session

Week 9 Homework

Due Tuesday 3/11/25 by 11:59PM

10

(3/10/2025)

Sorting (Insertion and Quick)

None

Week 10 Lab

Due by end of your lab session

 

11

(3/17/2025)

Final Exam

Date: TBD

Time: TBD
Room: TBD

Final Exam Covers all Material Weeks 1 - 10