CS 8 Introduction to Computer Science
Summer Session B 2016 - EnrlCd 02832
Department of Computer Science
University of California Santa Barbara
- Instructor: Professor Çetin Kaya Koç
→ Koç is pronounced as "Coach"
- Class Room: Broida 1640
- Class Schedule: Tuesday, Wednesday, Thursday 11:00-12:20
- Koç Office Hours: Tuesday 2:00-5:00pm
- Koç Office: HFH 1119
- Teaching Assistants:
Aditya Hemanth (email@example.com)
Can Kizilkale (firstname.lastname@example.org)
Shiyu Ji (email@example.com)
- Lab: Phelps 3525
- Lab Schedule and TAs:
Friday 11:00am-12:20pm, EnrlCd: 02849 -- TAs: Aditya and Can
Friday 12:30pm-1:50pm, EnrlCd: 02857 -- TAs: Aditya and Shiyu
Friday 2:00pm-3:20pm, EnrlCd: 02865 -- TAs: Can and Shiyu
- TA Office: Trailer 936 Room 104
- TA Office Hours:
Wednesday 3:00-5:00pm: Aditya
Thursday 3:30-5:30pm: Shiyu
Friday 3:30-5:40pm: Can
- Please join the
page for class discussions.
- Check the class website and the Piazza page once a day.
- Slides and other course information are in the folder
- Homework and Programming Assignments are in the folder
- IDLE transcripts and Python programs created during lectures
are in the folder idle
- The grades: cs8SummerB016.htm
(The Code is your PERMNumber mod 98773;
in Python: Code = PERMNumber % 98773)
Midterm and Final Exams
There will be one Midterm Exam and one Final Exam.
The Midterm Exam is on Tuesday, August 30 at 11:00am-12:20pm.
The Final Exam is on Thursday, September 8 at 11:00am-12:20pm.
2-pages of notes (cheat sheet) are alllowed during the Exams.
No makeup exam can be given under any circumstances.
We will have one homework assignment every week.
The homework assignments are due before 5:00pm on Thursdays
via Dropbox (a link will be available for every hw).
You can write your homework assignment in TextEdit, MS Word, MacOS Pages, or
any other editor, however only Text or PDF should be submitted.
You could scan/pdf your handwritten work, and submit the
resulting PDF file. However, low-resolution or unreadable
files are not accepted.
No late hw is accepted.
- Homework Assignment 1:
hw1.html - due 5:00pm Thu Aug 4
- Homework Assignment 2:
hw2.html - due 5:00pm Thu Aug 11
- Homework Assignment 3:
hw3.html - due 5:00pm Thu Aug 18
- Homework Assignment 4:
hw4.html - due 5:00pm Thu Aug 25
- Homework Assignment 5:
hw5.html - due 5:00pm Tue Sep 6
We will have one programming assignment every week.
The programming assignments are due before 10:00pm on Fridays
via Dropbox (a link will be available for every pa).
Detailed information about Python's native programming environment
(called IDLE) and the creation and submission of programming assignments
is found here: idle+submit.pdf.
Programming Assignments are submitted only as Python files
(with py suffix), such as pa1.py.
No late pa is accepted.
- Programming Assignment 1:
pa1.html - due 10:00pm Fri Aug 5
- Programming Assignment 2:
pa2.html - due 10:00pm Fri Aug 12
- Programming Assignment 3:
pa3.html - due 10:00pm Fri Aug 19
- Programming Assignment 4:
pa4.html - due 10:00pm Fri Aug 26
- Programming Assignment 5:
pa5.html - due 10:00pm Wed Sep 7
A challenge Programming Assignment: Write a turtle program that will
run on a loop and create the following moving image
challenge.gif as closely as
possible. This will give you 10% extra point on your total percentage.
You can ask me questions (by posting on Piazza) as you write your
Deadline: 5pm Friday Sep 9 →
Weekly Course Plan
Computer Systems and Terminology.
Python Programming Language.
Integers and Real Numbers.
Binary and Hexadecimal Numbers.
Sections 1.1-1.4 and 2.1]
Expressions, Variables, and Assignments.
Lists and Tuples.
Objects and Classes.
Python Standard Library.
Modules: math and fractions.
Execution Control Structures.
User Defined Functions.
Python Variables and Assigments.
Turtle Graphics (Case Study 2, 3).
Text Data and Strings.
Reading and Writing in Files.
Decision Control and if Statement.
for Loop and Iteration Patterns.
More on Lists: Two-Dimensional Lists.
while Loop and Loop Patterns.
break, continue, pass Statements.
Character Encodings and Strings.
Image Processing (Case Study 5).
Monte Carlo Methods.
Course Related Links
- L. Perkovic.
Introduction to Computing Using Python, 2nd Edition, Wiley, 2015.
- Programming Assignments: 30 %
- Homework Assignments: 20 %
- Midterm Exam: 25 %
- Final Exam: 25 %
Introduction to computer program development for students with
little to no programming experience. Basic programming concepts,
variables and expressions, data and control structures, algorithms,
debugging, program design, and documentation.
Not open for credit to students who have completed Computer
Science 16 or Engineering 3.
CS 8 is a legal repeat for CMPSC 5AA-ZZ.
Integrity at UCSB ←
Dr. Çetin Kaya Koç