subject

Evaluate the Boolean expressions below to a single “True or False” given the following 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 == "Michael" 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)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:50
You have written, as part of a school assignment, a research paper on the solar system. you want to share this paper on your school website. on which type of server will you upload it?
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Petrică, tânăr licean în clasa a ix-a, a primit în dar de la părinţii săi un cont bancar pentru micile sale cheltuieli curente. el este pasionat de internet banking şi îşi verifică cu grijă toate tranzacţiile efectuate. pentru creşterea securităţii tranzacţiilor online, banca îi furnizează lui petrică un număr pe care el va trebui să îl modifice, obţinând un număr tan – număr de autentificare a tranzacţiei (transaction authentication number). regula de obţinere a numărului tan este următoarea: se formează cel mai mic număr par din toate cifrele numărului furnizat de bancă. cerinţă cunoscând numărul n furnizat de bancă, să se determine numărul tan obţinut de petrică. date de intrare fişierul tan.in conţine pe prima linie numărul natural n cu semnificaţia din enunţ. date de ieşire fişierul de ieşire tan.out va conţine o singură linie pe care va fi scris numărul tan cerut. restricţii • 0 < n < 18*1018 • n are cel puţin o cifră pară • numărul tan obţinut nu poate conţine zerouri nesemnificative
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
You know the right answer?
Evaluate the Boolean expressions below to a single “True or False” given the following values of “gr...
Questions
question
Mathematics, 14.07.2020 06:01
question
Spanish, 14.07.2020 06:01
question
Mathematics, 14.07.2020 06:01
question
Mathematics, 14.07.2020 06:01
question
Mathematics, 14.07.2020 06:01
Questions on the website: 13722359