COSC3325                                        Test-1                                     Spring 2008

 

 

                  Name_______________________________________

 

                PART-A. Multiple Choices.                                                                                (72 points)

 

                Answer all 24 questions. Each question is three points worth.

                Clearly write down A, B, C, D, E, or F in Capital in front of  each question number and 

nowhere else.

 

                1.                 Deontology emphasizes

                                a.                 Consequences and Greatest happiness.

                                b.                 Duty.

                                c.                 Relative morality.

                                d.                 All above.                    e.  Two above.                    f.  none above.

               

                2.                 Relativism emphasizes

                                a.                 Morals varying among different cultures/societies/circumstances.

b.                 Duty and agent’s intention to do the right things.

                                c.                 Both.                                      d.  Neither.

 

                3.                Utilitarianism emphasizes

                                a.                 Greatest happiness of the greatest number of people.

                                b.                 Agent’s intention to do the right things.

                                c.                 both.                                       d.  neither.

 

                4.                Categorical Imperative is

                                a.                 Universal principles for doing the right things.

                                b.                 Based on Kant’s theory of Deontology.

                                c.                 both.                                       d.  neither.

 

                5.                Drawbacks of Utilitarianism include

                                a.                 difficulty in measuring happiness and pleasure.

                                b.                 emphasis on greatest happiness of the greatest number of people.

                                c.                 both.                                       d.  neither.

 

                6.                Efficacy is

a.          a reason why professionals should feel they have extra powers and corresponding

       obligations as they can affect the welfare of society in either way.

b.          an extra obligation of professionals as they can affect the world we live in.

                                c.                 neither.

 

                7.                 Which model is for the clients to retain the least decision-making power?

                                a.                   Agency Model

                                b.                 Paternalism Model

                                c.                 Fiduciary Model.                                d.  cannot tell.

 

                8.                General Moral Imperatives of ACM Code of Ethics include

                                a.                 contribution to society and human well-being

                                b.                 taking action not to discriminate and avoiding harm to others.

                                c.                 honesty and trustworthiness.

                                d.                 all above.                                    e. two above

 

 

9.                 According to Dr. Myhrvold, which changes by a factor of about 1,000,000 every twenty years?

a.          Computer price itself.

b.         Computer performance itself.

c.          Performance/Computer Price ratio. 

d.         Two above. e. none above.

 

                10.                Suppose that m is a positive prime and n is a positive integer smaller than m.

                                In this case, there is a positive integer q such that, according to Fermat’s (Little) Theorem,

                                a.                  n  m      = q*m+1

                                b.                  n  m-1    = q*m+1

                                c.                 n  m-2    = q*m+1                    d.                 none.

 

                11.                Benefits of telecommuting include

                                a.                  reduced overheads by employers.

                                b.                  lack of immediate supervision possibly leading to poorer productivity

                                c.                both.                                                       d.                neither.

 

12.                 JavaScript

a.          helps adding dynamic components to Web pages.

b.         is case-insensitive including those portions of associated HTML name attributes. 

c.          allows use of function definitions as event handlers.

d.         All above. e. two above. 

 

13.              Which HTML tag is used to set up a pull-down menu of choices?

a.          <FORM>

b.         <SELECT>

c.          both. d. neither.  

 

14.              The Rabin-Miller algorithm is

a.          based upon the Fermat’s Theorem as it is used both as a sufficient condition and

              a necessary condition for primes.

b.         an approximation test that a composite can escape with a probability of about 25%.

c.           Both. d. neither.

 

15.              Which is for online financial trading? 

a.          http://www.onlineethics.com/

b.         http://www.fidelity.com/

c.          Both. d. neither

 

16.              Which describes WWW?

a.          it is for information exchange more than distributed computation.

b.         it was originally invented in Europe.

c.          it is very secure and has central government control.

d.         two above. e. none above.

 

17.               Which is true about A.I.?

a.               About making computers exhibit intelligent behaviors more like humans.    

b.              Symbolic computations.

c.               Both. d. neither

 

18.                Which was an expert system for medical diagnosis and treatment?

a.               MYCIN

b.           DENDRAL

c.           PROSPECTOR

d. none.

 

19.                Which is included in the obligations of ACM Code of Ethics?

a.          Equality and Human Well-being.

b.         Respect for others and Honesty.

c.          Principle of Equal Justice.

d.         All above. e. two above.

 

20.              Which range is expected to have the most number of primes?

a.              10000-20000

b.         1010000-1020000

c.          8010000-8020000 

 

21.              Which code of ethics is centered around eight principles?

a.          ACM Code of Ethics

b.         Software Engineering Code of Ethics

c.          IEEE Code of Ethics.

d.         Two above.

 

22.              Which code of ethics emphasizes professional’s responsibility to society in general

(or public interest)?

a.          ACM Code of Ethics

b.            Software Engineering Code of Ethics.

c.          BCS Code of Conduct.

d.         All above. e. two above.

 

23.               Which is an advantage of Distance Learning?

a.          Availability and Flexibility

b.         Increased employments

c.          both. d. neither

 

24.                Which is a problem of Distance Learning?

a.          plagiarism

b.         Information accessibility and dehumanization

c.          both. d. neither.

 

PART-B. Other problems.                                                                              (28 points)

               

Do three problems in this PART.

  

A.                 In no more than 10 lines, compare the following:

 

Deontology

Utilitarianism

Relativism

 

                B.                  In no more than ten lines, describe purposes and roles of Professional codes of ethics.

 

 

                C.                In no more than 12 lines, compare three professional Codes of Ethics.

 

               

                D.                Describe the Rabin-Miller algorithm.

                                What do you think it really is checking/testing?

 

                E.                List some advantages of WWW in no more than ten lines.