You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

4 months ago
  1. \item \lect Consider the domain $A=\{Maths, \;English, \;Biology, \;Physical \; Education\}$ and
  2. the two different symbolic encodings for $A$ given below.
  3. Which one gives a shorter characteristic function for the following sets?
  4. \begin{enumerate}
  5. \item $B = \{Maths, \; Biology\}$
  6. \item $C = \{English, \; Biology\}$
  7. \item $D = \{Maths, \;Physical \; Education\}$
  8. \end{enumerate}
  9. Illustrate your answer by giving the
  10. characteristic function for $B$, $C$ and $D$ in both encodings.
  11. \vspace{.5cm}
  12. %\begin{minipage}
  13. \begin{tabular}{l|l|l}
  14. \hline
  15. \multicolumn{3}{c}{\textbf{Encoding 1}} \\
  16. \hline
  17. Element & x & y \\
  18. \hline
  19. Maths & $0$ & $0$ \\
  20. English & $1$ & $0$ \\
  21. Biology & $0$ & $1$ \\
  22. Physical Education & $1$ & $1$
  23. \end{tabular}
  24. %\end{minipage}
  25. %\begin{minipage}
  26. \hspace{3cm}
  27. \begin{tabular}{l|l|l}
  28. \hline
  29. \multicolumn{3}{c}{\textbf{Encoding 2}} \\
  30. \hline
  31. Element & x & y \\
  32. \hline
  33. Maths & $0$ & $0$ \\
  34. English & $1$ & $0$ \\
  35. Biology & $1$ & $1$ \\
  36. Physical Education & $0$ & $1$
  37. \end{tabular}
  38. %\end{minipage}