Test GR2: Różnice pomiędzy wersjami
Z Studia Informatyczne
Przejdź do nawigacjiPrzejdź do wyszukiwania
Nie podano opisu zmian |
Nie podano opisu zmian |
||
Linia 52: | Linia 52: | ||
! <math>\textnormal{p}</math>!! <math>\textnormal{q}</math>!! <math>\textnormal{p} \wedge \textnormal{q}</math>!! <math>\neg( p \wedge q)</math>!! <math>\neg p</math>!! <math>\neg q</math>!! <math>\neg p \vee \neg q</math> | ! <math>\textnormal{p}</math>!! <math>\textnormal{q}</math>!! <math>\textnormal{p} \wedge \textnormal{q}</math>!! <math>\neg( p \wedge q)</math>!! <math>\neg p</math>!! <math>\neg q</math>!! <math>\neg p \vee \neg q</math> | ||
|- | |- | ||
| 0|| 0|| 0|| 1|| 1|| 1|| 1 | | 0 || 0 || 0|| 1|| 1|| 1|| 1 | ||
|- | |- | ||
| 0|| 1|| 0|| 1|| 1|| 0|| 1 | | 0 || 1 || 0|| 1|| 1|| 0|| 1 | ||
|- | |- | ||
| 1|| 0|| 0|| 1|| 0|| 1|| 1 | | 1 || 0 || 0|| 1|| 0|| 1|| 1 | ||
|- | |- | ||
| 1|| 1|| 1|| 0|| 0|| 0|| 0 | | 1 || 1 || 1|| 0|| 0|| 0|| 0 | ||
|} | |||
{| border="1" | |||
! <math>\textnormal{p}</math>!! <math>\textnormal{q}</math>!! <math>\textnormal{r}</math>!!<math>(\textnormal{p} \wedge \textnormal{q})</math>!! <math>( p \wedge r)</math>!! <math>( q \wedge \neg r)</math>!! <math>(p \wedge r) \vee (q \wedge \neg r)</math>!! <math>(p \wedge q) \Rightarrow ((p \wedge r) \vee (q \wedge \neg r))</math> | |||
|- | |||
| 0|| 0|| 0|| 0|| 0|| 0|| 0|| 1 | |||
|- | |||
| 0|| 0|| 1|| 0|| 0|| 0|| 0|| 1 | |||
|- | |||
| 0|| 1|| 0|| 0|| 0|| 1|| 1|| 1 | |||
|- | |||
| 0|| 1|| 1|| 0|| 0|| 0|| 0|| 1 | |||
|- | |||
| 1|| 0|| 0|| 0|| 0|| 0|| 0|| 1 | |||
|- | |||
| 1|| 0|| 1|| 0|| 1|| 0|| 1|| 1 | |||
|- | |||
| 1|| 1|| 0|| 1|| 0|| 1|| 1|| 1 | |||
|- | |||
| 1|| 1|| 1|| 1|| 1|| 0|| 1|| 1 | |||
|} | |} |
Wersja z 16:56, 4 sie 2006
Złożoność czasowa | Złożoność pamięciowa | |
---|---|---|
Maszyna dodająca | ||
Maszyna rozpoznająca |
0 | 1 | ... | ... | |
---|---|---|---|---|
Cell1 | Cell2 |
0 | 1 | ||
---|---|---|---|
0 | 1 | 1 | |
1 | 0 | 1 |
0 | 1 | |
1 | 0 |
0 | 1 | ||
---|---|---|---|
0 | 0 | 0 | |
1 | 0 | 1 |
0 | 1 | ||
---|---|---|---|
0 | 0 | 1 | |
1 | 1 | 1 |
Parser nie mógł rozpoznać (błąd składni): {\displaystyle \textnormal{p}} | Parser nie mógł rozpoznać (błąd składni): {\displaystyle \textnormal{q}} | Parser nie mógł rozpoznać (błąd składni): {\displaystyle \textnormal{p} \wedge \textnormal{q}} | ||||
---|---|---|---|---|---|---|
0 | 0 | 0 | 1 | 1 | 1 | 1 |
0 | 1 | 0 | 1 | 1 | 0 | 1 |
1 | 0 | 0 | 1 | 0 | 1 | 1 |
1 | 1 | 1 | 0 | 0 | 0 | 0 |
Parser nie mógł rozpoznać (błąd składni): {\displaystyle \textnormal{p}} | Parser nie mógł rozpoznać (błąd składni): {\displaystyle \textnormal{q}} | Parser nie mógł rozpoznać (błąd składni): {\displaystyle \textnormal{r}} | Parser nie mógł rozpoznać (błąd składni): {\displaystyle (\textnormal{p} \wedge \textnormal{q})} | ||||
---|---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 |
0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 |
1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 |