COSC3325
Test-1
3/4/2009
Test
Results:
6-10:
DBCAA
11-15:
EDBBE
16-20:
ADAEC
21-26:
CBACDC
Name_______________________________________________
PART-A.
Multiple Choices. (20 questions)
(60 points)
Choose 20 questions and answer by writing down a Big A, B, C, D, E, or F
in Capital in front of
each
question number. (If this instruction is NOT followed, you will lose five
points.)
1. Which is
advocated (or represented) by Immanual Kant?
a. Duty and Motives to do the right thing.
b. Deontology.
c. both.
d.
neither.
2. Which
is advocated (or represented) by Jeremy Bentham?
a. Greatest happiness of the greatest number of
people.
b. Consequence.
c. Utilitarianism.
d. All above.
e. a and b above.
f.
a and c above.
3.
Consequentialism includes
a. Universalism
b. Utilitarianism.
c. Both.
d.
Neither.
4.
Disparity of professional knowledge is the most evident
in
a. employer-employee relationship
b. client-professional relationship.
c. professional-professional relationship.
5.
Which is a false witness for the primality of 15?
a. 10
b. 4
c. both.
d.
neither
6.
General Moral Imperatives of ACM Code of Ethics
include
a. contribution to society and human well-being
b. avoiding harm to others and honesty.
c. Being honest and trustworthy.
d. all
above.
e. two above.
f. none
above.
7.
Which Code of Ethics is centered around relationships referred to as Principles?
a. ACM Code of Ethics
b. Software Engineering Code of Ethics
c. IEEE Code of Ethics
d. All
e. Two above
f. none.
8.
Which is for online financial trading?
c.
Both.
d.
neither
9. Which
describes WWW?
a. it is
for information exchange more than distributed
computation.
b. it
was originally invented in
scientists.
c. it is
very secure and has central government control.
d.
two above.
e.
none above.
10 Which is
true about A.I.?
a. About making computers exhibit
intelligent behaviors more like humans.
b. mostly for numeric
computations.
c. Both.
d.
neither
11. Which is a disclosure
requirement of the Gramm-Leach-Bliley Act?
a. Privacy Policy
b. Right to
Opt-Out
c. Government
Surveillance
d.
all above.
e.
a and b above.
f.
a and c above.
12. Which principle guides
the ACM Code of Ethics?
a.
Equality and Human Well-being.
b.
Respect for others and Honesty.
c.
Tolerance.
d
All above.
e.
two above.
13. The
number of prime numbers between 0 and 1000 is roughly
a. 100
b. 170
c. 240
14.
Suppose that m is a positive prime integer and n is a positive integer
smaller than m.
In this case,
there is a positive integer q such that
a. n ** m =
q*m+1
b. n ** (m-1) = q*m+1
c. n ** (m-2) = q*m+1
d. none.
15. An
expert system is
a. a general problem solver for a variety of many different
domains.
b. a specialized problem solver for just one relatively narrow
domain.
c. a rather successful outgrowth of A. I. research.
d. all above.
e.
b and c above.
f.
none above.
16. Which
HTML tag is used to set up a pull-down menu of options?
a.
<select>
b.
<form>
c.
<input>
17. Which
applies to JavaScript code?
a.
it is case-sensitive.
b.
it can have function definitions to be called as event
handlers.
c.
function definitions must appear inside the <head> portion of an
HTML document.
d.
all above.
e.
none above.
18.
onClick = ”process()”
a.
above is an HTML attribute to call the specified function when an object
is clicked such as
an input button or an input checkbox.
b.
above is an HTML tag to call the specified function when the value of an
object such as
an input button or an input checkbox has been
changed.
c.
the specified
function is a predefined Javascript method rather than a user-defined
one.
d.
All above.
e.
two above.
f.
none above.
19.
Benefits of telecommuting include
a.
reduced overheads by employers.
b.
reduced rush-hour traffic congestion and energy
savings
c. lack
of immediate supervision possibly leading to higher productivity.
d.
all above.
e. two
above.
20.
A positive social impact of
computing includes
a.
E-Commerce, ,
E-trade, WWW and Distance Learning
b.
Information
globalization (through E-mail and webpages)
c.
Both.
d.
neither.
21.
A negative social
impact of computing includes
a.
Computer Crimes and
lack of government control over webpages
b.
Job elimination and
Internet pornography.
c.
Both.
d.
neither.
22.
Which is a desirable
factor affecting fair resolution of conflicts of interest?
a.
positively
seek real or perceived conflicts of interest.
b.
place
higher priority on public interest than on employers and on
oneself.
c.
Both.
d.
neither
23.
Efficacy is
a.
an extra power of
professionals with corresponding obligations as they can affect the welfare of
society for the
better or worse.
b.
an extra power of
professionals without corresponding obligations as they can affect the world we
live in only in positive ways.
c.
professional’s extra obligations to enhance the quality of life in
general.
24.
First Generation
computers
a.
include ENIAC and
Mark-I
b.
used vacuum tubes
c.
both.
d.
neither
25.
Second Generation
computers
a.
used integrated circuits invented by Bell Lab.
b.
were faster but less reliable than First Generation
computers
c.
both.
d. neither.
26.
According to Dr.
Myhrvold, which is supposed to changes by a factor of about 1,000,000 every
twenty
years?
a.
Computer price
alone
b.
Computer performance
level alone
c.
Performance/(Computer
Price) ratio.
d.
(Computer
Price)/Performance ratio.
PART-B.
Other Problems.
(40 points)
Do four problems.
A.
Briefly describe
evolutions of computer technology and/or application
developments.
B.
Give a definition of Privacy and also some aspects/elements of the
definition in no more than 8 lines.
C. In no
more than ten lines, compare deontology, utilitarianism and relativism in terms
of
1.
points of
emphases
2.
strengths and
weaknesses and
3.
your own
preference.
D.
Describe the Rabin-Miller algorithm.
And, give reasons why composites can escape the
test.
E. In no more
than 10 lines, compare three computing professional Codes of Ethics in terms
of
1.
structure
2.
underlying
principles, if any
3.
overall
strengths and weaknesses.
F. Describe
some factors to consider that affect (1) Professional Ethical decision making
and (2) abilities
for the fair resolution of conflicts of interest when
needed.