CSCI 103 Spring 2018 Introduction to Programming

CSCI 103 Spring 2018: Introduction to Programming


Create a Github account

Before you start your first CS 103 assignment, you must have an account on If you have not created a Github account yet, follow the instructions in this section. If you already have a Github account and you wish to use it for this course, you can skip to the next section.

Github is a development ecosystem based around git. We will be using Github to authenticate your identity and you will also use it in CS 104 to store your code.

Start by visiting Github's sign-up page. You are free to choose your username and does not necessarily need to match your USCNet account. Your email, however, should be your USC e-mail address.

You will be sent an email to verify your email address. Verify your account before proceeding.

Setup your Github Account

Follow the instructions carefully on this page.


When you complete a lab, you must demonstrate it in person. This should either be done in your registered lab section, or at the office hours of a TA or CP earlier in the week. You cannot submit a lab late except if an instructor has given you special permission.

Topic Due (in Lab)
Lab 1 Linux and your Virtual Machine (VM) Instructions Fri 1/12 Submit Answers
Lab 1 is submitted entirely online, and demoing in person is optional.
But Labs 2 and later require an in-person demonstration to get credit.
Upload your work after demoing it, for archival purposes.
Lab 2 Variables and Expressions Instructions Fri 1/19 Upload
Lab 3 Control Structures and gdb Instructions Fri 1/26 Upload
Lab 4 Arrays and Functions Instructions Fri 2/2 Upload
Lab 5 2D Arrays and Image Processing Instructions Fri 2/9 Upload
Lab 6 C-Strings and Pointers Instructions Fri 2/16 Upload
Lab cancelled during week of written midterm
Lab 7 Files, Dynamic Memory and valgrind Instructions Fri 3/2 Upload
Lab 8 Recursion Instructions Fri 3/9 Upload
Lab 9 Object-Oriented Programming Instructions Fri 3/23 Upload
No lab during the week of the programming midterm
Lab 10 Vectors Instructions Fri 4/6 Upload
Lab 11 Linked Lists Instructions Fri 4/13 Upload


Homeworks are due at 11:59:59 PM on the indicated date, but to get the full educational benefit, you should do them before lecture while reading the textbook. Any problem solved after the deadline gets half-credit.

Topic Due (11:59 PM)
HW 1 Variables and Operators Solve Problems Tue 1/16
HW 2 Control Structures Solve Problems Thurs 1/25
HW 3 Arrays Solve Problems Thurs 2/1
HW 4 Functions Solve Problems Thurs 2/8
HW 5 Pointers Solve Problems Thurs 2/15
HW 6 Recursion Solve Problems Thurs 3/8
HW 7 Object-Oriented Programming Solve Problems Thurs 3/22

Programming Assignments

Programming assignments are due at 11:59:59 PM on the indicated date. There is a penalty per day late and you have 2 grace days during the semester, but work is not accepted more than 48 hours late. See the syllabus for full details. Before you submit ensure there are no compiler warnings. If there are please fix them. If you get warnings from our submission auto-checker, please refer to our PA Warning Solution Page. You must follow the style guide outlined here.

Topic Due (11:59 PM)
PAs below this line are tentative
PA1 Zombies Instructions Tues TBD
PA 2 Twenty-One Instructions Thurs TBD
PA 3 Chromakey Instructions Tues TBD
PA 4 Amazing BFS  Instructions
More Notes
Tues TBD
PA 5 The Social Network  Instructions Fri TBD  
PA 6 Six Degrees of Kevin Bacon  Instructions
BFS Notes
Fri TBD  


Information Date/Time Solutions Practice
Written midterm 2/22 S15 exam and solutions
Programming midterm 3/29 S15 exam and solutions
Final exam 5/8 S15 exam and solutions