CS151 Intro to Programming

for S2QQ 2005

Printer Friendly

Park University
Spring 2 -- 2005
Bob Whale
Adjunct Faculty Member
I work primarily from my home.
By appointment.
March 14 - May 8, 2005
Tuesdays, Thursdays

4:30 - 7:15 p.m.

The mission of Park University, an entrepreneurial institution of learning, is to provide access to academic excellence, which will prepare learners to think critically, communicate effectively and engage in lifelong learning while serving a global community.

Park University will be a renowned international leader in providing innovative educational opportunities for learners within the global society.

This course introduces students to algorithmic design and structured / modular programming. Programming concepts will be put into practice by using Java for programming projects. These basic programming concepts and constructs will be be covered: variables, data types, operators, branching statements, loops, array basics. Additionally, these object-oriented programming concepts will be covered: classes, fields, methods, constructors. Prerequisite: high school algebra proficiency. 3:0:3
This couse is the first course in a series of programming courses required by Park University for computer science majors. Each week the student will write the source code for a couple of simple Java programs and then compile and execute the code. This course emphasizes the use of basic Java syntax, basic programming constructs, and output in a DOS environment. The course also demonstrates how classes, objects and methods interact in an object-oriented programming environment.

The instructor’s educational philosophy is one of interactive participation based on lectures, readings, quizzes, dialogues, examinations, internet, videos, web sites and writings. The instructor will engage each learner in what is referred to as disputatious learning to encourage the lively exploration of ideas, issues, and contradictions.

Week 1 Objectives:
• To understand the difference between source code and object code.
• To be aware of the history of Java
• To introduce classes, objects, methods and object - oriented programming.
• To identify arithmetic operators and understand their precedence in mathematical expressions in Java.
• To understand the rules for naming Java identifiers.
• To be aware of the difference between primitive and class variable types.
• To introduce the concepts of encapsulation, polymorphism, and inheritance.
• To understand the difference between applets and applications.
Week 2 Objectives:
• To understand and use if statements and comparison operators.
• To understand string constants, variables and concatenation.
• To develop source code using escape characters and good documentation.
• To use meaningful, self-explanatory names as identifier
• To understand how to use algorithms and pseudocode.
• To understand and use method design techniques such as stubs, driver programs and top down design.
• Make arrangements for a proctor for week 8 for your final exam. Arrange for a proctor with your Park site if possible
Week 3 Objectives:
• To understand and use switch statements.
• To understand and use the while and do-while repetition (loop) structure.
• To understand and use the for repetition (loop) structure.
• To understand and use counter-controlled and sentinel-controlled repetition structures.
• To identify and use boolean expressions, variables and values in repetition structures..
Week 4 Objectives:
• Learn to define classes in Java.
• Learn to define and use methods.
• Learn to declare and use local variables in methods.
• To understand and use instance variables.
• To understand and use instance methods
• Learn to use arguments and parameters in methods.
Week 5 Objectives:
• Learn to define and use constructors.
• Learn to use overloaded methods.
Week 6 Objectives:
• Introduce basic array concepts and why they are important.
• Learn how to create and use simple arrays using Java.
• Learn how to access and initialize array elements.
Week 7 Objectives:
• To understand and use accessor and mutator methods.
• Understand how to use static variables and static methods.
• Understand the Math class
• Learn to identify wrapperclasses for primitive variables.
• Learn to use top-down design, driver methods and stubs.
• Learn how to package java files.
• Write the source code for the term coding project.
Week 8 Objectives:
• Hand in the term coding project by Wednesday of week 8.
• Complete Park University's Student Opinion Survey.
• Complete instructor's feedback form
• Participate in the week 8 discussion thread.
• Take the final written exam. The final written exam is worth 30% of your final grade. It is a closed book written exam covering the concepts covered in the course. Park College is requiring that this be a proctored exam. An examination will be taken in person at one of the Park College sites around the country or at an alternative location approved by the college where Park College sites are not available. This examination is mandatory and is necessary to receive a passing grade in the course. It will be the responsibility of the student to arrange for a proctor who will be accepted and approved by the instructor. Park College site administrators or adjunct faculty members are preferred, but K-12 school officials acceptable. Those taking the proctored examination shall provide photo identification to the proctor. Approved proctors shall include U.S. Embassy officials, military education officers, any college or university faculty member or administrator. Excluded from approval as proctors shall be personnel at place of work, ministers, family members, neighbors, and friends. Students should use the proctor button on the introduction page of the classroom to generate the proctor form.

