Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Which of the following patterns describes a precise way to write code? a) Abs

ID: 3574311 • Letter: 1

Question

1. Which of the following patterns describes a precise way to write code?
a) Abstraction-occurrence
b) Delegation
c) Pipe-and-filter
d) Singleton
e) More than one of the above


2. In user interface design, the word ‘affordance’ means?
a) The set of tasks the user knows how to do
b) The set of features the customer has the money to pay for
c) The set of capabilities that a particular screen or dialog allows the user to do
d) The set of guidelines the user interface designer should follow in user-centered design
e) None of the above


3. Which of the following is true?
a) Most testing is done top-down
b) Big-bang testing is best because it gives results faster.
c) Most testing is done using a hybrid between top-down and bottom-up.
d) It is not worth doing bottom-up testing because it requires writing a lot of drivers.
e) Bottom-up testing means testing the user interface first.


4. Common coupling is named from:
a) The term used in Cobol for calling a procedure
b) Organizing all similar entities into one common location
c) The fact that it is the most frequent type of coupling
d) The term used in Fortran for global variables
e) An approach where the code is owned by everybody (i.e. ‘in common’)


5. Which of the following is not part of the software engineering code of ethics?
a) Participate in lifelong learning
b) Act consistently with the public interest
c) Maintain integrity and independence
d) Do what your management tells you to do
e) Be fair and supportive of colleagues

Explanation / Answer

1. Which of the following patterns describes a precise way to write code?

e) More than one of the above

2. In user interface design, the word ‘affordance’ means?

a) The set of tasks the user knows how to do

3. Which of the following is true?

d) It is not worth doing bottom-up testing because it requires writing a lot of drivers.

4. Common coupling is named from:

b) Organizing all similar entities into one common location

5. Which of the following is not part of the software engineering code of ethics?

d) Do what your management tells you to do