CISP457 Practice Final
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, 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.
Each correct answer is worth one point, each
wrong answer is worth -0.25 point, and each unanswered question is
worth zero point.
Make sure you write down you name on the upper right corner first,
otherwise I cannot give points to anonymous students!
- Who is responsible to maintain the daily operation of a computer
information system?
- a systems analyst
- a systems administrator
- a programmer
- a technical writer
- a test engineer
- What does the client know?
- domain specific knowledge
- how to write systems specification documents
- how to write test plans
- how to write programs
- how to write end-user documents
- Which of the following is a financial requirement?
- the system has the capacity for 40% growth
- the system be safe from viruses and worms
- the total development cost be no more than $1,200,000
- the final stage be delivered no later than July 23, 2006
- the daily downtime be no more than 10 minutes
-
In this use case diagram, which of the following statement is true?
- Customer generalizes Premium Customer
- Req Live Support specializes Req Email Support
- Req Live Support generalizes Req Email Support
- Premium Customer generalizes Customer
- Both 4a and 4c
- What is the purpose of a use case diagram?
- to document the logic of system behavior
- to document how classes relate
- to document external agents and how they see the system
- to document non-functional requirements
- to document an example system interaction sequence
- Explain why ``request spell check'' is not a use case in a system
designed for web logging (blogging).
- it is not complete (an article must have been written first)
- it does not serve any value
- it does not involve an actor
- it is not complete and it does not serve any value
- it is not complete, does not serve any value, and does not involve
an actor
- Which of the following cannot an element in a sequence diagram?
- an object
- a call message/stimulus
- a reply message/stimulus
- a dispatch action
- all of the above are (possible) elements in a sequence diagram
- Which of the following can be an actor in a use case diagram?
- Brad Pitt
- producer
- movie
- rate movie
- none of the above is suitable as an actor in a use case diagram
- Which of the following can be a use case in a use case diagram?
- Brad Pitt
- producer
- movie
- rate movie
- none of the above is suitable as an actor in a use case diagram
- The client says ``an expert user is a user, except that an expert user
can ... in addition to what a user can do.''
What is the relationship between the actor ``user'' and the actor
``expert user''? (Hint: think of what relationships are allowed between
actors.)
- ``user'' generalizes ``expert user''
- ``user'' includes ``expert user''
- ``expert user'' includes ``user''
- ``expert user'' generalizes ``user''
- ``expert user'' extends ``user''
- Which of the following cost is unlikely to be a cost component after
the development phase is completed?
- cost of system upgrade
- salary of systems administrators
- salary of programmers
- cost of internet service provider (for an online system)
- cost annual maintenence contracts
- Observe the following cumulative cost chart:
Which of the following is true?
- System A is always less expensive than system B
- System B is always less expensive than system A
- System B does not start saving money until about month 45
- System A does not start saving money until about month 45
- None of the above is true
- Which part of the following flowchart is potentially repetitive?
- operation1
- operation2
- operation1 and operation2
- operation1 and the condition check
- operation2 and the condition check
- In the following decision table, which action(s) is/are taken when
C1 is true, C2 is false and C3 is true?
C1 |
C2 |
C3 |
A1 |
A2 |
A3 |
T |
T |
T |
X |
X |
X |
T |
T |
F |
|
X |
|
T |
F |
T |
X |
X |
|
T |
F |
F |
X |
X |
X |
F |
T |
T |
|
X |
X |
F |
T |
F |
X |
X |
|
F |
F |
T |
|
X |
X |
F |
F |
F |
X |
X |
|
- only A1
- only A1 and A3
- only A1 and A2
- only A2 and A3
- only A3
- We need to express the logic/process to validate a credit card transaction.
Which type of diagram is appropriate for this purpose?
- state diagram
- activity diagram
- use case diagram
- class diagram
- sequence diagram
- In the following state diagram, what happens when the user
clicks the ``start'' button when the timer is still in
``idle'' state?
- nothing happens
- the timer jumps from the ``idle'' state to the ``count down'' state
- the timer transitions from the ``idle'' state to the
``time set'' state
- the timer jumps to the final state
- the timer restarts from the initial state
- Despite the fact that activity diagrams are not ``structured'' like
decision trees, decision tables and pseudocode, what is a strong point
of activity diagrams that makes it unique?
- ability to express data flow
- ability to express parallel threads
- ability to express loops
- ability to interleave decisions and actions
- the combination of all of the above
- The aggregation relationship can be used in which type of diagrams?
- class diagram
- use case diagram
- sequence diagram
- activity diagram
- state diagram
- Which diagram describes how the deletion of an object of a class may
trigger the deletion of an object of another class?
- class diagram
- use case diagram
- sequence diagram
- activity diagram
- state diagram
- Each transition coming out of a decision state in an activity diagram must
have...
- a trigger specified
- a guard condition specified
- an action specified
- a trigger and a guard condition specified
- a trigger and an action specified
- We need to modify the ``feel-and-look'' of a system.
For example, a numeric field in an user interface may be enhanced to
only allow digits at data-entry time. What classes will
be modified? (Note that a modification may necessitate everything
be changed, I am just asking which ones needs to be changed.)
- Boundary classes
- Control classes
- Data classes
- Control classes and Data classes
- Boundary classes and Data classes
- We are given some tables, and we know that the column
someID
is used as a primary key in one table, while it is
used as a foreign key in the others. Which table uses
someID
as a primary key?
This is table1:
someID |
colA |
colB |
143 |
Tony |
Smith |
3511 |
Jane |
White |
23 |
Pat |
Peterson |
782 |
Kenny |
Lee |
This is table2:
someID |
colC |
143 |
1582 |
143 |
2328 |
3511 |
3849 |
23 |
48293 |
This is table3:
someID |
colD |
143 |
5928 |
3511 |
99832 |
23 |
37293 |
23 |
23212 |
- table1
- table2
- table3
- table1 and table2
- all three tables use ``someID'' as a primary key
- If a table/class does not conform to the second normal form, what is
one of the potential problems?
- difficult to search
- difficult to query (resulting in long and complex queries)
- consumes more storage than necessary
- requires too many supporting tables
- easy to make mistakes in queries
- The following table does not confirm to which normal form?
ID |
FirstName |
LastName |
Phone1 |
Phone2 |
2384 |
Tak |
Auyeung |
555-5555 |
|
93022 |
Damon |
Antos |
123-4556 |
283-2839 |
49208 |
Dave |
Fox |
987-6543 |
|
- first normal form
- second normal form
- third normal form
- all of the above (yes, this is the correct answer!)
- none of the above, this class conforms to all three
normal forms.
Copyright © 2005-05-16 by Tak Auyeung