T Trần Vũ New member Sep 21, 2021 #1 What would be the Prefix notation for the given equation? Code: a|b&c A. a|&bc B. &|abc C. |a&bc D. ab&|c
What would be the Prefix notation for the given equation? Code: a|b&c A. a|&bc B. &|abc C. |a&bc D. ab&|c
Đ Đạt Michio New member Sep 21, 2021 #2 Answer: c Explanation: The order of preference of operators is as follows (descending): & |. The equation a|b&c will be parenthesized as (a|(b&c)) for evaluation. Therefore the equation for prefix notation evaluates to |a&bc. Upvote 0 Downvote
Answer: c Explanation: The order of preference of operators is as follows (descending): & |. The equation a|b&c will be parenthesized as (a|(b&c)) for evaluation. Therefore the equation for prefix notation evaluates to |a&bc.