C# PROGRAMMING
CIS-31A Course Outline - Fall 2101

INSTRUCTOR: Dan McElroy       
OFFICE:
T-410
See http://unix.sjcc.edu/OfficeHours.htm for office hours
PHONE:
298-2181 x 3235               
E-MAIL:
Dan.McElroy@sjcc.edu

TEXTBOOK: Visual C# 2008 How to Program 3/e by Deitel & Deitel, Pearson/Prentice-Hall 2009 ISBN: 0-13-605322-X

COURSE OVERVIEW AND OBJECTIVES:
This course covers programming using Microsoft C#. At the end of this course, the student will be able to:

  1. Use C# projects and programming tools to create Windows applications
  2. Select and use constants and variables and identify their lifetime and scope
  3. Create programs using arithmetic, logical and string expressions
  4. Select alternate courses of actions using IF and CASE statements and other C# controls
  5. Reduce program complexity using subroutine procedures and user defined functions
  6. Implement iterative tasks using loops
  7. Create single-form and multi-form applications with menus
  8. Access databases using SQL queries
  9. Process lists of data using arrays
  10. Create programs using object classes

LAB ASSIGNMENTS:
Some of the lab assignments will take longer than the scheduled class time. It is expected that each student will make use of the Open-Lab time to complete assignments as needed. Open-Lab hours are made available to students registered in CIS courses. Instructions will be given during the first class meeting on how to use the open lab.

Programs turned in must include printouts of both the program and the results of testing the program. Programs will be graded on whether they work, quality of output, program readability and appearance, program construction and completeness of testing, and very importantly - documentation.

LAB ASSIGNMENTS MUST INCLUDE:
1. Your name and UserID
2. Printouts of forms and code
3. The results of running the lab when available
4. A written description of the lab project in English.

ATTENDANCE:
You are expected to attend all class meetings. If you are absent from either lecture or lab, it is your responsibility to find out what you missed, and complete any assignments that were given. It would be a good idea to make a friend or two with other people in the class to share notes in the event that any of you are absent. Once you have shown some commitment to the class by attending, participating in quizzes, labs, or homework, I assume that you wish to be in the class. It is your responsibility to drop the class if you do not wish to continue. However, you may be dropped by the instructor if it appears that you are not participating in the class by submitting regular course work. If you do not complete the course, and do not officially drop through the Admissions office and are not dropped by the instructor, you will receive a grade based on your completed work.

GRADING:

Homework

100 points

 

 DEFINITIONS    
A=Distinguished
B=Above Average
C=Average
D=Minimum Passing
F=Failing

GRADE Points  Percent
 A = 387-430  90%-100%
 B = 344-386  80%-89.9%
 C = 301-343  70%-79.9%
 D = 258-300  60%-69.9%
 F =   0-257   0%-59.9%

Lab work

250 points

 

Final Exam

 80 points

 

Total

430 points

 

   

 

NO-NAME and LATE PENALTIES:
You must include your name, student ID or Moodle ID, and exercise name on all work you submit. Unless otherwise specified in an assignment, your name, ID and exercise name should appear in the upper right corner of your lab report or essay. Penalties will be applied AFTER the score for your assignment has been computed. A maximum of 50% penalty be applied for No-name or Late penalties. No work will be accepted after the Friday following the final exam.
Penalty
Cause
1 point
No name on submitted assignment
1 point
No ID on the submitted assignment. Moodle or SJCC student ID is acceptable.
1 point
No assignment name on the submitted assignment
1 point
Student name, ID or assignment name is hand written instead of typed
-10%
Assignment is one, two, or three days late
-25%
Assignment is four, five, or six days late
-50%
Assignment is one or more weeks late

 CIS 31A COURSE OUTLINE -- LECTURE TOPICS, LAB AND HOMEWORK ASSIGNMENTS

Week
Date

