Syllabus
Frequently Needed Information
Meeting Times
Session | Instructor(s) | Time | Location |
Lecture 1 | Kelly Rivers (krivers) | MWF 2:30-3:20pm EST | DH 2210 |
Lecture 2 | Franceska Xhakaj (francesx) | MWF 3:35-4:25pm EST | DH A302 |
|
Recitation A | Henry (hwiese) and Ryan (rmcgrady) | R 9:05am-9:55am EST | GHC 5207 |
Recitation B | Ezra (eboldizs) and Neha (ntirumal) | R 10:10am-11:00am EST | GHC 5207 |
Recitation C/O | Flako (daniells) and Kruthi (kthangal) | R 11:15am-12:05pm EST | GHC 5207 |
Recitation D | Avani (aguduri) and Muzaffar (mimohame) | R 12:20pm-1:10pm EST | GHC 5207 |
Recitation E | Edel (eya) and Minjoo (minjooki) | R 1:25pm-2:15pm EST | GHC 5207 |
Recitation F | Jen (jennifex) and Shivi (shivij) | R 2:30pm-3:20pm EST | GHC 5207 |
Recitation G | Anishka (anishkaj) and Krishna (kpatel2) | R 3:35pm-4:25pm EST | GHC 5207 |
Recitation H | Fiona (cchiu2) | R 4:40pm-5:30pm EST | GHC 5207 |
|
Recitation U | Keerthana (keerthav) | R 12:20pm-1:10pm EST | GHC 5208 |
Recitation J | Elisa (ezm) | R 1:25pm-2:15pm EST | GHC 5208 |
Recitation K | Jenny (jdoan) | R 2:30pm-3:20pm EST | GHC 5208 |
Recitation L | Kaylin (kayliny) and Nathan (nmaher) | R 4:40pm-5:30pm EST | GHC 5208 |
|
Recitation M | Stephen (stephenz) | R 9:05am-9:55am EST | GHC 5210 |
Recitation N | Otto (ojs) | R 10:10am-11:00am EST | GHC 5210 |
Recitation C/O | Flako (daniells) and Kruthi (kthangal) | R 11:15am-12:05pm EST | GHC 5207 |
Recitation P | Belle (beblanch) and Charlie (crliu) | R 12:20pm-1:10pm EST | GHC 5210 |
Recitation Q | Ben (bcarbone) and Eran (eozsarfa) | R 1:25pm-2:15pm EST | GHC 5210 |
Recitation S | Gabriel (gmedinaj) and Nazanin (nazimi) | R 2:30pm-3:20pm EST | GHC 5210 |
Recitation T | Albert (kuangs) and Emily (egetty) | R 3:35pm-4:25pm EST | GHC 5210 |
|
Recitation I | CANCELLED | R 11:15am-12:05pm EST | GHC 5208 |
Office Hours
In-person TA Hours take place in the Gates 5th Floor Teaching Commons and clusters. When you have a question, sign up on the
OH Queue and a TA will come find you to help.
Remote TA Hours take place remotely on Zoom. When you have a question, sign up on the
OH Queue with a link to a Zoom meeting you host, and a TA will join your Zoom call to help.
Instructor Hours take place either remotely or in
Gates 4109 for Prof. Kelly and
GHC 4003 for Prof. Franceska; sign up on the
OH Queue if you'd like to attend remotely. Meetings with the instructors are also available by appointment.
Drop-in Tutoring is run by the Student Academic Success Center and takes place across campus in the evenings. This is a good resource for more in-depth review of the course concepts.
| Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday |
In-person TA Hours | 11am-1pm, 4-5pm | | | | | 1-5pm | 1-5pm |
Remote TA Hours | | 5-8pm | 5-8pm | 5-8pm | 5-8pm | 5-7pm | 5-7pm |
Instructor Hours | 10-11am (Prof. Kelly) | 1:30-3pm (Prof. Franceska) | 12:30-1:30pm (Prof. Kelly) | 1:30-3pm (Prof. Franceska) | 1-2pm (Prof. Kelly) | | |
Drop-in Tutoring | | | | | | | 8:30-11pm (Posner 282) |
Schedule
The course schedule is available
here.
A typical week in 15-110 looks like this:
- Monday: submit homework assignment, attend lecture
- Tuesday: (sometimes) submit homework revisions from prior week
- Wednesday: attend lecture
- Thursday: attend recitation
- Friday: attend lecture
Feedback
Ask lecture and content questions here:
Lecture 1,
Lecture 2
Give general course feedback here:
https://bit.ly/110-f22-feedback
Grading
Final Grades are computed as follows:
Midsemester and Final grades will be assigned using a standard scale:
- A: [90 - 100]
- B: [80 - 90)
- C: [70 - 80)
- D: [60 - 70)
- R: [00 - 60)
Who To Contact
Contact your
Recitation TA(s) for the following: small group session scheduling, additional help
Contact the
Head TAs for the following: grading concerns, TA feedback, submission issues
Contact the
Professors for the following: extension requests, lecture/homework issues, academic integrity concerns, general course concerns
Course Components
Learning Objectives
By the end of this course, students should be able to:
- Demonstrate knowledge of Python syntax by reading and writing Python code
- Transform computational ideas between different levels of abstraction
- Indicate which data structures would be the best fit for specific situations
- Describe how efficiency affects the practical usage of algorithms and data structures
- Identify different algorithmic techniques for running programs at scale
- Construct programs that apply computational concepts as a tool in other domains
- Discuss how computer science interacts with and affects the world
Assessments
Learning is accomplished through four types of assessments: exercises, check-ins, homeworks, and exams.
Exercises: short (1-3 problem)
Gradescope online assessments released with each lecture. Assesses whether the student has introductory knowledge of the lecture's content (have you started learning the material, by attending class or reviewing on your own). Can be retaken as many times as necessary until the desired score is reached.
- Deadline: 1 hour before the next lecture.
- Revision Deadline: same as the associated assignment's revision deadline.
Checks: short assignments that cover the material learned in the previous week. Usually composed of a written part and a programming part. These assignments can be completed collaboratively, but you must write up the solutions yourself; see more information in the
Collaboration section. Written assignments can be completed by printing the assignment, writing answers by hand, and scanning the result; alternatively, you can type answers in the fillable PDF electronically by using
Adobe Reader (Windows/Macs), Preview (Macs), or Microsoft Edge (Windows). Programming assignments can be completed by editing the starter file in an IDE. Both parts should be submitted to Gradescope for grading and feedback.
- Deadline: noon EST on the stated date (usually Mondays with some exceptions, please see schedule).
- Revision Deadline: noon EST approximately two weeks after the deadline (usually Tuesdays with some exceptions, please see schedule).
Homeworks: like checks in format, but longer and covering material both from the previous week
and from the preceeding check's week (if there is a preceeding check).
- Deadline: noon EST on the stated date (usually Mondays with some exceptions, please see schedule).
- Revision Deadline: noon EST approximately one week after the deadline (usually Tuesdays with some exceptions, please see schedule).
Exams: paper exams taken in class and completed individually. Takes place during an entire lecture (50min). Covers material from the homework and check that preceeded it. You may bring up to five pages of notes to refer to during the exam.
- Deadline: Exam1 takes place on 10/05. Exam2 takes place on 11/09.
- If you are unable to attend lecture on an exam day, contact the instructors in advance to arrange accommodations.
There will also be a
final exam, which will take place during the university's final exam period. This will cover material from the entire semester and will be similar in format to the regular exams, but longer.
Resources
Course Website: contains the syllabus, schedule, assignments, and links to all materials. Everything you need for the course can be accessed here.
Class Sessions: this is where you learn the course material.
- Lecture: in lecture the course instructors teach the primary content and go over some examples relevant to the homework assignments.
- Recitation: in recitation TAs and students interactively work through problems connected to the material taught in lecture in the previous week. Recitations are highly useful as homework preparation.
- Small Group Sessions: in small group sessions TAs work with 2-5 students from their recitation to review content or collaboratively work on problems related to the course content. This is an excellent resource for students who want more guided study time and practice.
Attendance at class sessions is not mandatory, but it is strongly encouraged. If you cannot attend a class session due to an extension-eligible reason (learn more
here), fill out the
recording request form before the class session to request that a recording be made and shared with you.
Gradescope: exercises and assignments are submitted here. Programming assignments are usually autograded; refresh the submission page after submitting to see your score (you may resubmit as many times as you want). Feedback is also visible for both written and programming assignments once manual grading has been done. To view your feedback, open your assignment in Gradescope, then click on the question name on the right sidebar that you want to see feedback for. Note that all rubric items are displayed; the rubric items applied to
your submission should be highlighted.
Piazza: announcements will be made via Piazza, and it will be used for discussion and questions as well. Visit it frequently or set your preferences to send you an email whenever an announcement is made. This is also the right place to ask short questions (TAs monitor it daily) and to review general questions asked by other students. Please follow these etiquette guidelines when posting on Piazza:
- Be specific! Clearly reference which content area or homework problem you have a question about.
- Target your post appropriately. When you ask a general content/homework question that may be useful to others, make the question public (you will be anonymous to other students). When you ask a specific question about your answer to a homework problem that includes part of your solution, make the post private (it will still be visible to the TAs and instructors).
- If you still have related questions after someone answers your main question, create a followup discussion. Mark the discussion thread as resolved as soon as your question has been answered.
- If you include any amount of code in a Piazza post, put it in a code block (use the {;} button). Do not post screenshots of code, as this make debugging more difficult.
- When you ask for debugging help, describe any debugging you've already done and what you think the problem might be.
OH Queue: the OH Queue is used to facilitate office hours, where you can ask questions and receive help. You can post a question or request for help on the queue once it is opened, and a TA will contact you when it is your turn. Note that TAs may be limited in the amount of time they can spend with you if the queue is long. There are three different forms of office hours:
- In-person TA Hours are held in the Gates 5th Floor Teaching Commons and clusters. These are a good place to find other students to collaborate with and to get help with the course material or homework assignments. When you have a question, sign up on the OH Queue with a brief summary of your question and your current location. A TA will come find you to help.
- Remote TA Hours are held online via Zoom. These are a good place to ask questions about the homework assignments or get debugging help when you're not on campus. When you have a question, create a new Zoom meeting, then sign up on the OH Queue with a link to your Zoom. A TA will join the call to help.
- Instructor Hours are held in the instructors' offices. These are a good place to ask questions directly of the instructors, to get general homework and course material help, or just to talk with an instructor about topics of interest. Meetings with the instructor are also available by appointment.
Canvas: grades are posted in the Canvas gradebook. Note that grades are updated manually once a week; if you make a revision submission or submit a regrade request, you will not see the grade change in Canvas immediately.
Drop-in Tutoring: this is a service available through the Student Academic Success Center. This tutoring program is separate from the in-course resources. Times TBD.
Tutorials:
Course Materials
Note that this course does not have a required textbook; all course materials will be posted online.
Required Software
Every required software package we use is available for free on the web, and also installed on all cluster computers in GHC. You will need to install
Thonny, a free IDE (Interactive Development Environment) that is designed for introductory courses. To set up Thonny on a personal computer, go to
thonny.org and click on the download link at the top of your page that matches your computer. (You may use another IDE of your choice, but we will not support it if you have any IDE questions or if it breaks.)
Once you've installed Thonny, open the application and run a simple test in the Shell to ensure it works. Enter the text
2 + 2 in the Shell (next to >>>), then press Enter. Thonny should display 4 on the following line. If this doesn't work, go to office hours to get help from a TA or professor.
Note: Thonny comes with Python 3.7 pre-installed. If you would like to download a different verison of Python, you can download it from
python.org.
If you temporarily need to code in a browser,
repl.it is a good choice that requires no setup. However, repl.it code is publically viewable by default; do not use it for homework assignments unless you have an account with private repositories! To keep your code private, set up a
GitHub student account with your CMU email, then connect it to your repl.it account; you can then create private repos for your homework assignments.
Past Course Itertions
If you'd like to peek ahead and what we'll learn later in the course, check out these past iterations of 15-110! However, note that content usually changes at least a little in each semester.
You can also view the summer version of 15-110
here.
Optional Resources
Here are a few other resources that may prove useful.
- Official Documentation
- Useful Tools
- Free Textbooks/Online Courses
Course Policies
Late Policy
Exercises, check-ins, and homeworks all have two deadlines: the normal deadline and the revision deadline. The normal deadline is when you should complete the activity for maximal pedagogical benefit, and a maximal score. The course staff will generally grade assignments and release feedback once the normal deadline has passed. If you made mistakes on the assignment, you may read the feedback, fix the mistakes, and resubmit up until the revision deadline.
Assignments submitted after the regular deadline are capped at a score of 90 points; in other words, if you get a 90 or above on an assignment, there is no reason to resubmit (though we still encourage you to read your feedback and make corrections to your local assignment).
If you fail to complete the assignment by the regular deadline, you may also submit for the first time at any point up until the revision deadline, again with the score capped at 90 points. The course staff will attempt to grade your submission as quickly as possible so that you have the opportunity to revise and resubmit if needed. All assignments will be graded by noon EST on the day after the revision deadline at the very latest.
If you entirely miss both the main assignment deadline and the revision deadline due to extraordinary circumstances, then complete the assignment at a later point, you may still submit your work late by emailing your submission directly to the course instructors with an explanation for why it is late. The instructor will decide on a case-by-case basis whether to accept late submissions (though no submissions will be accepted after the final lecture of the semester). Accepted late submissions will be graded for a max of 50/100 points. Note that this is still a failing grade - in almost all circumstancecs, you should just submit whatever you have done by the revision deadline at the latest!
Excused Absences and Extensions
If you are unable to attend lecture and need access to a lecture recording, or cannot complete an assignment by the revision deadline, check whether your situation falls into one of the following categories. If it does, contact the instructors
before the deadline so that we can arrange a recording and/or an extension. You can request access to lecture recordings through
this form; request extensions or other support via email.
- Medical Emergencies: if you are sick with a contagious illness (including COVID), or ill to the point that you cannot do work, take care of yourself and go to Student Health Services! Students who have medical emergencies may obtain support from the instructors if you let us know as soon as possible.
- Family/Personal Emergencies: if you are having a family or personal emergency (such as a death in the family or a mental health crisis), reach out to your academic advisor or housefellow immediately! These people will help support you in your time of need, and will also reach out to all of your instructors (including the 15-110 instructors) to request extensions for you.
- University-Approved Absences: if you are attending a university-approved event off-campus (such as a multi-day athletic/academic trip organized by the university, or a job interview that requires travel), you may request recordings and an extension for the duration of the trip. You must provide confirmation of your attendance, usually from a faculty or staff organizer of the event.
Additionally: if a religious day you observe conflicts with a lecture or exam date, or you have previously-scheduled travel that conflicts with a lecture or exam date, let the course instructors know
before the add deadline and we'll do our best to support you.
Regrade Requests
We occasionally make mistakes while grading (we're only human!). If you find a mistake which you would like us to correct, please submit a regrade request on Gradescope
within one week of the time when the contested grade was released. Note- regrade requests will result in the entire problem being regraded, not just the incorrectly graded part.
Formatting Errors
Make sure that your submitted assignments do not have any formatting errors! Written assignments must be submitted in PDF format (unless otherwise specified) and code assignments must not have any syntax errors.
We will assign a penalty for every line of code we must edit to make your code run, and this penalty will grow larger as the semester continues. Please submit your code at least one time before the deadline and check the autograder's feedback to ensure that everything works.
Minimum Grades
Mathematical analysis shows that very low grades have an extremely detrimental effect on a student's ability to catch up on work and pass a course. This is partially because of the way letter grades are distributed- there are only 10 points allocated for each of A, B, C, and D, then 60 points are allocated for an R, a failing grade. This has a severe impact on students who, for whatever reason, have an outlier score among their grades. For example, a student who receives a 92 on five homework assignments and a 14 on one homework assignment would receive an average of a 79, or a C, despite demonstrating A-level knowledge on most of the assignments.
To combat this problem, we are setting the minimum grade that a student can receive on any assessment in the class to a 50. We will still grade assignments and assessments on a 0-100 scale, and you will still see your grade on this scale in Gradescope, but if you receive a score < 50 on an assessment, that score will be changed to 50 in the Canvas gradebook. However, this only applies to assessments where students have demonstrated
honest effort. We define honest effort as a legitimate attempt to solve most of the problems on both the written
and programming portions of the assignments, or a legitimate attempt to solve most of the problems on an exam.
Note that missing assignments/exams are
not eligible for minimum grading; see the
Late Policy for how to handle missing assignments. Also, minimum grades do not apply to the final exam, as your final exam grade should reflect your overall level of knowledge gained in the course.
Collaboration and Academic Integrity
Collaboration
Students are encouraged to collaborate when learning the material and working on assignments. If you need help finding collaborators, fill out the collaboration form for the next assignment on the
assignments page, and we'll match you with other students.
Here are a list of examples on how to collaborate well within this class.
- Work on practice problems together with any level of collaboration.
- Discuss which general concepts might be useful in solving a problem (loops, data representation, etc.)
- Sketch out solutions on a whiteboard together.
- You should sketch out the solution together, discuss it, then erase the solution, do something else for a while, then write up the solutions individually. Don't just copy the solution directly from the whiteboard- then you might not fully understand it!
- Note that this type of problem-solving should involve active participation by all students. You should not have one student solve a problem and present their solution to the rest of the group; this will not lead to good learning, and goes against our policies.
- For programming problems, review test cases together and discuss why the inputs result in specific outputs.
- For programming problems, help each other debug specific parts of assignment code.
- NOTE: do not 'debug' by telling a friend to try your approach instead! Help them figure out what is actually going wrong. To be safe, do not refer to your own code when helping a friend debug.
Academic Integrity in Assignments
We encourage students to collaborate on assignments, as collaboration leads to good learning. However, there are certain restrictions on how much collaboration is allowed, to ensure that all students understand the material they submit on homework assignments. In general,
all collaborators must contribute intellectually and understand the material they produce, and
each student must write up their own assignment submission individually. If you submit work that you have not contributed intellectually to, or support another student in submitting work they do not fully understand, this counts as an academic integrity violation.
The following actions are considered academic integrity offenses on the homework assignment:
- Copying or stealing any amount of written text or code from someone currently in the class or someone who has taken the class before.
- Copying is never okay, whether the solution is provided electronically, visually, audibly, or on paper.
- Providing text or code you have written for an assignment to anyone else in the class.
- Again: never share your solution with others in the class, including electronic sharing, showing someone the solution on your computer, verbally speaking the solution, or writing down the solution on paper.
- This includes providing your old solutions to future students who will take the class after you've completed it.
- Comparing your solution against an alternate solution (from another student or a website) to 'check your work', or providing your work to another student so they can check theirs.
- If you'd like to check your (non-autograded) work, submit before the normal deadline; you'll then be able to review the TA feedback and resubmit before the revision deadline if needed.
- Exception: it is fine to check your work against another student's work once the revision deadline has passed. However, you should still never email your work to other students.
- Getting someone else to write the assignment for you
- Finding answers online and using them in the assignment, or consulting them while writing your own solution
- In particular, do not use sites such as Chegg or CourseHero to find answers to homework problems.
- Exception: you may use code from the course website or the Official Python Documentation. Please include a citation with a link when you do this.
- If you are reviewing a general topic online outside of the course website and official documentation and find a small piece of code that might be useful, check with the instructors on Piazza on whether it's okay to use it before integrating it into your solution. Also include a citation!
- Asking questions about the assignments on any online services outside of the course office hours and course Piazza
- In particular, do not post questions about assignment problems on Chegg or CourseHero. These sites are explicitly not allowed for homework assignments.
- StackOverflow will be a great resource once you've learned the basics of coding, but it will not be helpful right now. Trust us on this one.
- Posting solutions from the course assignments online in public view
- Attempting to 'hack' or decompile Gradescope or the autograder to produce solutions
Academic Integrity in Assessments
Exams must be taken individually to accurately assess student knowledge. It will be considered an academic integrity offense if a student:
- Refers to any disallowed external resources while completing an exam (phone, tablet, etc.)
- Communicates with another person not on the course staff in any way while taking the exam
- Copies part or all of an answer off of another student's paper, even if it is very small
- Receives information about the exam from another student who took it earlier, or shares information about the exam online or with a student who takes it after them
- Attempts to take extra time outside of the allocated period to complete the exam (excepting students with registered accommodations)
Penalties
Academic Integrity Violations result in a penalty on the first offense, and failing the course on the second offense. Penalties depend on the severity of the violation and can include:
- Redoing the problem/assignment from scratch
- Receiving a 0 on the problem/assignment
- Receiving a full letter grade deduction in the course
- Automatically failing the course
Penalties are usually accompanied by a letter to the Dean of Student Affairs, to be officially filed as an academic integrity offense. A first offense usually leads to a discussion with Student Affairs about academic integrity at the university, so that you can better understand how to approach academic integrity in the future. Two or more offenses usually lead to university-level penalties, such as being suspended or expelled.
Plagiarism Detection
Programs are naturally structured, which makes them much easier to compare than hand-written work and easier to compare than typed essays. We run an automated plagiarism detection system on all assignments to detect copied code.
We will notice if you copy code. Don't do it.
Grace Period
College is a time when you do a lot of learning. Sometimes, you might make bad decisions or mistakes. The most important thing for you to do is to learn from your mistakes, to constantly grow and become a better person.
Sometimes students panic and copy code right before the deadline, then regret what they did afterwards. Therefore,
you may rescind any homework submission up to 24 hours after the submission was made with no questions asked. Simply email the course instructors and ask us to delete the submission in question, and we will do so. Deleted submissions will not be considered during plagiarism detection, though of course they will also not be graded.
General Policies
Health and Wellness
Your first priority should always be to take care of yourself! You should do this by eating well, getting enough sleep, exercising, socializing, and taking some time to relax. This will help you achieve your goals and cope with stress.
All of us benefit from support during times of struggle. If you or anyone you know experiences any academic stress, difficult life events, or feelings of anxiety or depression, we strongly encourage you to seek support. Contact the Counseling and Psychological Services (CaPS) office at
412-268-2922 and visit their website at
http://www.cmu.edu/counseling for more information.
If you or someone you know is in danger of self-harm, please call someone immediately, day or night:
CaPS:
412-268-2922
Re:solve Crisis Network:
888-796-8226
CMU Police: On-Campus
412-268-2323, Off-Campus 911
Diversity and Inclusion
We warmly welcome students with a wide range of backgrounds and identities in this course. We strive to make every student in this class feel safe and welcome, both because we respect you as human beings with a diverse set of experiences and because we want to make learning computer science as accessible as possible. We acknowledge that computer science as a field currently suffers from a lack of racial and gender diversity, and we want to make the field more broadly accessible for all people. If you are interested in joining efforts to broaden diversity in computer science, consider joining
SCS4All or talking to the course staff about other ways to get involved.
If something happens that makes you feel unsafe, unwelcome, or discriminated against,
please let us know. You are always encouraged to reach out to the course instructors; we will listen and support you. You can email the professors directly, or contact us anonymously via the
course feedback form. You are also encouraged to reach out to the Center for Student Diversity and Inclusion
here if you wish to report concerns anonymously; they will then be able to take appropriate actions to support you.
Accommodations
We gladly accommodate students with accommodations that have been approved by the Office of Disability Resources (ODR), as explained
here). If you are eligible for accommodations, please submit the appropriate form to the instructors promptly. If you need to acquire the form, contact ODR using
these instructions.
Additional time: students who receive additional time on assessments will need to request proctoring from the ODR for each exam. The course instructors will send you a list of exam days at the beginning of the semester so that you can request proctoring in bulk. When making proctoring requests, note that additional-time assessments must take place on the same day as the in-class assessment. You may attend the normal-duration exams in the regular classroom if you want to, but then you will have to complete exams in the assigned time (without additional time).
Waitlist
If you are on the waitlist,
don't panic! Most waitlisted students get into the course eventually. Attend lecture and recitation (space permitting), submit the assignments, and stay involved. If you are still not enrolled at the beginning of the third week, contact the course instructors and we will try to help you find a section with open seats.
Auditing
We have found that students who audit 15-110 do not tend to succeed, as they generally cannot dedicate the needed time to the course. Therefore, auditing will only be allowed in exceptional circumstances, and must be approved by the course instructors first.
If you want to take 15-110 but don't want or need a full letter grade for it, you may take the course Pass/Fail instead. This is a great option for graduate students who want to learn how to program but don't want to risk their GPAs! (Note: you should not take the course Pass/Fail if you plan to use 15-110 as a prereq).
Tips for Success
Most students who take 15-110 have no prior programming experience. If you fall into this group, taking your first computer science class will provide great opportunities, but it also may pose great challenges. Here are some tips for how to succeed in this course as you learn a new and exciting set of skills and concepts.
- Participate. You cannot learn how to program passively, by observing someone else; you have to practice. While attending lecture, follow along in your own IDE and try modifying the code the instructor writes to see what happens. In recitation, actively attempt each problem to the best of your ability before the TA goes over the solution. In general, try things out and see what happens!
- Start Early. Don't wait until the day before the deadline to start an assignment! After each lecture, identify problems on the assignment that you can now attempt, and try to solve them. Doing the assignments a bit at a time is much easier than trying to do them all at once.
- Embrace Mistakes. "Bugs" (mistakes) are a common part of the programming process. Even expert programmers commonly produce bugs in their code that they need to fix (you'll see this happen to the instructors a lot!). Run your code to check your work often, and treat every bug as an opportunity to learn, not as a dead end.
- Get Help When You Need It. It's okay (and encouraged!!) to reach out for help when you're struggling with a concept or an assignment. Come to office hours and the course staff will be more than happy to help you learn. Find a collaborator and talk through the problems with them. In general, don't feel like you need to do everything on your own - embrace your learning community!
- Debug Smarter, Not Harder. It is very easy to get stuck when debugging an error in a program and spend hours on a single mistake with no progress. If you find yourself spending more than 15 minutes debugging the same error, you need to change your approach. First, try to get someone else to help you (a TA or a collaborator in the class); often a new set of eyes will notice things that you can't see yourself, and explaining your code to someone else may help you notice something new. Second, if no one else is available, take a break and do something else. When you come back to the problem later, you'll be able to see your code in a new light, and it might prove much easier to fix.
- Read Your Feedback. Checks and Homeworks are partially summative assignments (they show what you know), but they're also partially formative (they're a chance to learn). When an assignment has been graded, go back and check the feedback written by TAs on the problems you got wrong. This is your chance to relearn the material before the exam occurs.
- Study By Practicing. In this class, you'll mainly learn skills - things you do, rather than pieces of knowledge you know. To study a skill, you need to practice it. When preparing for an exam, don't just review old slides and homeworks - actually re-solve old problems, or attempt the practice problems provided with the exam.