CS 115 Introduction to Programming

Download Report

Transcript CS 115 Introduction to Programming

Welcome to CS 115!
Introduction to Programming
Spring 2015
Class URL
www.cs.uky.edu/~keen/115/115
.html
Please write this down!
Personnel
 Dr. Debby Keen, Course Coordinator/Lab
Instructor
Office hours in Davis Marksbury 215:
 T 3:30-4 pm, W 10 am - 4 pm, R 1-4 pm, F by appointment
Email: [email protected]
 Dr. Neil Moore, Lecturer
Office hours T 2-4 pm in Hardymon 207
Email: [email protected]
 Teaching Assistants
Office hours will be set up soon
Held in RGAN 102 or Multilab (EE Annex 203)
Can talk to ANY of them about programming problems
Thank you very much!!
Laptop Policies
 Lecture
Studies show most students with laptops
open in front of them are NOT paying
attention to the lecture
IF you insist on using a laptop in lecture, you
MUST sit in the very BACK row of the
classroom, so that you distract only yourself
and not other students
 Lab
There are sufficient computers in each lab for
every student but you can use your own
laptop if you wish, even for lab tests
Textbook and Supplies
Textbook is a Free interactive web site
interactivepython.org
“How to Think like a Computer Scientist”
Students are responsible for material in
chapters that are in schedule and material
covered in lectures
CodeLab – cost $25 – required, buy online
Software we will use
 Python
Open source and Free
from Python.org
Get version 3.x – right now is 3.4.2
Easy to install on your machine, already in labs
Includes IDLE Development Environment
 WingIDE 101 (optional but better than IDLE)
free
Less prone to crashes than IDLE
from http://wingware.com/downloads/wingide-101/
For Attendance – on one 3x5 card
Write your NAME
Write the DATE
Write your SECTION
AND on the front of the card ...
GOALS - write them down
1. What are your goals for this class?
That is, what do you want to learn?
2. How much time do you expect to
spend on this class OUTSIDE of
lecture and lab time?
Goals Activity - continued
SHARE your answers with a
neighbor and ADD if you like
COMPARE your answers with the
syllabus
And on the back of the card, describe
What is the most complicated thing
you have done with a computer?
or
What have you done with a computer
that you are most proud of?
We are trying to tell what level of
experience you have with computers.
At end of class
Turn in your card at the end of class by
putting it in the appropriate envelope for
your section
The goals of the class are
 To acquire an understanding of computer
architecture and data representations (variables,
representation of numbers and character
strings)
 To learn basic algorithmic problem-solving
techniques (decision structures, loops, functions)
 To be able to use and understand classes
 To be able to design, document, implement and
test solutions to programming problems
Experience in Programming
This class assumes NO experience in
programming
It does assume some experience with
computers and Windows
copying files, printing
navigating paths
Plan on 10 hours a week outside of class
If you HAVE a lot of programming
experience, consider the BYPASS exam
Why learn to program?
It’s required in my major
I learn things that apply beyond pgming
I use programs to analyze the data I run in
my lab experiments in my major
I automate tedious things I have to do
I found out I like to do it!
I need to communicate with other people
about programming
It is a good career
Your Grade is Based on:
Lecture Attendance 5%
Lab Attendance and Assignments 8%
CodeLab Assignments 5%
Programming Assignments 32%
Two Exams during the semester 20%
Two Lab Exams 10%
 Final Exam (Comprehensive) 20%
If you Must have a certain grade
Tell Dr. Keen or Dr. Moore about it NOW!
We are willing to work with you all
semester long to achieve your goal
We can set up a regular appointment time
DO NOT wait until the end of the semester
and say “But I have to have a … whatever”
Tests during the Semester
Lecture Tests are common hour exams
in Chemistry-Physics Building 153,155
Wednesdays, Feb.25, April 1, 7:30-9:30 pm
closed note, closed book
Lab Tests happen in lab sections at usual
time on Mondays
March 2 and April 20
in RGAN 103 lab
open note, open book
Attendance
Required at All Lectures
taken regularly by quizzes, cooperative
activities
Required at All Lab sessions
don’t get credit for team submission if not there
only "UK excuses" accepted
death in family, illness, school trips, religious
holidays
Give Dr. Keen or Dr. Moore your excuse
documentation on paper
Class Locations
Lecture (TR) Sections 3,4 RGAN 203
Lecture (TR) Sections 5-11 Whitehall
Classroom 106
Lab sections – (M) RGAN 103
Office Hours
Dr. Keen – Davis Marksbury 215
Dr. Moore – Hardymon 207
TAs - RGAN 102 or Multilab EE203
Exams – ChemPhysics 153,155
Weekly Schedule (Day Sections)
Monday
Tuesday
Lab
starts at
9am until
5pm
RGAN
103
Lecture
RGAN
203 9:30
am or CB
106
11:00 am
Wed Thursday
Lecture
RGAN 203
9:30 am or
CB 106
11:00 am
Friday
Due Dates/Times
Homework – Done individually, submitted
by midnight of due date
Labs – individual work due the day before
lab session, then team work submitted by
end of lab session
Labs are NOT accepted after that!
Programs have a late penalty of 10% of
grade for every day late, up to 5 calendar
days
Plagiarism / Cheating
 “Getting an unfair academic advantage"
Using other people's code as your own
Attempt to make code appear to work when it does
not
 NO assistance from someone else on Lab or Lecture
tests or Individual Labs or Homework
 Only talk in GENERAL TERMS about program
assignments, not specifics
 Do NOT "work together" on the source code of a
program
Cheating, continued
Do NOT show your source code to any
other student - Protect your source code!
Do not post your code on the Internet.
If you talk to anyone outside the class, do
not let anyone give you code or dictate
code to you. YOU are the one writing it!
Penalties start with a zero on the
assignment and a LETTER in your
permanent file. UK Policy is followed.
Cooperative Work
On the other hand!
“Talk to your neighbor” or
cooperative activities in lectures
Team Lab assignments – you will
have lab teams and turn in work
with them
Your “Magic Excuse”
Everybody has one and only one
Only works on programs, not labs!
Gives you 24-hour extension of deadline
with no documented excuse
If you don’t use it during the semester,
good for 10 bonus points on final exam
To use it, see the syllabus – must let TA or
Dr. Keen or Dr. Moore know before last
day to turn program in
Accommodation
Please tell Dr. Keen or Dr. Moore about it
if you have a letter - as soon as possible!
Letters are not retroactive!
We can arrange both lecture and lab tests
to be accommodated
Mythbusting about CS 115
It's a 100-level course, it's EASY! or not
much work! or trivial! (It’s not)
You can cram the night before the tests
and get through the course ok (you can’t)
You can wait until the day the programs
are due to start work on them (you can’t)
You can just memorize code (you can’t)
It’s mostly CS majors! (it isn’t)
Population of the class
Undecided 34 %
Education 4%
Math 6 %
Electrical Engineering 4%
Computer Science 7%
Computer Engineering 8%
Other 37%
Make Yourself a Study Plan for CS 115
When and where you will study
What materials you will need to study
What rewards you will give yourself if you
follow your study plan
How you plan to prepare for tests
What you will do about test anxiety
What you will do when you miss a class
What to do next
Make your study plan
Read Chapter 1 and 2 of textbook
Work on Homework 1
Make sure your University account is
activated
Labs start Monday, January 26. You will
be asked to interpret and run a program.
Practice the tutorial online.
Today's Exit
Have your NAME, DATE, SECTION, and
GOALS on the 3x5 card
Put your card in an envelope
Help us get to know you!