For Wednesday No reading No homework Lab Exam In lab this week H - - PowerPoint PPT Presentation

for wednesday
SMART_READER_LITE
LIVE PREVIEW

For Wednesday No reading No homework Lab Exam In lab this week H - - PowerPoint PPT Presentation

For Wednesday No reading No homework Lab Exam In lab this week H drive will be ERASED before and after the exam Make sure you have saved everything from your H drive well before your lab exam Make sure you submit


slide-1
SLIDE 1

For Wednesday

  • No reading
  • No homework
slide-2
SLIDE 2

Lab Exam

  • In lab this week
  • H drive will be ERASED before and after

the exam

  • Make sure you have saved everything

from your H drive well before your lab exam

  • Make sure you submit correctly
slide-3
SLIDE 3

Final Exam

  • Wednesday night
  • Stevenson 101
  • Comprehensive
  • No robot specific problems
  • No planned make-ups
slide-4
SLIDE 4

Program 7, part b

  • Any questions?
slide-5
SLIDE 5

More Practice

  • Write a program that helps score a miniature

golf game. Ask for the number of players and then request the scores, hole by hole. After all data is entered, report which player won and then provide statistics: for each player, his/her total score, how many holes in one and how many holes over 4; for each hole, which player was best (ties should list all players who are tied). Use indices 1-18 for the holes and index 0 for each player’s total.

slide-6
SLIDE 6

Beyond 2 Dimensions

  • Can actually have as many dimensions as

you like.

  • When might this be useful?
  • What do you need to be careful about?
slide-7
SLIDE 7

Inserting into an Ordered Array

slide-8
SLIDE 8

ACM Code of Ethics

slide-9
SLIDE 9

Some Terminology

  • Stakeholders
  • Stakes
slide-10
SLIDE 10

Considering Ethical Situations

  • Who are the stakeholders?
  • What are the stakes?
  • What are the responsibilities of the

computer professionals to the stakeholders?

  • What are possible courses of action?
  • What is a good choice of action to take?
slide-11
SLIDE 11
  • A student enrolled in a computer class was

also employed at a local business part-time. Frequently her homework in the class involved using popular word-processing and spreadsheet packages. Occasionally she worked on her homework on the office computer at her part-time job, on her coffee

  • r meal breaks.
  • What if she had done it during “company

time”?

slide-12
SLIDE 12
  • A student at a university learned to use an expensive

spreadsheet program in her accounting class. The student would go to the computer lab and use the software to complete her assignment. Signs were posted in the lab indicating that copying software was

  • forbidden. One day, she decided to copy the

software anyway to complete her assignment at home.

  • If the student destroyed the software at the end of the

term, her action was:

  • If she forgot to destroy it?
  • If she never intended to destroy it?
slide-13
SLIDE 13
  • A student suspected and found a loophole in

the university computer’s security system that allowed him access to the other students’

  • records. He told the system administrator

about the loophole, but continued to access

  • thers’ records until the problem was

corrected two weeks later.

  • Searching for the loophole was:
  • Continuing to access others’ records was:
  • The system admin’s failure to correct the

problem sooner was: