Intro to Programming
COEN 10 - Fall 2012
Course Info
- Lecturer: Drs. Figueira (sfigueira@scu.edu) and Pantoja (mpantoja@scu.edu)
- Classes: MWF, 9:15am or 10:30am
- Office Hours: Dr. Figueira 11am-12pm and Dr. Pantoja TBA
- TAs: TBA
- Work: quizzes (30%) + midterms (30%) + final (30%) + project (10%)
Bulletin-Board
- *** The class project is due on Wed, 12/5, by email. The descritpion is here.***
- The lab projects will be done in C and html/php, using the Mac terminal.
- Makefile
- This is my list of advices for first-year students.
Lecture Notes
- Lecture 1 - Intro and Environment, 9/17 - slides
- Lecture 2 - HTML, 9/19 - slides -
tutorial
- Lecture 3 - Intro to Programming, 9/21 - slides -
tutorial
- Lecture 4 - Pseudo-Code, 9/21 - slides -
tutorial
- Lecture 5 - Intro to PHP, 9/24 - slides
- Lecture 6 - PHP: Forms, 9/26 - slides
- Lecture 7 - PHP: Conditionals, 9/26 - slides
- Lecture 8 - PHP: Loops, 9/28 - slides
- Lecture 9 - PHP: Arrays, 10/1 - slides
- Lecture 10 - Style, 10/5 - slides
- Lecture 11 - Flowcharts, 10/5 - slides
- Lecture 12 - C: Intro, 10/8 - slides
- Lecture 13 - C: Data, 10/17 - slides
- Lecture 14 - C: Operators, Expressions, and Statements, 10/19 - slides
- Lecture 15 - C: Looping and arrays, 10/22 - slides
- Lecture 16 - C: Strings, 10/26 - slides
- Lecture 17 - C: Branching and Jumping, 10/29 - slides
- Lecture 18 - C: Functions, 11/5 - slides
- Lecture 19 - C: Pointers, 11/7 - slides
- Lecture 20 - C: Pointers, 11/14 - slides
Homework/Practice
Lab Projects
By the deadline, you should deliver the code and demo to the TA.
Late submissions will be accepted in the next lab, but will receive a penalty.
Projects
Syllabus
- The Unix/Linux environment
- Computers and Programming
- Programming Fundamentals
- Basics of HTML and PHP
- Intro to C
- Functions
- Selection
- Repetition
- Modular Programming
- Simple Data Types
- Arrays
Recommended Material
Intro and PHP
- A Web-Based Introduction to Programming
Mike O'Kane, 2nd Edition, Carolina Academic Press.
C
- C primer plus
Stephen Prata, 5th Edition, Sams, 2005.
Other C Books
- The C Programming Language
Kernighan and Ritchie, 2nd Edition, Prentice Hall, 1989.
- Practical C Programming
Steve Oualline, 3rd Edition, O'Reilly, 1997.
Unix Books
- The UNIX Programming Environment
Brian W Kernighan and Rob Pike, Prentice Hall, 1984.
Programming Books
- The Practice of Programming
Kernighan and Pike, Addison-Wesley, 1999.
Learning Outcomes
- Use data-types, variables, and scope to develop simple programs.
- Express program logic using flow-charts and pseudo-code.
- Use conditional execution and loops to implement program logic.
- Develop a program using library functions.
- Implement a program as a number of user-defined functions.
- Use arrays to organize data.
- Understand high-level program requirements and use program decomposition to develop a program.
Core Curriculum Pathways
This course is associated with The Digital Age pathway. If you declare a pathway in this area you may use a representative piece of work in this course in the pathway portfolio that you will complete during your senior year. Recommendation: Please keep electronic copies of your work.
Disability Accommodation Policy
To request academic accommodations for a disability, students must be registered with Disabilities Resources located in Benson, room 216. If you would like to register with Disabilities Resources, please visit their office in Benson 216 or call (408) 554-4109. You will need to register and provide professional documentation of a disability prior to receiving academic accommodations. (Revised 9/10)