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]
4 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]4 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
When you use a business class with an object data source, the business class Group of answer choices must have attributes that m
DedPeter [7]

Answer: must have public properties that match the names of the bound fields

Explanation:

When a business class is used with an object data source, the business class must have public properties that match the names of the bound fields.

Having an attribute which match the names of the bound fields isn't necessary as well as having a constructor with parameters that match the names of the bound fields

Therefore, the correct option is B.

3 0
3 years ago
Write a recursive function that returns 1 if an array of size n is in sorted order and 0 otherwise. Note: If array a stores 3, 6
galina1969 [7]

Answer:

The function in C++ is as follows:

int isSorted(int ar[], int n){

if (n == 1 || n == 0){

 return 1;}

if (ar[n - 1] < ar[n - 2]){

 return 0;}

return isSorted(ar, n - 1);}

Explanation:

This defines the function

int isSorted(int ar[], int n){

This represents the base case; n = 1 or 0 will return 1 (i.e. the array is sorted)

if (n == 1 || n == 0){

 return 1;}

This checks if the current element is less than the previous array element; If yes, the array is not sorted

if (ar[n - 1] < ar[n - 2]){

 return 0;}

This calls the function, recursively

return isSorted(ar, n - 1);

}

6 0
3 years ago
In this activity, you will submit the work you completed for the "Explore: Products" assignment. Type your response directly int
BabaBlast [244]

It should be noted that mate is the national beverage of countries such as Uruguay, Paraguay, and Argentina.

<h2>What is mate?</h2>

Mate tea is simply a beverage that is high in antioxidants and also contains caffeine.

It should be noted that mate is important as it raises morale, helps in sustaining the muscular system, and also allows an individual endure privations.

In conclusion, the drink is also usually taken by sportsmen.

Learn more about beverages on:

brainly.com/question/25884013

6 0
2 years ago
a_____________ may have its value change during program execution. options. flowchart,counter, Algorithm,None of them​
Amiraneli [1.4K]

Answer:

i think is "none of them"

5 0
4 years ago
How many channels can the 2.4 GHz band be divided into?
wlad13 [49]

Answer:Fourteen channels

Explanation:

8 0
3 years ago
Other questions:
  • Which of these are characteristics of compiler software? Check all of the boxes that apply. Compiler software compiles code. Com
    11·2 answers
  • Okay so, not really a question but whatever it’s been bothering me.
    9·2 answers
  • Design a method for representing the state of a tic-tac-toe board in computer memory. can you fit your representation into three
    12·2 answers
  • When you right-click certain areas of the Word or other Office app windows, a command menu will appear. Group of answer choices
    13·1 answer
  • If you want to emphasize the Greek root of a word in a document, which tool in Microsoft® Word could you use?
    6·2 answers
  • You select a database or change to a different database with the ____ function.
    10·1 answer
  • Write an SQL statement to list the Name of employees who have worked on a property in New York .
    7·1 answer
  • Each row in a database is a set of unique information called a(n)
    8·2 answers
  • A communication medium that carries a large amount of data at a fast speed is called
    6·1 answer
  • Design and implement an application that reads a string from the user then determines and prints how many of eachlowercase vowel
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!