Unformatted text preview:

Object-Oriented Software Engineering (CSc432) Post-test QuestionsObject-Oriented Software Engineering (CSc432) http://www.eecs.lehigh.edu/~glennbProfessor Glenn D. Blank Fall 2000Object-Oriented Software Engineering (CSc432)Post-test Questions Last Name: _____________ First Name: ___________E-mail:_____________________The questions below are to determine your current level of knowledge. These questions do not represent a comprehensive overview of the course. Do not hesitate to select "I don't know" if you don't know an answer. Your responses will not affect your grade.1) C++ is:a) An easy to understand programming language.b) A low-level language for machine execution.c) A high-level language for solving problems.d) I don't know.2) A "waterfall" model:a) Encourages a predictable non-cyclical order of development.b) Encourages an iterative, incremental approach to development.c) Encourages rapid development of working code.d) I don't know.3) A use case is:a) A way of specifying the use of a system.b) A set of scenarios describing how actors interact with a system.c) A method that facilitates the design of classes.d) I don't know.4) Dynamic binding:a) Determines the type of a class at compile time.b) Determines which function to run at run time.c) A set of data members and functions.d) I don't know.6) Abstract data types are:a) Always built into C++ and other high level languages.b) The same thing as classes in C++.c) Formal descriptions that one can implement as classes in C++.e) I don't know.7) Information hiding:a) Hides implementation details from the supplier of a class.b) Keeps all functions or behaviors of a class private.c) Separates public interface from private implementation.d) I don't know.8) Inheritance or class derivation:a) Usually models subtype relationships.b) Usually models whole-part relationships.c) Usually models client-supplier relationships.d) I don't know.9) Assertions:a) Facilitate compile-time checking for program correctness.b) Facilitate run-time enforcement of client-supplier contracts.c) Facilitate documentation of user requirements during analysis.d) I don't know.Page 1 of 3Object-Oriented Software Engineering (CSc432) http://www.eecs.lehigh.edu/~glennbProfessor Glenn D. Blank Fall 200010) Object-oriented software engineering:a) Relies on top-down decomposition.b) Requires the use of the Unified Modeling Language.c) Promotes continuity of representation from analysis to design to implementation.d) I don't know.11) UML is usually associated with:a) A waterfall life cycle.b) An spiral life cycle.c) An incremental and iterative life cycle.d) I don’t know.12) After creating a set of CRC cards, what is the next step?a) You're done.b) Implement and test the program.c) Run simulations using the cards.d) I don’t know.13) The editor with undo/redo problem:a) Can be modeled as a finite state machine with inheritance and dynamic binding.b) Can be solved using the Command design pattern without inheritance.c) Can be solved using the Command design pattern and dynamic binding.d) I don’t know. 14) Virtual inheritance means that:a) All the member functions of a class support dynamic binding.b) Subclasses share a common base class part for each inheritance path.c) Subclasses distinguish the base class part for each inheritance path.d) I don’t know.15) What does the signature Digit(N) -/-> D imply?a) Given a number N, the constructor will always produce a digit D.b) Given a number N, the constructor will sometimes produce a digit D.</li>c) The constructor Digit(N) has no preconditions.d) I don’t know.16) What does the postcondition front(q) = head(q)imply?a) The front of q and the head of q are equal in value.b) The head of q gets assigned to the front of q.c) The meaning of front(q) is defined by head(q) of ADT List.d) I don’t know.17) The Standard Template Library:a) Supports the Iterator design pattern.b) Supports function templates.c) Has been incorporated in the Java Development Kit.d) I don’t know.18) Casting from one type to another:a) Works in C++ but not in Java.b) Works the same way in Java and C++.c) Works differently in Java and C++, since Java performs run-time checking.d) I don’t know.19) Down-casting:a) Should be made explicit in C++ as a static_cast.b) Should be avoided because it leads to switch statements testing for type.Page 2 of 3Object-Oriented Software Engineering (CSc432) http://www.eecs.lehigh.edu/~glennbProfessor Glenn D. Blank Fall 2000c) Is prohibited in Java since it violates strong typing.d) I don’t know.20) A Java Bean:a) Models persistence by implementing a serializable interface.b) Can be implemented without Java programming.c) Requires the use of a bean box for development via visual manipulation.d) I don’t know.Page 3 of


View Full Document

LEHIGH CSE 432 - Post-test Questions

Download Post-test Questions
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Post-test Questions and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Post-test Questions 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?