[ Home | Lab | New Students | Courses | Research | Publications | Activities ]

Back to Courses and Activities of Local Interest

Back to CSC 691D Home


Homework 8 for CSC691D: Advanced Database Management

You are allowed to collaborate for this homework. Form teams of 1-3 students. Discuss the homework with your partners, but write your solutions independently. Each member of the team must work on every problem. Mention the names of your partners on your homework.

For the essay-type questions, please limit your answers to about 50 words (each).

  1. (10 points) True or False. If False, describe why it is False, or change the statement, as little as possible, to make it True. a) The OMG is chartered by the International Standards Organization. b) The Object Model defines all the Application Objects that might be needed in a heterogeneous system. c) Just a few large computer companies are represented in the OMG. d) In the Object Model, Objects are instances of Classes. e) Everything in the Object Model is an Object.
  2. (10 points) Define the following Types using the syntax of Soley and Kent SHIP is a Type that provides 2 Operations: i) Number_of_Sails (is an Integer) ii) Number_of_Engines (is an Integer) YACHT is a subtype of SHIP that provides 1 additional Operation: i) Number_of_Cabins (is an Integer)
  3. (5 points) Extend the definition of YACHT to support the operation Number_of_Beds (is an Integer) Assuming there are always 2 beds per cabin, define 2 Classes (YACHT-1 and YACHT-2) which implement YACHT, such that one Class implements Number_of_Beds, and one implements Number_of_Cabins.
  4. (10 points) For each CORBA interface X, the C++ mapping creates two classes, X_var and X_ptr. a) What are these? b) Why would you use each one?
  5. (10 points) There is no standard interface for factory objects. a) Why? b) Do you think this is reasonable?
  6. (20 points) Write a simple IDL interface to implement a 2 dimensional Grid (or Matrix) object,with fixed attributes Rows & Columns; and two operations, to set the value of a grid item, and get the value of a grid item.
  7. (10 points) In 50 words or less, describe IOR operation and explain how the ior provides interoperability across a domain boundary?

singh@ncsu.edu