CIS 573 - Quiz 2 Study Guide

Not all questions have been covered yet; they will be removed if not covered.

Last modified 08/07/2006

Please remember that quizzes are cumulative (this quiz may also contain questions from previous material).

 
  1. what is a .CSV file?

  2.  
  3. what is SQL?
     
  4. what is a scraper (in programming vernacular), and how is it different from a bot?

  5.  
  6. What refactorings are offered automatically in VS.NET 2005? (I believe there are 7 of them, and that they are similar to those offered for Java by IBM's Eclipse IDE).

  7.  
  8. When does Martin Fowler think you should refactor? In what situation(s) does he think you should not refactor? What are some example of what Fowler calls "bad smells in code"?

  9.  
  10. Name several types of unmanaged resources that a programmer should explicitly close, or "dispose of", if used within a .NET program.

  11.  
  12. Understand the concepts of garbage collection in the CLR from slides in class, and from assigned readings, in particular as regards deterministic finalization.

  13.  
  14. In what situation is the .NET garbage collector guaranteed to run?
     
  15. How many generations are handled by the .NET garbage collector?
     
  16. What is the difference in the heap and the stack? In other words, what is a reference type in C#? In terms of memory usage, what part of memory do all threads have in common, and what part does each thread have that is separate from all other threads? In other words, what is thread local storage?

  17.  
  18. The GUI (main form) of a Windows application runs as a foreground thread. A worker thread, when launched from the main form, runs as a background thread. What is the advantage of worker threads running in the background rather than the foreground? (HINT: Think about what happens to the worker thread if the main form shuts down before the worker thread has finished its work.)
     
  19. (questions on security lecture will also be included)
     

 Visitors:  Hit Counter