Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

only solve question 7 and 8 but with detailed explanation please!! 1:53 UCF Mobile Tomar el examen Salir Question 1 1 puntos You run a

only solve question 7 and 8 but with detailed explanation please!!
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
1:53 UCF Mobile Tomar el examen Salir Question 1 1 puntos You run a program that has the line of code below and get the output True. print (a and b or c) Select the boolean value of each: a: Select b: [Select) [ Select (> a and b: Select] borc: [Select) 02 a and c: Select Question 2 1 puntos Ya 1:537 UCF Mobile Tomar el examen Salir Question 2 1 puntos You run a program that has the line of code below and get the output True. print (a and b or c and b) Select the boolean value of each: [Select a: b: [Select] c Select] a and b: Select borc: Select] > c and b: [Select] Question 3 1 puntos 1:534 UCF Mobile Tomar el examen Salir Question 3 1 puntos You run a program that has the line of code below and get the output True. print (a or b or c and a) Select the boolean value of each: [Select] a: b: Select] c: [Select a and b: Select] borc: Select] c and a: Select] Question 4 1 puntos You run a programme of code 1:53 4 UCF Mobile Tomar el examen Salir Question 4 1 puntos You run a program that has the line of code below and get the output True. printia or not borc and not a) Select the boolean value of each: a: False not b: Select [Select] a and b: Select) borc: [Select) cand b: Select D Questions 1 puntos 1:53 UCF Mobile Tomar el examen Salir Question 5 1 puntos You run a program that has the line of code below and get the output True. print (a and not b and c or not a) Select the boolean value of each: a: Select not b: Select Select a and b: [Select] borc: Select c and b: Select) Question 6 1 puntos 1:537 UCF Mobile Tomar el examen Salir anu. Question 6 1 puntos Based on what you have learned, what is the order of precedence for logical operators? and, not, or not, or, and or, and, not and, or, not not, and, or or not, and They have the same precedence and execute left to right Question 7 1 puntos You are writing a program that asks three yes 1:53 4 UCF Mobile Tomar el examen Salir They have the same precedence and execute left to right Question 7 1 puntos You are writing a program that asks three yes or no questions to the user and the program behaves differently depending on the combination of their answers. What is the minimum number of compound conditional expressions that you need? 9 3 8 06 U Question 8 1 puntos You are competing with a friend to write the most efficient solution to the following problem: 1:53 4 UCF Mobile Tomar el examen Salir Question 8 1 puntos You are competing with a friend to write the most efficient solution to the following problem: Write a program that will correctly determine two boolean values, a and b, by asking the user for the results of compound logical comparisons between them. Each of your questions must use and and or at least once. Output the boolean values of a and b. Example question: and b and a orb and b and a and a or b? You were able to figure it out by asking only three questions, but your friend claims that they got it to work by only asking two. It's impossible to solve it correctly with only two questions because it requires compound expressions. The range of possible scenarios for the values is too great to be able to accurately determine the values of a and with only two questions. 1:534 UCF Mobile Tomar el examen Salir logical comparisons between them. Each of your questions must use and and or at least once. Output the boolean values of a and b. Example question: and b and a orb and b and a and a or b? You were able to figure it out by asking only three questions, but your friend claims that they got it to work by only asking two. It's impossible to solve it correctly with only two questions because it requires compound expressions. The range of possible scenarios for the values is too great to be able to accurately determine the values of a and with only two questions. It's not even possible to solve it correctly with only three questions - you need at least four because of the range of possible outcomes. It is possible to solve it with only two questions It's impossible to solve it correctly with only two questions because it requires compound expressions. The range of possible outcomes for the questions is too great to be able to accurately determine the values of a and b with only two questions. 1:53 UCF Mobile Tomar el examen Salir Question 1 1 puntos You run a program that has the line of code below and get the output True. print (a and b or c) Select the boolean value of each: a: Select b: [Select) [ Select (> a and b: Select] borc: [Select) 02 a and c: Select Question 2 1 puntos Ya 1:537 UCF Mobile Tomar el examen Salir Question 2 1 puntos You run a program that has the line of code below and get the output True. print (a and b or c and b) Select the boolean value of each: [Select a: b: [Select] c Select] a and b: Select borc: Select] > c and b: [Select] Question 3 1 puntos 1:534 UCF Mobile Tomar el examen Salir Question 3 1 puntos You run a program that has the line of code below and get the output True. print (a or b or c and a) Select the boolean value of each: [Select] a: b: Select] c: [Select a and b: Select] borc: Select] c and a: Select] Question 4 1 puntos You run a programme of code 1:53 4 UCF Mobile Tomar el examen Salir Question 4 1 puntos You run a program that has the line of code below and get the output True. printia or not borc and not a) Select the boolean value of each: a: False not b: Select [Select] a and b: Select) borc: [Select) cand b: Select D Questions 1 puntos 1:53 UCF Mobile Tomar el examen Salir Question 5 1 puntos You run a program that has the line of code below and get the output True. print (a and not b and c or not a) Select the boolean value of each: a: Select not b: Select Select a and b: [Select] borc: Select c and b: Select) Question 6 1 puntos 1:537 UCF Mobile Tomar el examen Salir anu. Question 6 1 puntos Based on what you have learned, what is the order of precedence for logical operators? and, not, or not, or, and or, and, not and, or, not not, and, or or not, and They have the same precedence and execute left to right Question 7 1 puntos You are writing a program that asks three yes 1:53 4 UCF Mobile Tomar el examen Salir They have the same precedence and execute left to right Question 7 1 puntos You are writing a program that asks three yes or no questions to the user and the program behaves differently depending on the combination of their answers. What is the minimum number of compound conditional expressions that you need? 9 3 8 06 U Question 8 1 puntos You are competing with a friend to write the most efficient solution to the following problem: 1:53 4 UCF Mobile Tomar el examen Salir Question 8 1 puntos You are competing with a friend to write the most efficient solution to the following problem: Write a program that will correctly determine two boolean values, a and b, by asking the user for the results of compound logical comparisons between them. Each of your questions must use and and or at least once. Output the boolean values of a and b. Example question: and b and a orb and b and a and a or b? You were able to figure it out by asking only three questions, but your friend claims that they got it to work by only asking two. It's impossible to solve it correctly with only two questions because it requires compound expressions. The range of possible scenarios for the values is too great to be able to accurately determine the values of a and with only two questions. 1:534 UCF Mobile Tomar el examen Salir logical comparisons between them. Each of your questions must use and and or at least once. Output the boolean values of a and b. Example question: and b and a orb and b and a and a or b? You were able to figure it out by asking only three questions, but your friend claims that they got it to work by only asking two. It's impossible to solve it correctly with only two questions because it requires compound expressions. The range of possible scenarios for the values is too great to be able to accurately determine the values of a and with only two questions. It's not even possible to solve it correctly with only three questions - you need at least four because of the range of possible outcomes. It is possible to solve it with only two questions It's impossible to solve it correctly with only two questions because it requires compound expressions. The range of possible outcomes for the questions is too great to be able to accurately determine the values of a and b with only two questions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago