« previous section    next section »



Exercises
 
  1. Let r be a binary relation in P(X) for some nonempty set X, such that
    A r B iff A ∪ B = B
  2. Prove that if <X, r> is a partially ordered set, then <X,r-1> is partially ordered. Could we stated the same
  3. Give an example of a partially ordered set which has For each of the examples, draw the Hasse diagram.

  4. Prove that the relation r (produt ordering) defined in the product X × Y of two partially ordered sets <X, ≤1>, <Y, ≤2 > by
    (x,y) r (x',y') wttw x ≤1x' and y ≤2 y' is a partial ordering relation.
  5. Prove that the lexicographical order in N3 is a linear order.

  6. Consider the set R ordered by the relation ≤.

  7. Let E(N) be the set of all subsets of N that has the even number of elements and let ⊆ be partial ordering relation in it.
  8.  
  9. Range the following words in the lexicographical order: rola, kopa, pora, para, kara, poza, koza, ropa. Try to generalised your method of solving the problem in the form of algorithms that work correctly on any sequence od 4-letters words.
     
  10. On the rectangular notice-board sized n x m there are k rectangular posters, where n, m are natural numbers. Unfortunately, some of them are partially covered by others. Construct the algorithm that allows to establish which of the posters are totally visible. We assume that the position of the left-up corner of every poster is known, the length of sides are integres and the posters are placed parallely to the sides of the notice-board.
« previous section    next section »