Docsity

Software Engineering as Engineering-Software Engineering-Lecture Slides, Slides of Software Engineering

Partial preview of the text

Download Software Engineering as Engineering-Software Engineering-Lecture Slides and more Slides Software Engineering in PDF only on Docsity!

CS 501: Software Engineering

Fall 2000

Lecture 27

Software Engineering as Engineering

Administration

The Y2K Problem: Saving Memory

  • By 1980s, memory was much cheaper, but 2-digit dates

were standard. Why incur the cost of changing standards?

1970 The mortgage industry 1990 The Social Security Industry moved towards 4-digit dates

  • On January 1, 2000 2-digit dates stopped working!

Where's the Problem?

  • A simple bug:

dates of the form 19xx have been encoded xx

  • A simple fix:

find every occurrence of the bug modify the code recompile

Where's the problem?

Where's the Problem?

Computers fail everyday. What's special about this bug?

  • What if they all fail at the same time?
  • What if we lose telephone, electricity, radio, etc.?
  • Traffic signals, elevators,

The greatest worry was uncertainty.

Social Consequences

Worry creates its own problems:

  • Wal-Mart forecast lower profits in Q1 2000
  • Legislation to limit law suits
  • Opportunities for computer fraud and sabotage
  • Trading partners

Y2K Validation

Request from Library of Congress to confirm that our code is Y2K compliant:

Our code is fine .... but it depends on ... which depends on ... Yes. Our code is fine.

Request from DARPA to confirm that our code is Y2K compliant:

It's been validated by another part of the US government Thank you!

Technical Strategies

  • Replace noncompliant applications with compliant ones (e.g., new versions of packages)
  • Repair noncompliant applications (e.g., in-house applications)
  • Terminate noncompliant programs on an as-needed basis
  • Mask the data exchange between applications
  • Object code interception

Is all the Money Going to Y2K?

Y2K as a great excuse to have the computing budget increased:

  • Upgrade the operating system
  • Replace the old package
  • Sell something to your customers

What boss will turn turn a request for Y2K funds?

What systems administrators will not install Y2K upgrades?

Profiteering

  • Buy gold, wood stoves, bottled water
  • Y2K specialists
  • Pundits, consultants, writers
  • Religious cranks

The Need for Software Engineering

Software as a product: => Awkward to use => Full of errors => No chance to try it out

=> No guarantees Not much of a product

What is Engineering?

Crafts, Science, Engineering

Production

Craft

Commercial

Science

Professional Engineering

From: Shaw and Garlan docsity.com

Crafts, Science, Engineering

Production

Craft

Commercial

Science

Professional Engineering

From: Shaw and Garlan

algorithms data structures

compiler construction software development methodologies