Question: Question 6 The following truth table matches which boolean condition? B 1 1 1 1 1 0 1 O 1 O 0 0 0 O

 Question 6 The following truth table matches which boolean condition? B

1 1 1 1 1 0 1 O 1 O 0 0

0 O A || (!A && !B) O A && (A ||

B) O A && ( A && B) !A && ( AB)

Question 6 The following truth table matches which boolean condition? B 1 1 1 1 1 0 1 O 1 O 0 0 0 O A || (!A && !B) O A && (A || B) O A && ( A && B) !A && ( AB) OA || (A | B) Question 7 1 pts A weather app records the current temperature to the nearest degree Fahrenheit using an int variable temp. The app also uses a String variable tempAdj to store an adjective based on the value of temp which will be used in a short written summary of the current weather. The values of tempAdj are determined as follows: Value of temp Value of tempAdj 80 or greater "Hot" From 60 to 79 inclusive "Warm" From 40 to 59 inclusive "Cold" 39 or less "Very Cold" Which of the following code segments will correctly set the value of tempAdj for any given value of temp? I. tempAdj = "Hot"; if (temp = 80) { tempAdj = "Hot"; } else if (temp >= 60) { tempAdj = "warm"; } else if (temp >= 40) { tempAdj = "Cold"; 1 else tempAdj = "Very Cold"; } III. if (temp >= 80) { tempAdj = "Hot", } if (temp >= 60 && temp = 40 && temp 60) { tempAdj = "Cold"; } if (temp = 80 && val 80 && val = 80 Il val = 90) O if (val = 90) if (val 90)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!