CIS155 Class Handout

Document Sample
CIS155 Class Handout Powered By Docstoc
					                       LEHIGH CARBON COMMUNITY COLLEGE
                                COURSE OUTLINE
                                      for

                CIS 155 - INTRODUCTION TO COMPUTER SCIENCE –
                        STRUCTURED PROGRAMMING – C++

               Cluster/Division/Department:     Business and Technology
                               Credit Hours:    3
                              Lecture Hours:    3
                          Laboratory Hours:     1½
                                      Other:    0
                   Course Origination Date:     September 1994
                    Reviewed/Revised Date:      Fall 2000
                               Submitted by:    Mary Hovik
                             Prerequisite(s):   None
                              Corequisite(s):   None

    Instructor: Professor Pat Riola, MCSE, CCNA          Office: TC216
    Phone:     610-799-1791                              Email: priola@lccc.edu
    Website: www.webdevlccc.com/priola                   Office Hours:
                                                         Or by appointment


                                         Course Description
An algorithm design and structured programming course using C++. Covered will be elementary
data types and data operations, functions and parameter passing, looping, selection, arrays,
structures, file I/O, and string operations.
                                          Course Objectives
The student should be able to:
-       distinguish generally between different types of programming languages
-       understand a typical C++ programming environment
-       develop algorithms through the process of top-down, stepwise refinement
-       name the fundamental data types and explain how each is formed in memory
-       use arithmetic operators
-       show knowledge in the precedence of arithmetic operators
-       declare and use string variables
-       define an enumerated type and declare an enumerated variable
-       refer to the values of an enumerated variable
-       write decision-making statements using if, if/else, and switch selection structures
-       use the while, do/while, and for repetition structures
-       use the increment, decrement, assignment, and logical operators
-       use the break and continue program control statements
-       show understanding of how to construct programs modularly and create new functions
-       pass information between functions both by copy and reference
-       show understanding of the concepts of scope and lifetime
-       write and use simple functions that call themselves
-       understand the array data structure and its use
-       declare and initialize an array and refer to individual data members of an array
-       pass an array to functions
-       declare and manipulate multiple-subscript arrays
-       define a structure and declare a structure variable
-       refer to the data members of a structure variable

                                           Course Content
I.      Introduction to C++
        A.      parts of a program
        B.      variables and memory management
        C.      simple I/O
        D.      arithmetic operators
        E.      scope
II.     Expressions
        A.      type coercion
        B.      mathematic operators
        C.      mathematic library functions
III.    Decisions
        A.      logical operators
        B.      nested ifs and compound questions
        C.      switch
IV.     Looping
        A.      while loops
        B.      for loops
        C.      do while loops
        D.      continue and break statements
V.      Functions
        A.      parameters
        B.      default arguments
        C.      scope
        D.      returning values
        E.      copy versus reference parameters
VI.     Arrays
        A.      creating and using
        B.      as function arguments
        C.      two-dimensional arrays
VII.    Pointers
        A.      getting the address of a variable
        B.      pointer variables
        C.      as function parameters
VIII.   Strings and characters
        A.      library functions
        Grading Procedures Each activity is worth a percentage of your course grade, as shown in the
        following table.
                                Activity                           Grade Percentage
         Homework                                                               20%
         Lab Assignments/Programs                                                35%
         Tests                                                                   40%
         Quizzes                                                                  5%
        The table below shows how your numeric score will be translated to a letter grade at the end of
        the semester.
                Numeric Score        Letter Grade
                           90 – 100            A
                            80 – 89            B
                            70 – 79            C
                            60 – 69            D
                              0 - 59           F

                                    Required Textbook
Gaddis, Tony, Starting Out With C++ From Control Structures through Objects, Scott/Jones
Inc., 6th Edition, 2009.

Classroom details (adapted from Instructor Joyce Thompson).
I am available via voice mail at 610-799-1791 or email at priola@lccc.edu. I am on campus Monday through
Thursday.

Attendance
Students are expected to attend each class. If you are unable to attend class, please email me at
priola@lccc.edu or voice mail me at 610-799-1791.
The attendance policy is strict because your success in this (and every other) course depends on your ability to
participate and fully engage in all classroom activities. According to college policy, if you miss more than nine
consecutive hours during the semester, I am required to complete a drop form. You can be reinstated into the class
if you speak to me.

Academic Honesty
The College’s plagiarism policy and procedures will be followed.
Lehigh Carbon Community College expects that work produced by students will represent their personal effort.
Academic dishonesty includes but should not be limited to:
          1. Cheating on tests and exams
                   a. Use of test aids (crib sheets)
                   b. Copying
                   c. Stealing of test questions
          2. Plagiarism – Quoted materials must be enclosed in quotation marks with complete documentation
              indicating source. Materials used without direct quotations should have the source indicated.
                   a. Copying any written assignment such as papers, homework, lab reports, ENG 105 research
                        skills workbook
                   b. Copying any electronic assignments such as papers, homework, lab reports, programs, etc.
                        ** be sure to cite any content taken from the Internet, magazines, texts ect.
                   c. Purchase of all or part of papers, reports, workbooks, or other assignments.
          3. False statements designed to earn the student the right to make up missed work.

