Department of Computer Science
University of Texas at Austin

CS 303E - Elements of Computers and Programming (Fall 2017)
Section: 51340, MWF 11:00 AM - 12:00 PM, GDC 2.216
Section: 51347, MWF 3:00 PM - 4:00 PM, ECJ 1.202
Section: 51345, MW 4:00 PM - 5:30 PM, PAI 3.02

Instructor: Dr. Shyamal Mitra
Office Hours: MWF 10:00 AM - 10:50 AM
Location: GDC 6.320

Co-Instructor: Dr. Stephany Coffman-Wolph
Office Hours: MWF 4:00 PM - 5:00 PM
Location: GDC 6.314

Student Assistants
Name E-mail Address
Amanda Austin
Ghufran Baig
Wei-Jen Ko
Mit Shah
Ridwan Syed

Office Hours
Day Time Location Assistants
Mon 5 PM - 7 PM GDC 2.104 Amanda and Mit
Tue 4 PM - 6 PM GDC 2.104 Amanda and Ghufran
Wed 5 PM - 7 PM GDC 2.104 Mit
Thurs 4 PM - 6 PM GDC 2.104 Ghufran and Ridwan
Fri 4 PM - 6 PM GDC 2.104 Ridwan

Text: Introduction to Programming using Python
Author: Y. Daniel Liang
Publisher: Pearson
ISBN: 978-0-13-274718-9

Supplementary Material: iClicker 1 or 2

Scope of the Course

Computing is an integral part of all natural sciences and engineering disciplines. All other disciplines require some familiarity with computers. This course is designed to teach the fundamentals of computing and programming to students who wish to minor in Computer Science. In this course we will cover basic computer architecture and software components. We will learn to program in a high level language (Python). We will learn problem solving techniques for numerical and scientific problems. We will study the syntax and special features of Python, develop our own algorithms, and translate them to computer code. No prior programming experience is required but familiarity with personal computers will help significantly.

We will be following the book quite closely. Supplemental notes will be available on the web. This course will be a tutorial introduction to programming. Unlike the traditional lecture format, our classes will be a venue for solving problems, writing programs, and exchanging ideas. Your attendance to the classes is mandatory.



You may choose to use your own computer to work on these assignments. If you work on your home computer, you will have to download and install Python 3.x ( ) on your home machine. There is a graphical development environment (IDLE) that comes with Python that you can also install.

The only way to learn programming is to program. Doing the programming assignments is crucial to performing well in class. I strongly recommend that you write programs over and above what is assigned to you. Assignments will be given almost every week. Each assignment will have a clearly stated due date and time. Assignments start out being easy but get harder over the semester. If you are having considerable difficulty with Assignments 2 and/or 3, please see me immediately.

The assignments will require a substantial time commitment over several days (an average of 8 to 10 hours per week should be expected). Be sure to budget sufficient time to complete assignments before the deadline.

Turn in your assignments on time. This permits grading to start promptly after the submission deadline so that assignments maybe returned promptly. If you do not finish an assignment by the deadline you have a maximum of two days to turn your assignment in. However, there is a penalty of 10 points (out of a 100 points) per day. Your assignment is one day late until the midnight of the day after it is due, two days late from then until midnight of the second day. If you still have not finished your assignment after two days, see me and discuss your particular situation. You have no extensions on the Tutorial Exercises from Live Lab and Coding Bat.

Specific grading criteria vary on each assignment. However, in general, programs that do not run correctly on the CS Lab configuration will receive no more than 80% of the possible points. Other point deductions are given for such things as: incorrect results, missing features, bad solution logic, etc. No matter what configuration of software that you have on your home computer, the assignment that is turned in must run successfully on the CS Lab configuration in order to be graded. Here is the general grading critera for programming assignments. Remember Python is case sensitive. Your file names, program names, and output must match case as specified in the problem statement.

Always make a backup copy of the Python source code (i.e. the .py file) on a removable secondary storage device (e.g. a flash drive) or e-mail a copy of the code to yourself. This will be necessary in cases where your program gets lost, is corrupted, or if there is some dispute over what was turned in when.

For assigned programs, the source code (.py file) must be turned in. The source code must be a text file that can be run through a Python interpreter. Word processing files (those created with Microsoft Word, for example, and ending with .doc extension ) will not be accepted.

