DSL sample midterm