Here you can ask questions and find or give answers to organizational, academic and other questions about studying computer science.

1.1k questions

1.2k answers

1.6k comments

529 users

0 votes
Hello, I hope everyone is doing great.

I am facing syntax error although I am putting shannon normal form in right syntax? Why is It happening? I am using ? and : notation.
in * TF "Emb. Sys. and Rob." by (440 points)

1 Answer

0 votes
Just a guess: Maybe you forgot about the brackets? According  to https://es.cs.uni-kl.de/tools/teaching/QuartzRef.pdf, you have to use brackets around the conditional operator, i.e., (c?a:b) for expressions a,b,c.
by (166k points)
Thanks for response.

I am putting this as an answer,

(b ? (true : a ? true : false))

but getting syntax error.
The formula (b ? (true : a ? true : false)) is not syntactically correct; I guess that you mean (b ? true : (a ? true : false))
Thanks a lot. Have a great day. I did not see that typo.

Related questions

0 votes
1 answer
0 votes
1 answer
asked May 13, 2020 in * TF "Emb. Sys. and Rob." by EngiMary (1.7k points)
0 votes
1 answer
asked May 8, 2020 in * TF "Emb. Sys. and Rob." by sschwarz (1.7k points)
+1 vote
1 answer
asked May 6, 2020 in * TF "Emb. Sys. and Rob." by EngiMary (1.7k points)
0 votes
1 answer
asked Aug 14, 2020 in * Other Teaching Fields by mauric3 (190 points)
Imprint | Privacy Policy
...