If you want us to debug your program, come to us during our office hours with your laptop and we will go through the program with you. Do NOT just e-mail the program to us for debugging. We will not respond to e-mails that have full length programs that have to be debugged.

Grade Dispute: You have one week from the date the assignment grade is posted to dispute your grade. The student assistants will be grading the assignments. Send the student assistants an e-mail and see if you can resolve your differences. If you cannot resolve your differences, you may send me an e-mail explaining the situation. We will not entertain any grade disputes after one week.

Assignment Identification: All assignments must be submitted with the proper header, containing your name (as registered), your unique section number, and the assignment number at the top of the assignment. The format for the header will be specified in the assignment. That specification will over-ride any other header specification (e.g. the header description in the documentation for the turnin program).

In addition, because assignments are submitted as files to Canvas, they must have the correct file name, which will be specified in the assignment writeup. The file name is case sensitive. You must also ensure that you turn in the assignment to the correct unique assignment folder. Lost assignments are typically caused by turning in an incorrect file name and/or turning a file into the wrong assignment folder. Assignments, which omit the header or are incorrect in any one or more of these requirements, will have the grade reduced by 10% of the maximum grade.

Tutorial Exercises

There will be tutorial exercises on Live Lab that will be assigned. Instructions on how to access Live Lab will be posted on the class website. We will also be working on the exercises posted on Coding Bat. Create an account on Coding Bat, only when we give you instructions to.


We will be having quizzes regularly throughout the semester. The quizzes will be administered at the beginning of class using iClickers. The quizzes will start after the end of the add / drop period, i.e. after 05 Sep 2017. There are no make-up quizzes. We will drop your lowest two quiz grades.


There will be three tests and no final examination. The three tests will be during class periods.

Make-up tests will be given only for the following reasons. In all cases you must provide some form of documentation.

Having three tests on the same day is not official UT conflict! For each test you may bring a non-programmable calculator.

Questions concerning test grades should be given to me in writing along with your test within the next class day that the test is handed back. We will not entertain any disputes after that time.


Your performance in this class will be evaluated using your scores for quizzes, tutorial exercises, programming assignments, and three tests. The weights of each of these components are listed below. There are no extra credit projects or assignments to improve your grade. The weighted average is computed solely based on your performance through out the semester on the quizzes, tutorial exercises, programming assignments, and tests. There is no weight given on the number of hours that you have studied or the number of hours you worked outside of class.

Study Groups

Please organize yourselves into study groups of ~5 students who will meet once a week to discuss the course. Typically, you will review the lectures, do the reading, and attempt the homework independently before your weekly meeting with your study group. Studying for tests together is permitted and encouraged. You may discuss solutions to problems in simple English but cannot exchange code for any assignment. If you are unsure about how to work together with your friend in a legal, helpful manner, do come and talk with us. Remember, it is always ok to "work together" with your professor or TA!

We will be using Piazza for general discussion of class related questions rather than the discussion board on Canvas. Please do not post solutions to any problems on Piazza.

Academic Misconduct Policy

While you are free to discuss the course material with your classmates and are encouraged to form study groups for the exams, collaboration on homework or programming assignment is not permitted unless that assignment has been designated as a pair programming assignment.

Helping a friend understand the intent of a homework or programming assignment specification is permitted. Students who are not pair programmers and who work together too closely (e.g. design their solution together) should be aware that this is a form of cheating called COLLUSION and is subject to academic penalties. Penalties for academic misconduct include a failing grade in this course.

The homework, programs, and exams must be the work of students turning them in. University policy (see Dean of Students' policies on academic integrity) will be followed strictly. We will be running a sophisticated program on all submitted assignments to detect plagiarism. If we do detect any cases of academic dishonesty, we will assign a grade of F to all students involved and refer the cases to the Dean of Students.

Acts that exceed the bounds defined by the approved collaboration practices will be considered cheating. Such acts include:

We urge everyone in the class to take appropriate measures for protecting one's work. You should protect your files, homework solution sheets, etc. as deemed reasonable.

Your Responsibilities in This Class

Course Time Table

General Policies

If you are absent from class or examination for the observance of a religious holy day you may turn in your assignment or take the examination on an alternate date provided you have given me written notice fourteen days prior to the class absence. For religious holy days that fall within the first two weeks of class notice must be given on the first class day.

Students with disabilities who need special accommodations should contact the Services for Students with Disabilities (SSD) Office (471-6259 or 471-4641 TTY).