Class Cancellation Due to Weather (see student handbook)
Internet: www.cancellations.com
          www.waeb.com - Click on Operation Snowflake – then select the letter “L”
          www.wfmz.com

Radio: WAEB, WLSH, WFMZ, WZZO

Television:      WFMZ, WNEP

Telephone:       Main Campus – 610-799-2121
Classroom Responsibilities
Please turn off all audio features of cell phones and/or beepers before entering the classroom. If devices are audible
they will be confiscated for that class and returned after class. Bring textbook and all necessary materials to each
class.

At times, we may discuss controversial topics and disagree with one another. Students are encouraged to express
their opinions openly without fear of retribution. It is my expectation that we will treat one another with respect; I
will not tolerate racial slurs, sexist remarks, excessive cursing, or abusive behavior (verbal or physical). Anyone who
does not exhibit respectful behavior will be asked to leave and/or be reported to the Dean of Students.

Withdrawal from Class
See important dates on the www.lccc.edu website.

Disabilities
Students with disabilities must first contact the Office of Disability Support Services at 610-799-1156 to request
course accommodations. Students are also encouraged to personally discuss arrangements with the instructor if there
is a need to share medical emergency information or if there is a need for special building evacuation assistance in an
emergency situation.

   If you need course adaptations or accommodations because of a disability, if you have emergency medical
    information to share with me, or if you need special arrangements in case the building must be evacuated, please
    make an appointment with me as soon as possible.

Test/Quiz Makeup Policy
If class is cancelled, for any reason, on the day a test or quiz is scheduled, it will be given during the next class
lecture meeting.

ALL quizzes, tests, and assignments will be returned within one week from the date they are given (quizzes and
tests) or due (assignments). If that class is cancelled for any reason, I will return them at the next class.

If you miss a test or quiz, you will be allowed to take a makeup only if you:
 notify me within 48 hours after the test/quiz of your reason for missing it AND provide a documented excuse for
     the date/time the next time I see you for class.

If these conditions are met, I will allow you to take a makeup test/quiz at a date/time on which we both agree. In
most circumstances, the makeup will be available in the library, if prearranged for a limited amount of time. If you
are absent for the makeup or do not take it within the allotted time period, your grade for the test or quiz will be "0" -
makeups will not be rescheduled if you miss the agreed upon date/time.

General Information
No food or drinks are allowed in the computer labs.
LCCC is a smoke-free campus. No smoking is permitted.
You are expected to abide by the LCCC Student Manual.
This syllabus is subject to change due to weather or other conditions.
                                  CIS 155 Lecture Syllabus
Be prepared to answer the Short Answer questions for each chapter each week. Note: answers to
the odd numbered questions are provided on CD provided with the text.
   Week        Lecture                     Subject                           Assignment
   1           Introduction                First day of class                Read chapter 1.
                                           activities/introduction.          Problems
                                                                             32,34,36. Read
                                                                             Serendipity
                                                                             Booksellers, p.
                                                                             26-27
   2           Chapter 1.                  Programs and Programming          Read chapter 2.
               Flowchart concepts          languages;                        Review
                                           Flowchart page 7.                 Appendix D:
                                           Class: flowchart BOP-IT!          Flowcharting.
               BOP-IT! Exercise
   3           Chapter 2                   Intro to C++                      Read chapter 3.
                                                                             Problems 32,
                                                                             34, 38, 40.
                                                                             Review
                                                                             Serendipity
                                                                             Booksellers.
   4           Chapter 3                   Expressions and Interactivity     Prepare for test
                                           Review programming challenge      Read chapter 4,
                                           3 in class.                       problems 32,
                                                                             34, 36, 58, 64.
   5           Test 1: chapters 1-3        Making Decisions                  Read chapter 5.
               Begin Chapter 4                                               Problems: 32,
                                                                             34, 36, 56.
   6           Chapter 4                   Making Decisions; Review          Read chapter 6.
                                           Programming Challenge 1 in        Problems: 32,
                                           class.                            34, 36, 56.
               Chapter 5                   Looping
                                           Review Programming challenge
                                           20 in class.
   7           Chapter 6                   Functions                         Read chapter 7
                                           Review Programming challenge
                                           8 in class.
   8           Chapter 6                   Functions                         Work on
               Chapter 7                   Arrays                            programs
                                           Review Programming challenge
                                           3 in class.
   9           Chapter 7                   Arrays
               Test Review day                                               Prepare for test
   10          Test 2: chapters 4-7        Test                              Read chapter 8
               Chapter 8                   Searching and Sorting Arrays
                                           Review Programming challenge
                                           1.
   11          Chapter 8                   Searching and Sorting Arrays      Read chapter 9.
               Chapter 9                   Pointers                          Problems: 24,
                                                                             26, 44, 46.
   12          Chapter 9                   Pointers                          Read chapter 10
   13          Chapter 10                  Characters, Strings               Read chapter 13