Lecture Topic
Chapter numbers refer to
Visual C# How to Program 3/e
Homework
Page numbers refer to
Visual C# How to Program 3/e
Lab Assignment
Page numbers refer to
Visual C# How to Program 3/e
Points this week
Week 1
Aug 30
Due
Sept 6

Class Orientation
Chapter 1 Intro to Computers

Operating Systems, C#

Program Design

Read Chapter 1 and do the Self-Review Exercises. Do not turn in the Self-Review Exercises for any of the chapters.

Answer questions from Exercises 1.4 through 1-13 pages 32-33. Submit your assignment using Moodle. (10 points)

Paycheck Program Copy the code and a screen-shot of your visual design into a Word document and submit your lab report using Moodle. (10 points)

20
Week 2
Sept 6
 
Labor Day Holiday      
Week 3
Sept 13
Due
Sept 20
Chapter 2 Visual C# IDE
Help, Variables

Read Chapter 2 and do the Self-Review Exercises.

Answer questions from Exercises 2.3 through 2.7 page 68. Submit your assignment using Moodle. (10 points)

GUI Design Exercises 2.8, 2.9, 2.10 and, 2.12 pages 68-72. Copy a screen-shot of each exercise into a Word document and submit your lab report using Moodle.(10 points) 20
Week 4
Sept 20
Due
Sept 27
Chapter 3 C# Applications
Text formatting, Equality and Rational Operators

Read Chapter 3 and do the Self-Review Exercises.

Answer questions from Exercises 3.7 through 3.13 pages 120-121. Submit your assignment using Moodle. (10 points)

Smallest-Largest-Average Exercise 3.16 page 121
Even-Odd Exercise 3.24 page 122.
Copy the code for each program in to a Word document and submit your lab report using Moodle. (10 points each)
30
Week 5
Sept 27
Due
Oct 4
Chapter 4 Intro to Classes and Objects
Methods, Parameters

Read Chapter 4 and do the Self-Review Exercises.

Answer questions from Exercises 4.5 through 4.9 page 168. Submit your assignment using Moodle. (10 points)

Invoice Program Exercise 4.12 page 168. Copy the class code, the test application and a screen-shot showing the results of your program execution into a Word document submit your lab report using Moodle. (10 points) 20
Week 6
Oct 4
Due
Oct 11
Chapter 5 Control Statements-1
Control Structures, if.else, while, loops, ++/--

Read Chapter 5 and do the Self-Review Exercises.

Answer questions from Exercises 5.10 through 5.15 page 214. Submit your assignment using Moodle. (10 points)

Mileage Program Exercise 5.17 page 215. Copy the class code, the test application, and a screen-shot showing your program has correctly processed three sets of data into a Word document and submit your lab report using Moodle.. (20 points) 30
Week 7
Oct 11
Due
Oct 18
Chapter 6 Control Statements-2
for do..while, switch, break, continue, Logical Operators

Read Chapter 6 and do the Self-Review Exercises.

Answer questions from Exercises 6.5 through 6.9 page 266. Submit your assignment using Moodle. (10 points)

Price Code Program Exercise 6.17 page 268. Copy the class code, the test application, and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. (20 points) 30
Week 8
Oct 18
Due
Oct 25
Chapter 7 Methods
Packaging, static methods & Variables, Class Math, Parameters, Random Numbers, Recursion

Read Chapter 7 and do the Self-Review Exercises.

Answer Exercise 7.7 page 325. Submit your assignment using Moodle. (5 points)

Parking Program Exercise 7.8 page 325. Copy the class code, the test application, and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle.(20 points) 25
Week 9
Oct 25
Due
Nov 1
Chapter 8 Arrays
for each passing arrays, multidimensional arrays, command-line args

Read Chapter 8 and do the Self-Review Exercises.

Answer questions from Exercises 8.6 through 8.9 page 390. Submit your assignment using Moodle. (10 points)

Ariline Reservation Program Exercise 8.19 page 392. Copy the class code, the test application, and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. (20 points) 30
Week 10
Nov 1
Due
Nov 8
Chapter 9 LINQ
Collections

