Navigate to list of lectures   Alphabetic index   Course home   

Object-oriented Programming in C#

Introduction to Object-oriented ProgrammingExercise 1.1How did you program the Hangman game?
 Exercise 1.2Aggregated Concepts
 Exercise 1.3Concepts and Phenomena
 Exercise 1.4University Concepts
Introduction to C#Exercise 2.1Exploring the type Char
 Exercise 2.2Hexadecimal numbers
 Exercise 2.3ECTS Grades
 Exercise 2.4Use of Enumeration types
 Exercise 2.5Use of array types
 Exercise 2.6Use of string types
Classes and ObjectsExercise 3.1Yahtzee
 Exercise 3.2Time Classes
 Exercise 3.3Public data representation
 Exercise 3.4How private are private instance variables?
 Exercise 3.5The method LogTransaction in class BankAccount
 Exercise 3.6Course and Project classes
 Exercise 3.7Sharing the Random Generator
Reference types, Value types, and Patterns Exercise 4.1Equality of value types and reference types
 Exercise 4.2Are playing cards and dice immutable?
 Exercise 4.3Privacy Leaks
 Exercise 4.4Mutable and immutable Point objects with Move methods
 Exercise 4.5Pyramid BankAccounts
Data Access, Properties, and MethodsExercise 5.1A funny BankAccount
 Exercise 5.2Point setters
 Exercise 5.3Passing references as ref parameters
 Exercise 5.4Passing struct values as ref parameters
 Exercise 5.5Extending struct Double
Operators, Delegates, and EventsExercise 6.1Interval indexer
 Exercise 6.2An interval overlap operation
 Exercise 6.3Finding and sorting elements in an array
 Exercise 6.4How local are local variables and formal parameters?
 Exercise 6.5Additional Die events
Specialization, Extension, and InheritanceExercise 7.1Polygons, Quadrangles and Squares
 Exercise 7.2Point3D: A client or a subclass of Point2D?
 Exercise 7.3Private Visibility and inheritance
 Exercise 7.4Internal Visibility
 Exercise 7.5A subclass of LotteryAccount
 Exercise 7.6Casting of BankAccounts
 Exercise 7.7Static and dynamic types
 Exercise 7.8Non-virtual variables - Virtual Methods
Abstract classes, Interfaces, and PatternsExercise 8.1Parameter variance
 Exercise 8.2A specialization of Stack
 Exercise 8.3Course and Project classes
 Exercise 8.4The interface ITaxable
 Exercise 8.5An abstract GameObject class
 Exercise 8.6Comparable Dice
Exception HandlingExercise 9.1Exceptions in Convert.ToDouble
 Exercise 9.2Exceptions in class Stack
 Exercise 9.3More exceptions in class Stack
 Exercise 9.4Revealing the propagation of exceptions
Input and Output ClassesExercise 10.1A variant of the file copy program
 Exercise 10.2Finding the encoding of a given text file
 Exercise 10.3Die tossing - writing to text file
 Exercise 10.4Die tossing - writing to a binary file
 Exercise 10.5Serializing one of your own classes
 Exercise 10.6Serializing with an XML formatter
Generic Types and MethodsExercise 11.1Intersection, union, and difference: Operations on sets
 Exercise 11.2An element access operation on sets
 Exercise 11.3A generic Pair class
 Exercise 11.4Comparable Pairs
Collection ClassesExercise 12.1Shuffle List
 Exercise 12.2Course and Project classes
 Exercise 12.3Switching from Dictionary to SortedDictionary
 Exercise 12.4Explicit use of iterator - instead of using foreach
 Exercise 12.5Using multiple interators
 Exercise 12.6The iterator behind a yield
 Exercise 12.7Infinite Collections of Integers
Test of Object-oriented ProgramsExercise 14.1Cyclomatic complexity of GCD
 Exercise 14.2Install Nunit
 Exercise 14.3Give Nunit a Try
 Exercise 14.4Test of class Set
 Exercise 14.5Unit test of struct Interval
Documentation of Object-oriented ProgramsExercise 15.1Install Doxygen
 Exercise 15.2Give Doxygen a Try
 Exercise 15.3Documentation of class Set
An Introduction to LINQExercise 16.1List og Linq?

Possible solutions can be found on the lecture specific exercise page (first column)

Generated: Monday February 7, 2011, 12:25:20