9.2 Why does a copyright provide better protection for object code than for source code?
9.3 How can you apply the ACM Code of Ethics to the practice of sending ???spam??? e-mail (unsolicited messages
to strangers). What sections of the ACM Code apply, and does the ACM Code permit the practice?
9.4 Inspection of a computer program controlling a weapons system shows 54 ???if??? statements (23 with
???else??? clauses), 4 ???switch??? statements (with 5, 7, 4, and 8 ???cases???), and 17 ???for??? or ???while??? loops with
parameterized looping boundaries. How would you exhaustively test such a program to prove its safety?
9.5 Assume you have just created a program to schedule taxicabs in real time. You??™re sure that your approach
is entirely new and much better than anything else available. Every taxi company in the world is going to
want your software. Explain how you would best protect your work??”patent? copyright? secret?
CHAP. 9] SOCIAL ISSUES 179
180
Answers to
Review Questions
INTRODUCTION TO C0MPUTER SCIENCE
1.1 Write an algorithm for your morning routine, from the time the alarm clock rings until you leave the
house for work or school.
Awake to alarm clock.
Get out of bed.
Go downstairs to the kitchen.
Pages:
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495