Help me evaluate these Boolean expressions below to a single true or false given the values of grade, name and x: grade = 82, name = “Rumpelstiltskin”, and x = -3.

1. Grade == 82
2. Grade >= 82 and grade + 10 < 100
3. Grade/ 2 > 90 or grade == 75
4. Not(name != “Rumpelstiltskin”)
5. Name == “Jim” or name == “Rumpelstiltskin”
6. X + 3 > 0 or x != -3 or x - 1 < -5
7. (X < 0 and x != 3) and x + 5 == 2
8. Grade > 65 and (name == “Micheal” or name == “Rumpelstiltskin”) and not(x == -3)
9. X > 0 or (grade + 5 < 90 and grade >= 80) or name == “Pam”
10. (not(grade > x) and (name != “Dwight” and x <= 0)) or (grade > 0 and x % 2 == 1)

(PLEASE HELP ME EVALUATE THESE BOOLEAN EXPRESSIONS) (THIS IS DUE BY 10:30 PM TONIGHT) (NO EXCUSES) (BE REALISTIC)

Help Me Evaluate These Boolean Expressions Below To A Single True Or False Given The Values Of Grade,

Answers

Answer 1

Answer: true, true, false, true, true, false, true, true, true, false

Explanation:

Answer 2

Following are the complete python code to check the Boolean expressions values are discussed clearly in the other part of the question.

What is program?

Program:

grade = 82 #defining the variable grade that inputs integer value

name = "Rumpelstiltskin"#defining the variable name that inputs string value  

x = -3#defining the variable x that inputs negative integer value  

print(grade == 82)#using the grade variable that checks its value equal to 82

print(grade >= 82 and grade + 10 < 100)#using the grade variable with and gate that checks its value greater than equal to 82 and adding 10 in grade is less than 100

print(grade/ 2 > 90 or grade == 75)#using the grade variable with or gate that checks its grade divide by 2 greater than 90 and grade is equal to 75

print(not(name != "Rumpelstiltskin"))#using not gate that check name not equal to string value

print(name == "Jim" or name == "Rumpelstiltskin")#using the name variable with or gate that checks its value Jim or Rumpelstiltskin

print(x + 3 > 0 or x != -3 or x - 1 < -5)#using the x variable with or gate that checks x and by 3 is greater than 0 or x not equal to -3  or x -1 less than -5

print((x < 0 and x != 3) and x + 5 == 2)#using the x variable with and gate that checks x less than 0 and x not equal to 3  and x+5 equal to 2

print(grade > 65 and (name == "Micheal" or name =="Rumpelstiltskin") and not(x == -3))#using the grade and name variable with or gate that checks grade greater than 65 and name equal to "Micheal" or "Rumpelstiltskin"

print(x > 0 or (grade + 5 < 90 and grade >= 80) or name == "Pam")#using the x and grade variable with or and and gate that checks x greater than 0 or grade + 5 less than 90 and greater than equal to 80

Therefore, print((not(grade > x) and (name != "Dwight" and x <= 0)) or (grade > 0 and x % 2 == 1))#using the grade, name, x variable with or and and and not grade greater than x and name not equal to "Dwight" and x less than equal to 0 or grade greater than 0 and x modulo 2 equal to 1

Learn more about programming on:

https://brainly.com/question/3224396

#SPJ5


Related Questions

The distance from Earth to the Moon is about 384,400 km. How many light-years is this?

Answers

Explanation:

1/2 light years. because light travels at 386, 000 ,000 so, half of it will be the distance

Answer:

1/2 light years Hope it helps

Explanation:

Which statement best describes the main purpose of a church in Christianity?

Answers

Answer:

Christians believe that it is part of their duty to act in a moral way and this involves helping others around them. The Church can play a vital role in Christians helping others as they provide: food banks – a place where people living in poverty can go and collect some food.

Explanation:

The root tip cells of an onion plant have 8 pairs of chromosomes. Which of the following correctly describes the number of chromosomes in an onion root tip cell at a specific stage of the cell cycle?
A. At the end of the synthesis phase, an onion root tip cell will have a total of 32 unique chromosomes.
B. In metaphase, an onion root tip cell will have a total of 16 unique chromosomes composed of 32 chromatids.
C. After cytokinesis, a daughter onion root tip cell will have a total of 8 unique chromosomes.
D.After cytokinesis, a daughter onion root tip cell will have a total of 32 unique chromosomes.

Answers

Answer:

The answer is, At the end of the synthesis phase, an onion root tip cell will have a total of 32 unique chromosomes.

or A

The statement which correctly describes the number of chromosomes in an onion root tip cell at a specific stage of the cell cycle is:

A. At the end of the synthesis phase, an onion root tip cell will have a total of 32 unique chromosomes.

According to the given question, we are asked to show the statement which correctly describes the number of chromosomes in an onion root tip cell at a specific stage of the cell cycle.

As a result of this, we can see that a chromosome is a DNA molecule which contains genetic information and undergoes many phases during cell division.

With this in mind, we can see that when an onion root tip cell gets to the synthesis phase, then it would have a total of 32 unique chromosomes as a result of the cell division which took place.

Therefore, the correct answer is option A

Read more here:

https://brainly.com/question/25203056

Other Questions
Paragraph OneHe drives a racecar 80 miles per hour. He motivates audiences of hundreds. He's earned awards for his performance on and off the racetrack, and he's traveled the country to compete. Did we mention that he's 13 years old? One look at his accomplishments and it is easy to see that Noah "Little Gator" Cornman is on the fast track to success. "Little" might be a part of his nickname, but it does not describe his determination to succeed and his heart to make a difference for kids like him.In paragraph 1, which sentence implies that the author is impressed with the teen's accomplishments? He drives a racecar 80 miles per hour. He motivates audiences of hundreds. Did we mention that he's 13 years old? He's traveled the country to compete. Pls can someone help me ? Its urgent :(( Look at the picture and thanks Culinary Arts simply means the art of(7 Letters) Outline four ways by which the environment can be protected from degradation Find the slope of the lines given two points. (-7, 2) and (-7, 1) please help me i need this to help my grade What is your favorite mexican food be specific? (Just wondering..) what were the most important factors that led to Europes colonization of Africa? SOMEBODY PLEASE ANSWER What book does Lyddie read earlier in the novel that she loves? In chapter 17Oliver TwistThe Mill on the FlossA Tale of Two CitiesUlysses Drag the tiles to the correct boxes to complete the pairs.Match the effects with their causes.Effect: Solar wind deflects toward the poles.Effect: An aurora is created.Effect: Space travel through the Van Allenbelts is dangerous.Cause: Earths magnetosphere traps radioactivesolar wind particles in bands around Earth.arrowRightCause: Earth is surrounded by a magnetic field.arrowRightCause: Solar wind particles interact with Earthsupper atmosphere.arrowRight Help me please please help me please thank you mhanifa or someone else can you PLZ answer this (q 5) 7 simplified Can Someone Please Help Me. ? Can someone pls help me By 1500, Renaissance ideas were mainly being spread across Europe through R114 for 13 tickets. How much per ticket What are the 2 MEDIANS?10 & 10 A 30 & 35 B 40 & 50 C70 & 65 D Which mathematical term can be defined precisely?pointlinedistancecircleASAP