Exam 2
1 / 24

Exam #2 - PowerPoint PPT Presentation

  • Uploaded on

Exam #2. Wassn 6 due. extra credit. Exam #2. Exam Review. good work …. Operating Systems. Systems Assignment 4. Systems Assignment 4. Sassn 4 due next time. questions …. Systems Assignment 4.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about ' Exam #2' - fabiano-knight

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Exam 2
Exam #2

Wassn 6 due

extra credit

Exam 21
Exam #2

Exam Review

good work …

Systems assignment 41
Systems Assignment 4

Sassn 4 due next time

questions …

Systems assignment 42
Systems 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

Systems assignment 43
Systems 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

Oral written reports
Oral & Written Reports


logistics …

Systems programming
Systems Programming

0. Systems Programming

A. similarities

app development &systems development

Systems programming1
Systems Programming

OO Programming Review

objects are “active”

methods allow objects to manipulate their own data

Systems programming2
Systems Programming

“levels” to view data structures

abstract (the idea)

application (the use)

implementation (code)

Systems programming3
Systems Programming

ADT - logical idea

data structure = organized data with access methods

how to get at data

Systems programming4
Systems Programming

1. specific example

Systems assignment 3

FIFO = queue

match objects to application

Systems programming5
Systems Programming

1. specific example

we’ll have to simulate a queue as it doesn’t exist in C++

Systems programming6
Systems Programming

2. How to “think” OO





Advantage of oo
advantage of OO :-)

Zeke “have you heard of the OO way to become wealthy?”

Zeb, “No”

Zeke, “inheritance”

Systems programming7
Systems Programming

identify the objects


organization & operations

FIFO, Deq, Enq

Systems programming8
Systems Programming

“3 file model”

CSC 250 & CSC 300

used to help us “think and program OO”

Systems programming9
Systems Programming

header file xx.H

declares the class(es) – the interface for using the object(s)

Systems programming10
Systems Programming

implementation file xx.CPP

definitions for the functions declared in the header

ADTs defined here

Systems programming11
Systems Programming

driver file xxDrv.CPP

application itself

“client” which will instantiate the class as an object

Advantage of oo1
advantage of OO :-)

Zeb, “How many C++ programmers does it take to change a light bulb?”

Advantage of oo2
advantage of OO :-)

Zeke, “You’re still thinking procedurally! A properly designed light bulb object would inherit a change method from a generic light bulb class!”

Systems assignment 5
Systems Assignment 5

Sassn 5

PDL due Day 21

Code due Day 26