14   Chapter 13   Intro. To Classes   Prepare for
                                      final: chapters
                                      8, 9, 10, 13
                                   CIS 155 LAB Syllabus

The lab assignment is due the week it is assigned. For credit the student must have
instructor sign-off.

     Week                 Assignment
    1                     Research the URLs provided in: CIS155 first week
                          of class assignment for Wednesday.doc
    2                     Read Appendix M and enter page 8 program.
                          Get it to run and show instructor.
    3                     Page 77, #1 and p. 79, #2 CLASS: #16.
    4                     Page 161, #25
    5                     Page 244: programming challenge 23.
                          CLASS: #24 25;
     6                    Page 299: programming challenge 4; p. 301,
                          #13.
    7                     Page 378: programming challenge 11, p. 378,
                          #13.
    8                     Page 457: programming challenge 4.
    9                     Page 458: programming challenge 6.
    10                    Page 504: programming challenge 8 and 9.
    11                    Page 554: programming challenge 5,8.
    12                    Page 605: programming challenge 15.
    13                    Page 817: programming challenge 3.
    14                    Alice.
                             Lehigh Carbon Community College
Course Number and Title:      CIS 155, Introduction to Computer Science –       Date:   January 12, 2005
                                    Structured Programming – C++

                        Course-Specific Student Learning Competencies

            Objective                 Means for Addressing Objective     Means for Measuring Objective
Distinguish generally between        Textbook                           Tests
different types of programming       Lecture and Class discussion
languages
Understand a typical C++             Textbook                           Homework
programming environment              Lecture and Class discussion       Lab assignments
                                     Illustrating via scholar station   Programming assignments
                                                                        Tests
Develop algorithms through the       Textbook                           Homework
process of top-down, stepwise        Lecture and Class discussion       Lab assignments
refinement                           Small group work                   Programming assignments
                                                                        Tests
Name the fundamental data types      Textbook                           Homework
and explain how each is formed in    Lecture and Class discussion       Lab assignments
memory                               Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
Use arithmetic operators             Textbook                           Homework
                                     Lecture and Class discussion       Lab assignments
                                     Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
Show knowledge in the                Textbook                           Homework
precedence of arithmetic operators   Lecture and Class discussion       Lab assignments
                                     Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
Declare and use string variables     Textbook                           Homework
                                     Lecture and Class discussion       Lab assignments
                                     Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
Define an enumerated type and        Textbook                           Homework
declare an enumerated variable       Lecture and Class discussion       Lab assignments
                                     Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
Refer to the values of an            Textbook                           Homework
enumerated variable                  Lecture and Class discussion       Lab assignments
                                     Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
Write decision-making statements     Textbook                           Homework
using if, if/else, and switch        Lecture and Class discussion       Lab assignments
selection structures                 Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
Use the while, do/while, and for     Textbook                           Homework
repetition structures                Lecture and Class discussion       Lab assignments
                                     Small group work                   Programming assignments
                                     Illustrating via scholar station   Tests
            Objective                  Means for Addressing Objective     Means for Measuring Objective
Use the increment, decrement,         Textbook                           Homework
assignment, and logical operators     Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Use the break and continue            Textbook                           Homework
                                      Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
program control statements            Illustrating via scholar station   Tests
Show understanding of how to          Textbook                           Homework
construct programs modularly and      Lecture and Class discussion       Lab assignments
create new functions                  Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Pass information between              Textbook                           Homework
functions both by copy and            Lecture and Class discussion       Lab assignments
reference                             Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Show understanding of the             Textbook                           Homework
concepts of scope and lifetime        Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Write and use simple functions        Textbook                           Homework
that call themselves                  Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Understand the array data             Textbook                           Homework
structure and its use                 Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Declare and initialize an array and   Textbook                           Homework
refer to individual data members      Lecture and Class discussion       Lab assignments
of an array                           Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Pass an array to functions            Textbook                           Homework
                                      Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Declare and manipulate multiple-      Textbook                           Homework
subscript arrays                      Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Define a structure and declare a      Textbook                           Homework
structure variable                    Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests
Refer to the data members of a        Textbook                           Homework
structure variable                    Lecture and Class discussion       Lab assignments
                                      Small group work                   Programming assignments
                                      Illustrating via scholar station   Tests

PERM CIS155
3/2/05

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:23
posted:8/21/2011
language:English
pages:9