Determine the value of the following logical expressions if $a=5, b=10, c=-6$ : i) $\mathrm{b}>15 \& \& \mathrm{c}<0 \| \mathrm{a}>0$ ii) $(\mathrm{a} / 2.0==0.0 \& \& \mathrm{~b} / 2.0!=0.0) \| \mathrm{c}<0.0$.

Explanation

To evaluate the logical expressions, we need to substitute the given values of a, b, and c. For i), b is not greater than 15, so the expression is False. For ii), a/2.0 is not equal to 0.0, so the first part of the expression is False, but c is less than 0.0, so the second part of the expression is True. Since the two parts are connected by OR, the final result is True.


โฌ† Related Topic

View Topic Hub โ†’

๐Ÿ“˜ Syllabus

View KERALA UNIVERSITY Class 1 Syllabus โ†’

๐Ÿ“ Practice Questions

Practice Previous Year Questions โ†’

๐Ÿค– Practice with AI

Generate Practice Question Paper โ†’


๐Ÿ“š Related Concepts