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
๐ Syllabus
View KERALA UNIVERSITY Class 1 Syllabus โ
๐ Practice Questions
Practice Previous Year Questions โ
๐ค Practice with AI
Generate Practice Question Paper โ
๐ Related Concepts
- (b) What are the requirement of sleepers used in a railway track? Using a sleeper density $\mathrm{N}+5$, determine the
- (c) The output voltage of a thermocouple with the test junction at $t^{\circ} \mathrm{c}$ on gas thermometer scale and r
- (c) During one cycle of operation the working fluid in an engine engages in two work interactions and three heat interac
- (b) Steam at 100 kPa and dryness fraction of 0.95 is supplied to a heating system. The amount of heat absorbed from the
- (b) Steam at 100 kPa and dryness fraction of 0.95 is supplied to a heating system. The amount of heat absorbed from the