Computers are very dumb, they
cannot think for themselves. You
have to figure out how to solve a problem, and then tell the computer what to
steps to take. Computers will do exactly
what you tell them to do. They are very obedient and loyal. The key is
to understand how to talk to a computer. In this class you will be
learning the C++ Language; a computer programming language used to
create
programs on the computer. Once you understand C++ you will be
able to tell the computer to do a wide range of tasks. Learning and
practicing C++ takes time. You
should expect to spend at
least 10-15 hours per
week preparing and running programming assignments. Please set aside enough time during your
week to work on the assignments in this class.
You need both time and ambition to
succeed. You need ambition to make use of the time you have to learn.
You need time to give your ambition the fuel it needs to complete
tasks. When you have both, you have the power accomplish new tasks.
Topics Outline:
CIS 1.5 Topics Outline:
I Introductory concepts simple programs, declaration and assignment statements, printing using cout, for loops, simple conditional statements, data types int, char, and double, arithmetic ops, precedence rules, standard library of functions
II Reading Data reading using cin, interactive I/O, while loops, if else statement, use of files for input/output
III Functions introduction to functions in C++, programmer defined functions, prototypes, parameters, return types, void and parameterless functions, reference parameters
IV Additional Control Structures – do-while loops, nested loops, nested if, logical and relational operators (optional: break, continue, and switch statements)
V Arrays one dimensional arrays, using arrays with functions
VI Strings using the C++ string class, string manipulation using functions of the string class and programmer defined functions
VII Sorting and Searching simple sorting and searching algorithms
VIII Simple Classes (corresponds to structures in C) defining and using a behavior-less class (a class without member functions)
IX Base Systems binary, decimal, and hexadecimal systems
X Additional Computer Science Topics compilation and execution, parts of a computer system, history of computing, etc.
| There
will be 2 class exams, plus a
final exam. Grading: 30% Programs (There will be about 6 to 8 programs) & HWs 30% Exams 30% Final 10% class participation Projects must be handed in on time. Late projects will lose 1 point per week. Projects are graded on a 10 point scale. |
When handing in programming
assignments, please hand in the following:
Place everything inside of an envelope. |
If you use AOL or AIM you may
contact me using the following AIM screen name:
![]() My email address is: cis1.5@lawrencegoetz.com Office hours are after class in my office 2112N. However if you need help at another time, please check with me before hand. 718-951-5000 x2050 |
Code Lab - Practice C++
Access Code: CUN-BRO-8476-0
Click "register" in the upper right corner Choose "I am a student in a
course ..." and click CONTINUE Enter the Section Access Code:
CUN-BRO-8476-0
| Class | Topic |
Reading |
Assignment |
| Week 1 (Jan 28, 30, 31) |
Introduction - Notes First C++ Program - Notes |
Chapter 1, handout |
Class Signup Assignment 1 |
|
Week
2 (Feb 4, Feb 6, Feb 7) |
|
Chapter 1 |
Assignment 1 due HW problems due |
Week 3 (Feb 11) Week 4 (Feb 13, 14) |
Misc
Topics
Evaluation Expression & While Loop- notes
|
Chapter
2 |
Assignment 2
|
| Feb 18 College Closed Week 5 (Feb 20, 21) |
Reading Data, While Loop, if-else - notes Misc Topics- notes Additional Control Structures - notes Neat Output - Formatting IO Streams |
Chapter 3 |
Assignment 2
is due |
| Week 6 (Feb 25, 27, 28) |
Standard I/O, Redirection, Using Files - notes File Stream IO Modes |
Chapter 4 |
Assignment 3 is due Sample questions. Do not hand them in, they are for your own self testing. You can compile them to see if your results match what you expected. If you have a question, please speak with me. |
|
Week 7 (Mar 3, 5, 6) |
Functions - notes |
Chapter 5 |
Assignment 4 |
Week 8(Mar 10, 12, 13) |
Functions Continued
|
Chapter 6 |
Quiz on Mar 19 Topics are: declaring and assigning variables while and for-loops if-else statements / % arithmetic operators && and || logic operators Know how to write loop. |
| Week 9(Mar 17, 19, 20) Quiz Mar 19 |
Arrays |
Chapter 7 |
Quiz on Mar 19 Sample Questions (more will
follow) Assignment 4 due Oct 24. |
| Week 10 Mar 24, No Classes (Mar 26 Mon Schedule 8am, 27) |
Misc Topics, Midterm Review, Midterm |
March 31 Midterm |
|
|
|
Character Strings - notes String Class Functions - Online |
Chapter 8 |
|
Week 12 (Apr 7 Class Cancelled, 9, 10) |
Sorting & Searching - notes
|
Selection
(Linear) Sort Bubble Sort Linear Search Binary Seach Chapter 9 |
Assignment 6 |
| Week 13 (Apr 14, 16, 17) |
Introduction to simple classes | Chapter 10, Handout |
Assignment 7 |
| Week 14 (Apr 28, 30, May 1) |
Last Terms's exam Another years's exam Another term's exam Misc Topic, Exam Review, |
||
| Week 15 (May 5, 7, 8) |
Second Exam (May 5th) |
Handout Final Review |
|
| Week 16 (May 12, 14) |
Review and such |
||
| Final May
22nd 1127 Ingersoll 1pm-3pm |