Title: Exam
1Exam 2
Wassn 6 due
extra credit
2Exam 2
Exam Review
good work
3 Operating Systems
4Systems Assignment 4
5Systems Assignment 4
Sassn 4 due next time
questions
6Systems Assignment 4
I liken starting one's computing career with
Unix, say as a undergraduate, to being born in
East Africa. It is intolerably hot, your body is
covered with lice and flies, you are malnourished
and you suffer from numerous curable diseases.
But, as far as young East Africans can tell, this
is simply the natural condition and they live
within it. By the time they find out differently,
it is too late. They already think that the
writing of shell scripts is a natural act.
Ken Pier, Xerox PARC
7Systems Assignment 4
Last week i bought a chain saw with a twisted
handle. Perhaps i wasn't careful, but by accident
it chopped one of my arm off, then i thought to
myself gosh, this is POWERFUL!. This seems to
be the fashionable mode of thinking among the
unixers or unixer-to-be, who would equate power
and flexibility with rawness and complexity
disciplined by repeated accidents. Such a tool
would first chop off the user's brain, molding a
mass of brainless imbeciles and microcephalic
charlatans the likes of Larry Wall and Linus
Torvald jolly behinds. Xah Lee
8Oral Written Reports
reports
logistics
9Systems Programming
0. Systems Programming
A. similarities app development systems
development
10Systems Programming
OO Programming Review
objects are active methods allow objects to
manipulate their own data
11Systems Programming
levels to view data structures
abstract (the idea) application (the
use) implementation (code)
12Systems Programming
ADT - logical idea
data structure organized data with access
methods how to get at data
13Systems Programming
1. specific example
Systems assignment 3 FIFO queue match objects
to application
14Systems Programming
1. specific example
well have to simulate a queue as it doesnt
exist in C
15Systems Programming
2. How to think OO
synthesis outputs inputs algorithms
16advantage of OO -)
Zeke have you heard of the OO way to become
wealthy?
Zeb, No Zeke, inheritance
17Systems Programming
identify the objects
queue organization operations FIFO, Deq, Enq
18Systems Programming
3 file model
CSC 250 CSC 300 used to help us think and
program OO
19Systems Programming
header file xx.H
declares the class(es) the interface for using
the object(s)
20Systems Programming
implementation file xx.CPP
definitions for the functions declared in the
header ADTs defined here
21Systems Programming
driver file xxDrv.CPP
application itself client which will
instantiate the class as an object
22advantage of OO -)
Zeb, How many C programmers does it take to
change a light bulb?
23advantage of OO -)
Zeke, Youre still thinking procedurally! A
properly designed light bulb object would inherit
a change method from a generic light bulb class!
24Systems Assignment 5
Sassn 5
PDL due Day 21 Code due Day 26