t> MAPLE QUIZ #2
b> 
t> The following quiz consists of four multiple choice questions and three 
t> which require you to type in Maple code. The subject matter is drawn
t> from chapters 6 through 9 of this tutorial.
b>
c2>
q> Multiple Choice #1:
b>
q> Which of the following is the correct syntax for calling the firstpart 
q> command of the combinat package at the very beginning of a Maple session?
b>
q> a) firstpart(4);
q> b) firstpart[combinat](4);
q> c) combinat(firstpart)[4];
q> d) combinat[firstpart](4);
b>
a> d
x> combinat[firstpart](4);
b>
c2>
q> Multiple Choice #2:
b>
q> Which of the following Maple expressions will *not* produce the Maple 
q> string: It's my party! 
b>
q> a) `It''s my party`.`!`;
q> b) `It`.`'s`.` my party!`;
q> c) `It's my party!`;
q> d) `It's`.` my`. ` party!`;
b>
a> a
x> `It''s my party`.`!`;
b>
c2>
q> Multiple Choice #3:
b>
q> Which of the following Maple commands does *not* return an answer of "true"
q> or "false"?
b>
q> a) hastype
q> b) type
q> c) whattype
q> d) has
b>
a> c
x> whattype({1,2,3,4,5,6});
b>
c2>
q> Multiple Choice #4:
b>
q> Can you tell by eye what is the second operand of the third operand of
q> Pi*x^2+3+y^4*x^3-5/7 ?
b>
q> a) 3
q> b) 7
q> c) x^3
q> d) 4;
b>
a> c
x> op(2, op(3, Pi*x^2+3+y^4*x^3-5/7));
b>
c2>
q> Extra Question #1:
b>
q> Using the assignment and equation operators, find the general solution for
q> x, y, and z given the set of equations {x+y+z=6,x+y-z=0,x-y+z=2} and assign
q> the result to the variable forxyz. 
a> forxyz := solve({x+y+z=6,x+y-z=0,x-y+z=2}, {x,y,z});
b>
c2>
q> Extra Question #2:
b>
q> What Maple expression would produce the string `my string` ? (Hint: we want
q> the back quotes to appear in the string itself.)
a> ```my string```;
b>
c2>
q> Extra Question #3:
b>
q> Use the op command to determine the coefficient of the second term of the
q> result of the command expand((x+3)^6).
a> op(1, op(2, expand((x+3)^6)));
b>
eoq>
eof>


