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
Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (a
allsm [11]

Answer:

The code is below. The output is "Eric went to Chipotle to buy 12 different types of Cars"

Explanation:

import java.util.scanner;

public class labprogram {

    public static void main (string [ ] args) {

    scanner scnr = new scanner (system.in) ;

    string firstname;

    string genericlocation;

    int wholenumber;

    string pluralNoun;

   firstName = scnr.next();

   genericLocation = scnr.next();

   wholeNumner = scnr.nextInt();

   pluralNoun = scnr.nextLine();

   system.output.println(firstname + " went to " + genericlocation + " to buy " + wholenumber + " different types of " + pluralnoun + " . ");

}

 }

6 0
3 years ago
How long will twenty percent of battery life last me?
Ghella [55]
About one or two hours.
5 0
3 years ago
Read 2 more answers
An expression which combines variables numbers and at least one operation
hichkok12 [17]

Answer:

An "Algebraic expression" is the correct answer for the above question.

Explanation:

  • The algebraic expression is an expression that is written in the form of alphabets and numbers. For example x+2x.
  • And it is also calculated with the consideration of alphabets like X+2X will be 3X.
  • The above question asked about the expression which is used with the combination of alphabets or variables and the numbers. That expression is known as "Algebraic expression"
4 0
3 years ago
What is intellectual property?
xz_007 [3.2K]

Answer:

The 3rd one

Explanation:

Intellectual property refers to creations of the mind: inventions; literary and artistic works; and symbols, names and images used in commerce. Intellectual property is divided into two categories: Industrial Property includes patents for inventions, trademarks, industrial designs and geographical indications.

7 0
3 years ago
What is the output of the following code?
Lynna [10]

Answer:

The output is 24

Explanation:

Given

The above code segment

Required

The output

We have (on the first line):

x = 6

y = 3

z=24

result=0

On the second line:

result = 2*((z/(x-y))\%y+10)

Substitute the value of each variable

result = 2*((24/(6-3))\%3+10)

Solve the inner brackets

result = 2*((24/3)\%3+10)

result = 2*(8\%3+10)

8%3 implies that, the remainder when 8 is divided by 3.

The remainder is 2

So:

result = 2*(2+10)

result = 2*12

result = 24

<em>Hence, the output is 24</em>

8 0
2 years ago
Other questions:
  • 1.Characters archetypes are typical characters that represent universal patterns of human or human roles. (True or false)
    14·1 answer
  • Write a complete C++ program that do following. Read a positive integer from the user with proper prompt. Assume that this user
    9·1 answer
  • Hello, please help write code in C++. Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go nort
    12·1 answer
  • In your own words explain how to add footer and head in a word doc.
    10·1 answer
  • Which of the following is one of the options available on the Columns menu on the
    6·1 answer
  • An IT suspects that an unauthorized device is connected to a wireless network. This is a result of passkey sharing on a device b
    14·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    11·2 answers
  • What type of app is Drake designing? Drake is designing a mobile app for an online travel blog. The app will enable browsers to
    5·1 answer
  • If any one answered this i will give brilientst what is stimulation program​
    6·1 answer
  • Select the correct answer.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!