0% found this document useful (0 votes)
57 views

Set Get Set Get: True && True

This document discusses Boolean logic and operators that can be used to evaluate expressions in a calculator. It provides examples of using Boolean operators like AND (&&), OR (||), and NOT (!) with true and false values to return either true or false. Expressions are evaluated step-by-step with true && true, true || false, true && !false, !y || x, x = true && !false, and y = false || !false.

Uploaded by

jcvoscrib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Set Get Set Get: True && True

This document discusses Boolean logic and operators that can be used to evaluate expressions in a calculator. It provides examples of using Boolean operators like AND (&&), OR (||), and NOT (!) with true and false values to return either true or false. Expressions are evaluated step-by-step with true && true, true || false, true && !false, !y || x, x = true && !false, and y = false || !false.

Uploaded by

jcvoscrib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Calculator with Boolean values (non graded activity) | 1.2 Extending the...

1 de 2

set

set

get

get

https://courses.edx.org/courses/course-v1:UC3Mx+IT.1.1x+3T2015/cou...

&&

true
||

false

true && true;

27/12/2015 10:04 p.m.

Calculator with Boolean values (non graded activity) | 1.2 Extending the...

2 de 2

https://courses.edx.org/courses/course-v1:UC3Mx+IT.1.1x+3T2015/cou...

true || false;

true && !false;

!y || x;
x = true && !false;
y = false || !false;

27/12/2015 10:04 p.m.

You might also like