Docsity

CMSC 433 Final Exam Topics: Java, Concurrency, Sockets, Security, and Garbage Collection, Exams of Computer Science

Partial preview of the text

Download CMSC 433 Final Exam Topics: Java, Concurrency, Sockets, Security, and Garbage Collection and more Exams Computer Science in PDF only on Docsity!

CMSC 433

final exam topics

Topics (since midterm)

  • Java Generics
    • including Set<? extends Foo> and Set<? super Foo>
  • Threads and concurrency
  • A note on distributed computing
  • Sockets
  • Security
  • Garbage Collection (but not references)

Testing concurency

  • using the metronome timer
    • don't need to remember details of API, just be able to design test cases

Concurrency utilities

  • ConcurrentHashMap
    • how is this different from a synchronized hash map?
  • BlockingQueues
  • Executors
  • Futures
  • Locks and Conditions

Sockets and I/O

  • Server sockets
  • IP addresses
  • ports
  • Input/Output streams
  • Object serialization

Security

  • Buffer overflows
  • format strings
  • Insecure randomness
  • SQL injection
  • Cross-site scripting

Earlier stuff

  • UML
  • Design patterns:
    • Abstract and Static Factory
    • Bridge
    • Observer
    • Iterator
    • Decorator
    • Singleton
    • Visitor