Introduction to Computer Programming - CSCI-UA2
Course Details
-
Course Number: CSCI-UA.0002
-
Section: 001
Topics
-
Introduction to Programming Languages
-
Python Basics
-
Working with variables and operations
-
Control Structures
-
Repetition Structures
-
Working with Text
-
Functions and Modules
-
Lists
-
File Input & Output
-
Dictionaries
-
Additional topics, such as graphics, may be covered at the instructor's discretion and time-permitting.
Grading
-
35% - Final Exam
-
5% - Quizzes
-
5% - In-class Activities and Quizzes / Attendance
-
25% - Assignments
-
30% - Midterm #1
Continuing with computer science courses requires a C or better in this course.
Homework
-
About one or two homework assignments per week
-
Turned in electronically via NYU Classes
-
Homework assignments are due one week after posting
-
Late homework policy
-
The assignment will usually stay open for late submissions one day after the assignment is due
-
Late homework will receive a minor penalty
-
After one day late, homework cannot be submitted
-
You must write your own code!
-
Copying code from another student or an online resource will be considered cheating
-
Sharing code with another student will also be considered cheating
-
If an issue arises due to copying or distributing code, the student will be required to meet with Director of Undergraduate Studies
-
Help debugging, such as helping determine the root cause of a program crash, and high-level discussions, such as discussing how certain basic programming structures work, are allowed
Textbooks
Required Software
Installing Python
-
Windows
-
Visit http://www.python.org/getit/
-
Download the Windows MSI installer (if you have a newer computer you probably need the 64 bit version)
-
A window labeled Opening python-3.3.3.msi will appear – click Save File
-
After the download is complete, a dialog box will open asking ‘Would you like to save this file?’ – click Save file
-
An icon labelled ‘python-3.3.3′ for release 3.3.3 will appear on the screen. (Perhaps a more recent release will appear.)
-
When you click the icon, the computer will ask ‘Do you want to run this file?’, Click the run button.
-
In the setup box, the option ‘install for all users’ will have a circle with a period in it. Click the next button.
-
A box asking you to select destination directory with the proposed directory Python30. Click the next button.
-
In the next dialog box (Customize Python 3.3.3), click the next button.
-
Finally, click finish.
-
To get the IDE icon on the screen, go to Start/All Programs/python 3.0. A small window will appear to the right with IDLE(PythonGUI). Drag IDLE (PythonGUI) to your desktop to make a shortcut.
-
Mac
-
Visit http://www.python.org/getit/
-
Download the Mac OS X installer for your Operating System. You can check your OS version by clicking on the Apple at the top left side of your computer and looking at the version number under the Apple icon. In general, users of newer computers will want to download the 64 bit version.
-
A window opens indicating that you want to open python-3.3.3.dmg,If the Save file. Then click OK.
-
The download window will open. Double click the icon.
-
In a short while, Install succeeded will appear. Click the close button.
-
Click on your Applications Folder and find the newly created Python folder. Double click on the IDLE icon to launch IDLE.
-
Note: if you are running Mac OS 10.9 (Mavericks) you may see the following error message when launching IDLE: WARNING: The version of Tcl/Tk (x.x.x) in use may be unstable.
-
If you see this message you should quit IDLE and install a new version of ActiveTcl version that matches the error message you are getting (i.e. if the error message says version 8.5.9 you can install any version that begins with the numbers 8.5) – here's the website where you can download an updated version of Tcl/Tk: http://www.activestate.com/activetcl/downloads.