t> MAPLE QUIZ #1
b> 
t> The following quiz consists of four multiple choice questions and four
t> which require you to type in Maple code. The subject matter is drawn
t> from chapters 1 through 4 of this tutorial.
b>
c2>
q> Multiple Choice #1:
b>
q> Which of the following Maple expressions automatically evaluates to a
q> value that is a numerical approximation of its exact value?
b>
q> a) Pi;
q> b) 3/4+5/9;
q> c) -2.54*6.78;
q> d) 7/3*exp(2.4);
a> d
x> 7/3*exp(2.4);
b>
c2>
q> Multiple Choice #2:
b>
q> Which of the following Maple expressions does *not* evaluate to a valid 
q> Maple name?
b>
q> a) `Hi there`;
q> b) %of_profit;
q> c) temp.variable;
q> d) `W.`.`Shakespeare`;
a> b
q> %of_profit needs backward quotes around it to evaluate to a valid Maple 
q> name.
b>
c2>
q> Multiple Choice #3:
b>
q> Which of the following Maple expressions produces the expression 
q> sequence: 1, 4, 9, 16, 25?
b>
q> a) n^2$i=1..5;
q> b) (1,2,3,4,5)^2;
q> c) seq(base^2, base=1..5);
q> d) $1..25;
a> c
x> seq(base^2, base=1..5);
h> i := 'i';
b>
c2>
q> Multiple Choice #4:
b>
q> Which one of the following Maple expressions is not equivalent to the set
q> {1,2,3,4}?
b>
q> a) {1,2,3} union {2,3,4};
q> b) {4,2,3,1,2,3,4,2,3,1,2,4,2};
q> c) {2,3,4,1,5} minus {6,8,4,5};
q> d) {1,2,3,2*2};
a> c
x> {2,3,4,1,5} minus {6,8,4,5};
b>
c2>
q> Extra Question #1:
b>
q> Calculate with Maple the exact sum of the reciprocals of the first five
q> natural numbers (i.e., 1 through 5).
a> 1/1+1/2+1/3+1/4+1/5;
b>
c2>
q> Extra Question #2:
b>
q> Enter a Maple expression that shows *numerically* how much greater the
q> fraction 22/7 is than 157/50.
a> 22/7.-157/50;
b>
c2>
q> Extra Question #3:
b>
q> Files in the Maple library are often saved under the name procedure.m, where
q> procedure is the library function name and .m is a file extension. Express 
q> how the filename for the "diff" procedure would be written within Maple 
q> itself.
a> `diff.m`;
b>
c2>
q> Extra Question #4:
b>
q> Use the set brackets {}, the concatenation operator, and the seq command
q> together to create a set containing elements x1, x2, ..., x10.
a> {seq(x.i, i=1..10)};
h> i := 'i';
b>
eoq>
eof>


