Introduction to Computer Science CPTG121

advertisement
Introduction to Computer Science 1
CPTG121
Class Introduction
Instructor: Denny Lin
Instructor
• My name is Ping-Herng Denny Lin (AKA Denny
Lin)
• Born in Taiwan, grew up in Singapore, went to
high school in Bolivia, college educated in the US
• BA in Music (1991) and BS in Computer Science
(1991) from Loma Linda University – Riverside
(now La Sierra University)
• MS in Computer Science (2002) from Cal State
Fullerton
Computer-related work
experience
• Student system operator (1988 – 1991)
• Tutored programming classes (1990 – 1991)
• MICOL coordinator from 1991 - 2003, Interim Director
of Academic Computing in 1994, and Workflow
Analyst/Programmer since 2003 at La Sierra University
• Teaching assistant and instructor of various computer
literacy classes at Loma Linda University (1991 – 1995)
• Part-time faculty at LSU since 2000 (taught PERL
programming, Systems Analysis, Software Engineering,
Intro to Computer Science 1 and 2, and Data Structures)
Earnings Outlook for Computer
Specialists
• According to the US Department of Labor, the
median earnings in May, 2006 for:
– Network System and Data Communications Analysts $64,600/year
– Database Administrators - $64,670/year
– Computer Programmers - $65,510/year
– Computer Systems Analysts - $69,760/year
– Applications Software Engineers - $79,780/year
– System Software Engineers - $85,370/year
– Computer & Info Research Scientists - $93,950/year
Source: http://www.bls.gov/oco/
Class Schedule
• We meet Tuesdays and Thursdays, from 3:00PM
to 4:20PM for class lecture
• We meet Wednesdays from 12:00PM to 2:50PM
for lab
• You are paying at least $80.00 for each class
meeting, so attendance and punctuality is expected
• Missing any 4 class or lab meetings will result in
an F grade
Pre-requisites for CPTG121
• Must have taken MATH121 (College Algebra), or
currently taking MATH131 (Calculus)
• or Consent of Instructor (criteria based on):
–
–
–
–
High-School GPA of 3.0 or higher
La Sierra University GPA of 3.0 or higher
Passed MATH007 with a C or higher
Concurrent enrollment in MATH121
• Able to touch-type (30 words per minute or more)
No Pre-Requisites?
• CPTG121 is scheduled to be offered in Fall
2010
• Free online typing lessons can be found on
www.learn2type.com and
www.senselang.com
• Because this class is very time intensive, it
is best to fulfill your pre-requisite(s) first
MATH121
College Algebra
LSU Computer Science Major Pre-requisite Structure Chart
MATH122
Trigonometry and
Analytical
Geometry
MATH131
Calculus 1
CPTG121
Introduction to
Computer Science
1
CPTG122
Introduction to
Computer Science
2
MATH276
Discrete Math
MATH485
Math Seminar
(2)
CPTG245
Comp. Org. &
Assembly
Language Prog.
CPTG244
Data Structures
MATH132
Calculus 2
CPTG345
Digital Logic
Design
PHYS231
General Physics 1
PHYS232
General Physics 2
MATH231
Linear Algebra
MATH133
Calculus 3
CPTG364
Analysis of
Algorithms
CPTG424
Database Design
& Management
MATH232
Differential
Equations
and
CPTG255
Systems and
Network
Programming
CPTG445
Computer
Architecture
CPTG334
Systems Analysis
CPTG434
Operating
Systems
CPTG324
Programming
Languages
and
BIOL101 &
BIOL101L
Ecosystem
Biology (3.5)
BIOL102 &
BIOL102L
Process in
Biology
BIOL103 &
BIOL103L
Biology of
Organisms (3.5)
and
MATH361
Numerical
Methods 1
MATH461
Biomathematical
Modeling 1
O
R
CPTG455
Software
Engineering
MATH362
Numerical
Methods 2
MATH462
Biomathematical
Modeling 2
CPTG486
Topics in
Computer Science
(2-4)
CPTG454
Compiler Theory
CPTG494
Internship
(0-8)
CPTG499
Directed Study
(1-4)
All classes are 4 units, unless otherwise indicated by number in parenthesis
Electives: Pick total of 16 units, only 4 may be from MATH
Elective Prerequisites
Required
Cognates
Implicit Prerequisites
MATH121
College Algebra
MATH131
Calculus 1
LSU Information Systems Major Pre-requisite Structure Chart
MATH122
Trigonometry and
Analytical
Geometry
CPTG121
Introduction to
Computer Science
1
MATH485
Math Seminar
(2)
CPTG122
Introduction to
Computer Science
2
CPTG226
File Processing
MATH276
Discrete Math
CPTG245
Comp. Org. &
Assembly
Language Prog.
CPTG244
Data Structures
ECON254
Principles of
Macroeconomics
ECON255
Principles of
Microeconomics
CPTG345
Digital Logic
Design
CPTG364
Analysis of
Algorithms
ACCT211
Financial
Accounting
ACCT212
Managerial
Accounting
MGMT304
Management and
Organizational
Behavior
MATH251
Introduction to
Statistics 1
BUAD341
Managerial
Statistics
CPTG424
Database Design
& Management
and
CPTG255
Systems and
Network
Programming
CPTG445
Computer
Architecture
CPTG334
Systems Analysis
CPTG434
Operating
Systems
CPTG324
Programming
Languages
CPTG486
Topics in
Computer Science
(2-4)
O
R
O
R
BUAD444
Operations
Research
Methods
CPTG455
Software
Engineering
CPTG454
Compiler Theory
CPTG494
Internship
(0-8)
CPTG499
Directed Study
(1-4)
MGMT356
Human Resource
Management
All classes are 4 units, unless otherwise indicated by number in parenthesis
Electives: Pick total of 12 units from Computer Science or Math classes.
Elective Prerequisites
Required
Cognates
WARNING
This course contains material that
demands intense mental work and an
unusual amount of time commitment.
Student dedication is advised.
Pass/Fail Data Fall 2002
• In Fall 2002, 18 students took CPTG121
• 3 withdrew and received Ws
• 1 failed to withdraw on time, and received
an F
• 3 received As, 6 received Bs, 3 received Cs,
and 2 received Ds
• 5 continued on to CPTG122, and only 3
continued on to CPTG244
CPTG121 Class Standings 2002
Name
Ian Do
Joan Dow
Johannes Do
Joanne Doren
Giovanna Dore
Giovanni Dowe
Jolene Dore
Johann Doren
Juanito Duo
Hans Dor
John Doe
Johnny Dowell
Juanita Dole
Jon Doe
Juanc ito Dole
Avg Qz Avg Asg Avg Lab Project Midterm Exam Overall
PCT
Grade
3.78
4.95
5.39
4.88
5.39
5.69
5.15 102.93% A
4.14
3.99
5.67
5.00
5.48
5.49
5.09 101.81% A
3.22
2.79
5.45
4.98
4.81
4.82
4.50 90.04% A3.65
4.35
5.33
4.96
3.85
3.75
4.35 86.94% B+
3.52
3.54
5.06
4.90
4.62
3.59
4.27 85.44% B
2.91
2.96
4.75
4.20
4.52
5.20
4.26 85.18% B
2.62
2.14
4.80
4.81
4.42
5.18
4.18 83.67% B
2.59
2.72
5.21
4.23
4.71
4.11
4.11 82.14% B2.04
1.16
4.75
4.13
5.63
4.67
4.01 80.11% B2.82
1.70
5.00
4.90
4.23
4.26
3.97 79.43% C+
1.69
1.83
5.00
4.72
3.75
2.55
3.41 68.23% C2.33
0.61
4.09
4.91
3.75
3.24
3.28 65.55% C2.20
1.15
4.03
4.38
3.08
2.48
2.97 59.33% D
1.96
0.00
3.39
4.91
3.94
2.25
2.85 57.00% D
1.03
1.31
3.99 #N/A
0.00
0.00
0.00
0.00% F
Pass/Fail Data Fall 2003
•
•
•
•
In Fall 2003, 15 students took CPTG121
4 withdrew and received Ws
4 Bs, 6 received Cs, and 1 received a D
4 continued on to CPTG122, and only 1
continued on to CPTG244
CPTG121 Class Standings 2003
Name
Ian Do
Joan Dow
Johannes Do
Joanne Doren
Giovanna Dore
Giovanni Dowe
Jolene Dore
Johann Doren
Juanito Duo
Hans Dor
John Doe
Johnny Dowell
Juanita Dole
Jon Doe
Juancito Dole
Avg Qz Avg Asg Avg Lab Project Midterm Exam Overall PCT Grade
3.01
3.91
5.18
4.60
4.38
4.88 4.46 89.30%
B+
4.14
3.65
4.62
4.80
4.17
4.17 4.27 85.44%
B
4.51
4.39
5.30
4.74
3.44
3.44 4.26 85.12%
B
3.38
4.13
4.78
4.69
3.33
4.52 4.19 83.71%
B
2.77
1.68
4.68
4.15
4.58
4.58 3.92 78.41%
C+
1.97
2.12
3.81
3.86
4.48
4.48 3.65 72.97%
C
3.38
3.71
4.66
4.64
3.33
2.28 3.65 72.92%
C
3.69
2.07
4.79
4.85
3.23
2.39 3.49 69.79%
C4.39
4.10
5.20
4.85
3.33
0.00 3.49 69.78%
C3.27
3.59
4.71
4.12
2.14
2.14 3.28 65.58%
C2.18
2.44
4.42
4.06
2.50
2.50 3.08 61.51%
D+
0.00
0.00
0.00
0.00
3.23
3.23 1.29 25.83% F (W)
0.00
0.00
0.00
0.00
0.00
0.00 0.00
0.00% F (W)
0.00
0.00
0.00
0.00
0.00
0.00 0.00
0.00% F (W)
0.00
0.00
0.00
0.00
0.00
0.00 0.00
0.00% F (W)
Pass/Fail Criteria
• A D grade is minimum non-failing performance
for undergraduate credit
• To remain in the Computer Science program, you
need to pass all CPTG and cognate courses with a
C grade or better
• Grade distribution:
–
–
–
–
–
A range: 90% - 100%
B range: 80% - 89.99%
C range: 65% - 79.99%
D range: 50% - 64.99%
F: Below 50%
Reasons People Flunk
• Missing class sessions
• Failure to do homework
• Poor sleeping, drinking, eating, and
physical exercise habits
• Failure to buy and read textbook and lab
manual
• Failure to prioritize and budget time for
study, work, and social activities
More Reasons People Flunk
• Copying other people’s homework, quiz,
or exam
• Failure to drop this class on time.
Deadlines for Winter 2009 are:
– Jan. 16th with no record on transcript
– Feb. 27th with a “W” on transcript
CPTG 121 Survival Guide
•
To do well in this class, you need to score
mucho points in:
•
•
•
•
•
•
Quizzes (one per day) [10%]
Homework (three per week) [15%]
Lab sessions (one per week) [15%]
Class Project [20%]
Midterms [20%] and Final Exam [20%]
Get as much extra credit as possible
Surviving Daily Quizzes
• Be on time to class
• Read assigned sections from textbook
before class
• Take notes while you read, and answer all
checkpoint and review questions
• Read further ahead of what’s assigned
• Time commitment outside class: 1 hour
daily (3 days per week)
Turning In Your Homework
• Homework consists of C++ source code
file(s)
• Homework must be turned in by e-mail to
the instructor at dlin@lasierra.edu
• The subject of your e-mail must start with
CPTG121 and your initials. For example:
CPTG121DL Homework #01
Data & Health Hazards
Why Food and Computing Don't Mix
Germs per square inch
• Your floppy disk is a
very unreliable storage
media. Back up your
work to a hard drive,
server, or flash drive
• Computer keyboard
and mouse harbor lots
of germs. Do not eat
and compute!
3,295
3,500
3,000
2,500
1,676
2,000
1,500
1,000
500
301
49
69
Toilet seat
Photocopier
-
Fax machine
Computer
Mouse
Computer
keyboard
Surviving Homework
• Get started early. Penalty for late work is a 50% deduction
for each day of delay
• Try, try, and try again. Get help from friends, other faculty,
and instructor
• Every word and line you produce is scrutinized
• Comment (describe) your code (avg. .5 point deduction)
• Copying from a classmate will result in a 0 for you and
that classmate
• Extra features = extra credit (up to .5 point bonus)
• Time commitment outside class: 3 to 6 hours weekly
Surviving Lab Sessions
•
•
•
•
•
Do pre-lab writing assignments before lab sessions
Be on time to take the quiz
Perform lab assignment in class
Comment all code produced in lab
Lab assignments must be turned in at the
conclusion of the lab session
• Time commitment outside class: 1 hour weekly
Class Project
• Serendipity Booksellers Software
Development Project
• The project is completed by a team of
fellow students
• Makeup of teams is decided by instructor
• Every member of the project evaluates the
work of their teammates
Surviving the Class Project
• Be on time to team meetings
• Complete what you have agreed to at your
team meetings
• Your peers have a say in what grade you get
on the project
• Time commitment outside class: 1 hour
daily
Surviving the Midterm and Final
Exams
• Perform well in quizzes
– Complete reading assignments
– Take notes while you read
• Complete all homework
– Finish all lab sessions
– Get help from friends, instructor, or other
faculty
WARNING II
To do well in this class, you have to
work really hard. Drop this class if you
are not prepared to dedicate a
significant amount of time and mental
effort on this class.
Only You…
•
•
•
•
•
can determine your grade in this class
can make the choice to be successful
can choose how you use your time
can do the work of learning
can add or drop this class
Textbook & Lab Manual
• Textbook: “Starting Out with C++: From Control
Structures through Objects”, 6th Edition, by Tony
Gaddis. ISBN 0-321-54588-5
• Lab Manual: “Lab Manual to Accompany Starting
Out with C++: From Control Structures through
Objects”, 6th Edition, by Dean DeFino and
Michael Bardzell. ISBN: -0321-55647-X
Textbook coverage
•
•
•
•
Coverage rate is 1 chapter per week of class
CPTG121 covers chapters 1 to 9
CPTG122 covers chapters 10 to 18
Material from chapters 17 through 19 is
covered in-depth in CPTG244
Class Website
•
•
•
•
http://faculty.lasierra.edu/~dlin/cptg121
Textbook reading schedule
PowerPoint lecture notes
Updated class syllabus
Download