1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
cluponka [151]
3 years ago
5

Ssume the following variables contain the values shown: numberRed = 100 numberBlue = 200 numberGreen = 300 wordRed = "Wagon" wor

dBlue = "Sky" wordGreen = "Grass" For each of the following Boolean expressions, decide whether the statement is true, false, or illegal.
a. numberRed = numberBlue?
b. numberBlue > numberGreen?
c. numberGreen < numberRed?
d. numberBlue = wordBlue?
e. numberGreen = "Green"?
f. wordRed = "Red"?
g. wordBlue = "Blue"?
h. numberRed <= numberGreen?
i. numberBlue >= 200?
j. numberGreen >= numberRed + numberBlue?
k. numberRed > numberBlue AND numberBlue < numberGreen?
l. numberRed = 100 OR numberRed > numberBlue?
m. numberGreen < 10 OR numberBlue > 10?
n. numberBlue = 30 AND numberGreen = 300 OR numberRed = 200?
Computers and Technology
1 answer:
brilliants [131]3 years ago
6 0

Answer:

  1. numberRed = numberBlue   = FALSE
  2. numberBlue > numberGreen  = FALSE
  3. numberGreen < numberRed   = FALSE
  4. numberBlue = wordBlue   = ILLEGAL
  5. numberGreen = "Green"   = FALSE
  6. wordRed = "Red"     = FALSE  
  7. wordBlue = "Blue"     = FALSE
  8. numberRed <= numberGreen  = TRUE
  9. numberBlue >= 200    = TRUE
  10. numberGreen >= numberRed + numberBlue = TRUE
  11. numberRed > numberBlue AND numberBlue < numberGreen = FALSE
  12. numberRed = 100 OR numberRed > numberBlue   = TRUE
  13. numberGreen < 10 OR numberBlue > 10     = FALSE
  14. numberBlue = 30 AND numberGreen = 300 OR numberRed = 200 = FALSE

Explanation:

THESE RESULTS ARE VERIFIRED.....

You might be interested in
WHAT TYPES OF ACTIVITIES ARE PERFORMED BY HEALTH CARE SOFTWARES
Makovka662 [10]

Answer:

lectronic Health Record (EHR) Software. ...

Medical database software. ...

Medical research software. ...

Medical diagnosis software. ...

Medical imaging software. ...

E-prescribing software. ...

Telemedicine software. ...

Appointment scheduling (booking) software.

6 0
3 years ago
Which element can be changed using the Print pane? Check all that apply.
Ronch [10]

Answer:

B

C

D

E

Explanation:

5 0
3 years ago
Read 2 more answers
What is the best definition of a network?
Cerrena [4.2K]

Answer:

C is the answer to this question.

3 0
3 years ago
Read 2 more answers
This assignment is to code a simple hangman game. The game should choose a random word out of a list of words that are coded int
pshichka [43]

Answer:

Programming language not stated.

I'll use python for this question

Explanation:

import random

# library that we use in order to choose

# on random words from a list of words

words = ['rain, 'computer', 'science', 'program, 'python', 'mathematics', 'player', 'condition','reverse', 'water', 'board', 'geeks','learn','school','days','scholar','collar','flood','house','flies']

# Function will choose one random word from this list of words

word = random.choice(words)

print("Guess the word")

guesses = ''"

# 5 turns

turns = 5

while turns > 0:

# counts the number of times a user fails

failed = 0

# all characters from the input word taking one at a time.

for char in word:

# comparing that character with the character in guesses

if char in guesses:

print(char)

else:

print("_")

# for every failure 1 will be incremented in failure

failed += 1

if failed == 0:

# user will win the game if failure is 0 and 'You Win' will be given as output

print("You Win")

# this print the correct word

print("The word is: ", word)

break

# if user has input the wrong alphabet then it will ask user to enter another alphabet

guess = input("guess a character:")

# every input character will be stored in guesses

guesses += guess

# check input with the character in word

if guess not in word:

turns -= 1

# if the character doesn’t match the word then “Wrong” will be given as output

print("Wrong")

# this will print the number of turns left for the user

print("You have", + turns, 'more guesses')

if turns == 0:

print("You Loose")

7 0
3 years ago
A typical broadcast live events and use streaming technology in which audio and video files are continuously downloaded to your
Nikitich [7]

Answer:

Webcasts

Explanation:

The rest of the options don't need to be streamed as there isn't a continuous flow of information.

7 0
3 years ago
Other questions:
  • To change to the completed application’s directory, we opened a command window and used the ________ command to change to the di
    7·1 answer
  • Mary is writing an article about the software development life cycle. She wants to place a flowchart besides the text. Which men
    6·2 answers
  • Keyboards and printers are two examples of _________ devices.
    6·1 answer
  • You are having problems on your Windows 7 computer and you pull up Device Manager to see if there are any alerts. Two of your de
    11·1 answer
  • Assume that an array of integers named a that contains exactly five elements has been declared and initialized. Write a single s
    15·1 answer
  • What is the awnser ?
    11·1 answer
  • Easy coding question, please help.
    13·1 answer
  • To extract detailed and comprehensive responses from your client, use the _____ questioning technique.
    5·2 answers
  • What are the syntax of c programming language?
    9·1 answer
  • a developer manages an application that interacts with amazon rds. after observing slow performance with read queries, the devel
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!