« previous section    next section »


Exercises

  1. Construct the logical matrices for the following propositional formulas:

  2. Determine all other logical functors using Sheffer's disjunction |.
    (def.:1|1= 0, 1|0 = 0|1= 0|0 = 1)

  3. Analyse the following propositions and answer, if John is or is not a rock singer.

  4. Which of the rules of inference is applied in the following reasoning:
    "If you know that you are dead, then you have died; If you know that you are dead, then you may not have died.
    Therefore, you do not know if you are dead".

  5. Check, which of the following formulas is a tautology of the propositional calculus (apply the zero-one method and the apagogic method)

  6. Point out the laws of the propositional calculus and the rules of inference applied in the proof of the theorem: for any sets A, B, C, holds A ∩ (B\C) = (A ∩ B)\C.

  7. Write down the proposition which is true if and only if exactly one of the three sentences p, q, r is true.

  8. Find the shortest form for the following instructions:
  9. Are the following instructions equivalent?
    'if α then P else Q fi;'    and    'if α then P fi; if not α then Q fi;'

  10. Is the following reasoning true: if (α → β) is a tautology and the instruction 'while α do P od' does not loop for ever, then 'while β do P od' does not loop for ever too.

 
« previous section   next section »