JAVA An Introduction to Problem Solving & Programming by Walter Savitch -- Fourth Edition -- Prentice Hall Publisher ISBN-0-13-149202-0
ACADEMIC HONESTY: “Academic Honesty is required of all members of a learning community. Hence, Park will not tolerate cheating or plagiarism on tests, examinations, papers or other course assignments. Students who engage in such dishonesty may be given failing grades or expelled from Park.”

PLAGIARISM: Plagiarism—the appropriation or imitation of the language or ideas of another person and presenting them as one’s original work—sometimes occurs through carelessness or ignorance. Students who are uncertain about proper documentation of sources should consult their instructors.”

ATTENDANCE POLICY: Instructors are required to keep attendance records and report absences. The instructor may excuse absences for cogent reasons, but missed work must be made up within the term of enrollment. Work missed through unexcused absences must also be made up within the term of enrollment, but unexcused absences may carry further penalties. In the event of two consecutive weeks of unexcused absences in a term of enrollment, the student will be administratively withdrawn, resulting in a grade of “F”. An Incomplete will not be issued to a student who has unexcused or excessive absences recorded for a course. Students receiving Military Tuition Assistance (TA) or Veterans Administration (VA) educational benefits must not exceed three unexcused absences in the term of enrollment. Excessive absences will be reported to the appropriate agency and may result in a monetary penalty to the student. Reports of F grade (attendance or academic) resulting from excessive absence for students receiving financial assistance from agencies not mentioned above will be reported to the appropriate agency.

Assignments are due each Tuesday on a weekly basis. Late work will be accepted but is penalized 20% for each week or fraction thereof. So, it is much better to submit late than to not submit at all.

Assignment % of Grade
Labs (1-8) 45%
Scheduled quizzes 25%
Final Written Exam 30%
Total Points 100%
Grading Scale –
A = 90- 100% of total points possible
B = 80-89% of total points possible
C = 70-79% of total points possible
D = 60-69% of total points possible
F = < 60% of total points possible

Computers make writing and revising much easier and more productive. Students must recognize though that technology can also cause problems. Printers run out of ink and hard drive crash. Students must be responsible for planning ahead and meeting deadlines in spite of technology. Be sure to save copies of your work to disk, hard drive, and print out paper copies for backup purposes.
Park University is committed to meeting the needs of all students that meet the criteria for special assistance. These guidelines are designed to supply directions to students concerning the information necessary to accomplish this goal. It is Park University’s policy to comply fully with federal and state law, including Section 504 of the Rehabilitation Act of 1973 and the American with Disabilities Act of 1990, regarding students with disabilities and, to the extent of any inconsistency between these guidelines and federal and/or state law, the provisions of the law will apply. Additional information concerning Park University’s policies and procedures related to disability can be found on the Park University web page: www.park.edu/disability.

Note: All assignments are due on Tuesdays of the following week.
The quiz schedule will be announced in class.
Week One --

1. Read pages 1-76 in your textbook.
2. Complete the Week1Project1 coding project.
3. Complete the Week1Project2 coding project.

Week Two --

1. Read Pages 76-120 in your textbook.
2. Complete the Week2Project1 coding project.
3. Complete the Week2Project2 coding project.

Week Three --

1. Read Pages 130 -199 in your textbook.
2. Complete the Week3Project1 coding project.
3. Complete the Week3Project2 coding project.

Week Four --

1. Read Pages 221 -289 in your textbook.
2. Complete the Week4Project1 coding project.
3. Complete the Week4Project2 coding project.

Week Five --

1. Read Pages 315-388 in your textbook.
2. Complete the Week5Project1 coding project.
3. Complete the Week5Project2 coding project.

Week Six --

1. Read Pages 417-459 in your textbook.
2. Complete the Week6Project1 coding project.
3. Complete the Week6Project2 coding project.

Week Seven --

1. Complete the Week7Project1 coding project.

Week Eight --

1. Review for and take the Final Examination.