|
CS13011 Computer Science IA: Procedural Programming
CS13012 Computer Science IB: Object Oriented Programming
Summer 2019
|
lecture instructor: | Mikhail Nesterenko |
office: | MSB 356 |
office hours: | WF 2:00-5:00pm |
phone: | (330) 672-9101 |
email: | mikhail AT cs.kent.edu |
. |
lectures: |
WF 10:00am-11:40pm, MSB 106 |
. |
lab instructors | |
Shishir Rai | srai AT kent.edu |
Kendric Hood | khood5 AT kent.edu |
CSIB lab times |
section number |
day/time |
location |
instructor primary |
020 |
WF 12:00-1:55pm |
MSB 162, MSB 139 |
Kendric, Shishir |
Tutoring Hours |
location | times |
MSB 243 |
M/T/R 12:00-1:55pm |
|
Textbook:
Problem Solving With C++
by Walter J. Savitch, Pearson, 2017, Tenth Edition, ISBN:
978-0134448282. The textbook is required. No access code is needed.
Older editions may be allowed, check with me for details.
differences between course and textbook
syllabus,
tentative schedule,
labs
example quiz, answer key
example CSIA final exam
example CSIA exam answers
example CSIB exam
example CSIB exam answers
final exam time, review topics
board contents
Mailing list:
list info/subscription,
archive,
previous year's archive
Slides and Examples
topic |
examples |
book chapters |
CSIA |
introduction, history of C++, C++ program outline
|
|
1.1-1.3 |
first program, development environment
| hello world, area |
1.3-1.4 |
variables, identifiers, assignment, input/output
|
|
2.1-2.2 |
types, expressions, more on assignment
|
increment/decrement |
2.3 |
boolean algebra, boolean and
relational operators, branching constructs
|
order, toll, largest, digits |
2.4, 3.1-3.2 |
iterative constructs: while, do-while, for
|
max, odometer, liftoff
| 2.4, 3.3-3.4 |
programming style, comments, naming programs
predefined functions (library functions)
|
doghouse, equation, time and random |
2.5, 4.2 |
programmer-defined functions,
local and global variables, call-by-value |
add1 |
4.3,4.5 |
separate files, independent compilation,
header files
|
add1 in separate files |
12.1 |
void-functions, predicates, call-by-reference
| stack example, swap'em, valueVSreference, predicated greeting |
5.1, 5.2, 14.1 |
defining arrays, arrays with for-loops,
passing arrays as arguments,
|
initialize array, pass as parameter
|
7.1-7.2 |
strings |
finding in/updating/passing as parameters/etc. |
8.1,8.2
|
file input/ouput |
sum of three numbers, setw, cerr, to_string, stoi, reading lines from file |
6.1 |
. |
CSIB |
structures
| simple, complex, passing as parameters, using with arrays |
10.1 |
classes |
simple, constructors, inline functions,
friend functions |
10.2 |
pointers |
pointer usage |
9.1 |
dynamic memory allocation
|
dynamic memory
|
9.2 |
objects with dynamically allocated members
|
dynamic objects
|
11.4 |
vectors |
elementary operations, size change,
use with functions, iterators |
8.3, 18.1 |
multidimenstional arrays, vectors of vectors |
index counting, multiplication table, ragged array
|
7.4 |
namespaces |
defining, std |
12.2 |
recursion |
factorial, write vertical, sum, reverse |
14.1 |
diagrams |
|
OMT,
UML |
exception handling |
exceptions |
16.1,16.2 |
|