Read Chapter 9 and do the Self-Review Exercises.

Invoice LINQ Query Program Exercise 9.3 page 424. Copy the class code, the test application, and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. (20 points) 20
Week 11
Nov 8
Due
Nov 15
Chapter 10 Classes and Objects
this reference, indexers, garbage collection, delegates

Read Chapter 10 and do the Self-Review Exercises.

Answer questions from Exercises 10.16 and 10.17 page 495. Submit your assignment using Moodle. (5 points)

Rational Number Program Exercise 10.13 page 495. Copy the class code, the test application, and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. (20 points) 25
Week 12
Nov 15
Due
Nov 22

Chapter 11 Inheritance
base and derived classes, constructors w/ inheritance

Chapter 12 Polymorphism and Operator Overloading
abstract classes

Read Chapter 11 and 12 and do the Self-Review Exercises.

Answer questions from Exercises 11.4 through 11.7 page 537and questions from Exercises 12.3 through 12.8 page 589. Submit your assignment using Moodle. (20 points)

Package Shipping Program Exercise 11.9 page 495. Copy the class code, the test application, and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. (20 points) 40
Week 13
Nov 22
Due
Nov 29
Chapter 13 Exception Handling
Chapter 14 GUI with Windows
Labels, TextBoxes, Buttons, CheckButtons and RadioButtons

Read Chapters 13 and 14. Do the Self-Review Exercises.

Order Processing Program Exercise 14.9 page 676. Copy the code and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. (20 points) 20
Week 14
Nov 29
Due
Dec 6
Chapter 18 Strings
Characters and Regular Expressions

Read Chapter 18 and do the Self-Review Exercises.

Random Sentences Program Exercise 18.6 page 911. Copy the class code, the test application, and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. (20 points) 20
Week 15
Dec 6
Due
Dec 13
Chapter 19 Files and Streams
sequential access files, random access files

Read Chapter 19 and do the Self-Review Exercises.

Telephone-Number Word Generator Program Exercise 19.7 page 962. Copy the code and a screen-shot showing your program execution into a Word document and submit your lab report using Moodle. Do not copy the output file into the Word document. (20 points) 20
Week 16
Dec 13
 
FINAL EXAM

 

FINAL EXAM
(80 points)
80
  TOTAL POINTS
100
330
430

 


Important Dates Fall 2010
Regular semester courses
(all information subject to change)
8/30
Fall Semester Begins
9/4 - 9/6
Labor Day Weekend - campus closed
9/9
Last day to withdraw for a refund
9/11
Weekend classes begin
9/12
Last day to add a class using ADD CODES
9/13
SJCC instructor census reports due
9/24

Last day to withdraw without a "W" on record
Last day to apply for a refund (if dropped by 9/9)
Last day to submit CR/NC forms to A&R

10/9
Graduation/Certificate petitions due for Fall 2010
11/12-11-14
Veterans Day Weekend - campus closed
11/19
Last day to withdraw with a "W"
11/25-11/26 Thanksgiving Holiday - campus closed
12/10
English Finals (no regular day classes)
12/13-12-16
12/14
SJCC Final Exams (Monday-Thursday)
CIS-54 Exams Tuesday 12/14 @ 6:00pm
1/14/2011
Grades by phone 223-0300 or https://myweb.sjeccd.edu
    
Office Hours and Schedule Fall 2010
Dan McElroy@sjcc.edu
Office: T410 Technology Building
 
MON
TUE
WED
8:00
 
 
 
9:00
 
 
 
10:00
 
CIS-41
T213
(10:45-1:05)
 
11:00
 
 
12:00
 
Office-T410
On-line
1:00
   
2:00
     
3:00
 
Office-T410 
Dept Meeting
2nd Wed
each Month
4:00
Office-T410  
5:00
6:00
CIS-31A
CIS-73
T212
CIS-54
CIS-84
T205
 
7:00
 
8:00
 
9:00
 
10:00