470,833 Members | 1,373 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

Data Strct & Algorithm Analysis - Review Anwsers Please

I am stuck on a few open-book multiple choice questions for this
class. I have answers, but I can not back them up. Any insight would
be helpful, a link to read, or just hey dummy you are wrong. thanks
A(n) ______ is another way of writing a logarithmic equation.

a. exponetial equation
b. instruction function
c. time complexity (MY CHOICE)
d. linear equation
e. none of the above

The result of a logarithm is a(n)__________

a. instruction
b. exponent
c. base
d. variable (namely, n) (MY CHOICE)
e. none of the above

The public section of a class is also referred to as the _______

a. class interface
b. maintenance area
c. data member function
d. class implementation
e. none of the above (MY CHOICE)
Jun 27 '08 #1
4 1939
yogi_bear_79 schrieb:
I am stuck on a few open-book multiple choice questions for this
class. I have answers, but I can not back them up. Any insight would
be helpful, a link to read, or just hey dummy you are wrong. thanks
A(n) ______ is another way of writing a logarithmic equation.

c. time complexity (MY CHOICE)
Wrong.
The result of a logarithm is a(n)__________

d. variable (namely, n) (MY CHOICE)
Wrong.
The public section of a class is also referred to as the _______

e. none of the above (MY CHOICE)
Wrong.

I can't find a C++ question in this. Are you sure that you posted this
to the right newsgroup?

--
Thomas
Jun 27 '08 #2
Thomas J. Gritzan wrote:
yogi_bear_79 schrieb:
>The public section of a class is also referred to as the _______

e. none of the above (MY CHOICE)

Wrong.

I can't find a C++ question in this. Are you sure that you posted this
to the right newsgroup?
Well the last one was...

--
Ian Collins.
Jun 27 '08 #3
I can't find a C++ question in this. Are you sure that you posted this
to the right newsgroup?

--
Thomas

Well the class is billed as an advanced C++ class. The book in
questions is "Data Strutcures and Algorithm Analysis in C++" ISBN:
0-321-44146-X
Jun 27 '08 #4
yogi_bear_79 wrote:
A(n) ______ is another way of writing a logarithmic equation.

a. exponetial equation
b. instruction function
c. time complexity (MY CHOICE)
d. linear equation
e. none of the above
This almost sounds like a trick question to me. I think "a way of
writing a logarithmic equation" is too vague of an expression. I'm not
at all sure what is it really that it's trying to say. (OTOH, I'm not a
native speaker.)

I'd answer e.
The result of a logarithm is a(n)__________

a. instruction
b. exponent
c. base
d. variable (namely, n) (MY CHOICE)
e. none of the above
A logarithm is a function taking a real number as parameter (a
floating point number if we are talking about programming) and which
returns the same type of value.

Yet also this looks almost like a trick question. In theory you could
argue that the logarithm returns an exponent (because, for example,
log10(10^y) = y, which is the "exponent"), but that may be quite
far-fetched. I'd still answer e.
The public section of a class is also referred to as the _______

a. class interface
b. maintenance area
c. data member function
d. class implementation
e. none of the above (MY CHOICE)
a is the correct answer. (Just a question of terminology.)
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

43 posts views Thread by Steven T. Hatton | last post: by
4 posts views Thread by yogi_bear_79 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.