Next: About this document ...
CISP457 Practice Midterm 2
Instructions:
You may bring any material that is handwritten or printed prior
to the examination to help you. You can also bring a calculator if you
think it may help you. However, you can only use the calculator for
numerical computations only. You cannot let your calculator
compile a program, or to communicate with others.
You, as an individual, are expected to do your own work. This means
you cannot seek, receive or otherwise acquire any assistance except
clarifications from the professor during an examination. Any communication
involving the contents of the subject matter or the examination is
considered cheating. Do not initiate or accept such communication,
or the result of your examination is automatically voided.
New rules, read this! As of 2003.09.22, I no longer deduct points
for wrong answers. Each correct answer is worth one point, each
wrong answer is worth zero point, and each unanswered question is also
worth zero point.
This means you should guess and leave no question
unanswered.
As a result, I also need to adjust the letter grade assignment break
points. For your individual examinuation, ``A'' means at least 94%,
``B'' means at least 74%, ``C'' means at least 54%, ``D'' means at
least 34% and ``F'' means below 34%. The break points for the final
grade are now 26.83%, 48.5%, 70.17% and 91.83% as minimums for
``D'', ``C'', ``B'' and ``A'', respectively.
Please note that this change does not affect your letter grade at all, it
is just a number game to make some people feel better about guessing.
Make sure you write down you name on the upper right corner first,
otherwise I cannot give points to anonymous students!
The baseline is 10, there are 12 questions.
- What is/are a difference/differences between the overlapped (RAD)
process model and the
layered (incremental) process model?
- Only one begins a design process before the analysis process is
complete for the entire information system.
- Only one demonstrates or delivers the system in stages.
- Only one delivers partial but tested and functional system in
stages.
- 1a and 1b
- 1a and 1c
- What is an advantage of the ``Strictly sequential'' (waterfall) process
model when compared to either the overlapped (RAD) process model and the
layered (incremental) process model?
- the ``strictly sequential'' process model shortens the time to
deliver some functional section of the whole system
- the ``strictly sequential'' process model provides more immediate
feedback to the client
- the ``strictly sequential'' process model generates less
version tracking hassle with documents
- none of the other choices is an advantage of
the ``strictly sequential'' process model
- the ``strictly sequential'' process model catches problems earlier
- What is the maximum number of rows when a decision table has four
independent condition?
- 4
- 8
- 12
- 16
- 256
- In the following state diagram, what triggers must have occurred if
an object starts with the initial state and ends up at the
final state?
- only t1 and t2
- only t1 and t4
- only t2 and t3
- only t1, t3 and t4
- only t1, t2 and t4
- In order to represent the following pseudocode logic, how many diamonds
are needed in the equivalent flowchart?
- 0
- 1
- 2
- 3
- 4
- According to the following pseudocode,
what is printed when has a value of 37?
- "me"
- "me" "fa"
- "me" "fa" "so"
- it is not clear from the pseudocode
- the pseudocode prints something other than the available choices
- Observe the following class diagram. Which class or classes possess
(though may not be able to access) the attribute ``office''?
- faculty
- ft_faculty
- pt_faculty
- faculty and ft_facuty
- all of the classes possess the attribute ``office''
- Assuming every person can marry one other person or remain unmarried, and
a marriage_lic object tracks a current marriage, what should be the
multiplicities associated with the ``person'' side and ``marriage_lic''
side of the association? Note that a divorce deletes a marriage_lic
object, as does the death of one spouse in a marriage.
For the purpose of this question (and only this question), assume the
notations ``2'', ``1..2'' and ``0..2'' are also allowed.
- ``2'' and ``1''
- ``2'' and ''0..1''
- ``1'' and ``2''
- ``1'' and ``0..1''
- ``1'' and ``0..2''
- A ``store'' object represents a store, a ``stock_rec'' object represents
the record of a particular merchandise, a ``SKU'' object represents
information of a particular kind of merchandise. The class diagram is
illustrated as follows.
When does a ``store'' object deleted?
- when all ``stock_rec'' objects are deleted
- when all ``SKU'' objects are deleted
- when all ``stock_rec'' objects and all ``SKU'' objects are deleted
- when all ``stock_rec'' objects associated with it are deleted
- none of the above determines when a ``store'' object is deleted
- According to the following diagram, what happens when a
``CHP'' object is deleted?
- a separate object of class ``Officer'' is deleted
- all ticket objects associated with the ``CHP'' object is deleted
- all ticket objects are deleted
- a separate object of class ``Sheriff'' is deleted
- the diagram does not confirm any of the other choices
Next: About this document ...
Tak Auyeung
2003-11-03