Question: PRACTICE CONDITIONS (expressions)/OPERATORS GIVEN THESE VALUES FOR THE SPECIFIED VARIABLES: (Use these for all sections below) B=5 C = 10 D= 20 E = 64
PRACTICE CONDITIONS (expressions)/OPERATORS
GIVEN THESE VALUES FOR THE SPECIFIED VARIABLES:
(Use these for all sections below)
B=5
C = 10
D= 20
E = 64
F=2
A "CONDITION (expression)" may appear as part of a SELECTION or a REPETITION structure. It is a comparison between two values (variable or constant) and always results in a BOOLEAN (true/false) answer. Evaluate each of the following and determine the BOOLEAN result of each of the following: SECTION B: RELATIONAL 1) B>C 2) E>64 3) B>=5 4) B==C 5) D!=20 6) F=20 9) F==2 10) B!=5 SECTION C: LOGICAL WITH RELATIONAL 1) B>C AND E C AND F =5 4) B>C ORE C 6) F=5 7) NOT F =5 SECTION D: LOGICAL WITH ARITHMETIC AND RELATIONAL. 1) B+C>D OR CF20 3) BF=54)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
