Contact People Projects Teaching Papers Intranet


Sample Questions LTOOD

These questions will probably not appear literally on the exam.
Corollary: It is not sufficient to be able to answer these questions to pass the exam!

Java

  1. Task
    1. Write a java class called Book that has data members author and numberOfPages. Give the data members sensible types.
    2. Create a method isOpen that has no formal parameters and returns the proper datatype.
    3. Create two more methods "open" and "close" that actually save whether the book is open.
    4. Implement "isOpen" to return whether the book is actually open (as indicated by the user with the "open" and "close" methods).
  2. Task
    1. What is the difference between an interface and a class?
    2. How are abstract classes and interfaces similar? How are they different?
  3. Task: Which of the following are true?
    1. A subclass is a member of its superclass.
    2. A class can have multiple instances.
    3. Interfaces can have method implementations.
    4. C++ allows multiple inheritance.
    5. Java allows multiple inheritance.
  4. What is the difference between overloading and overriding?

Tools

  1. In which phases of the RUP would you use model-centric tools?
  2. In which fundamental way does a general-purpose drawing tools like Visio differ from an actual modeling tool?
  3. Where would the following entities appear in a Gantt diagram? Peter, write user manager, 10th of July.
  4. Explain why tools support is important to software development.
  5. Which different software development methodolgies do you know? Explain each briefly (1-2 sentences)
  6. Can project management tools and model-centric tools be used in paralell in software development? Why?
  7. Do you think that MDA will eventually enable you to create a software system without writing a single line of code? Give reasons.

© 2004 STS