Assume that x and y are boolean variables and have been properly initialized. !(x || y) || (x || y) The result of evaluating the expression above is best described as:

Answers

Answer 1

Answer:

The answer is "Always true "

Explanation:

Following are the program to this question:

#include <iostream>//header file

using namespace std;

int main()//main method

{

bool x=true;//defining bool variable x and assign value

bool y=false;//defining bool variable y and assign value

if(!(x || y) || (x || y))//use given condition with if block

{

   cout<<"True";//print true message

}

else//defining else block

{

   cout<<"false";//print false message

}

   return 0;

}

In the above code two bool variable is declared, that hold ture and false, and used in the given expression with the condition statement, that checks the given value. In the code the logical gate OR gate that always print the true value.


Related Questions

Which scenarios are examples of students managing their time well? Check all that apply. A student studies while watching her favorite television shows. A student sets aside time to study every afternoon at his desk. O A student writes down some goals that she hopes to achieve in school. A student drafts a study schedule that includes breaks. A student uses her desk calendar to record the due dates for her homework assignments. O A student rushes through his homework while sending text messages to friends. 3). Intro​

Answers

Answer:

b,c,d, and e

Explanation:

Hope this helps

Answer:

BCDE

Explanation:

EDG 2021

answer this now
and thanks

Answers

Answer:

the process of burning something

Answer:

Option D) the process of burning something

Explanation:

Combustion, or burning, is a high-temperature exothermic redox chemical reaction between a fuel and an oxidant, usually atmospheric oxygen, that produces oxidized, often gaseous products, in a mixture termed as smoke. 

list and explain three computing devices from the 20th century​

Answers

Answer:

Calculating Machine

Graphic tablet.

Touchscreen

Explanation:

Hope this helps.

Brain-List?

Answer:

1. The First Calculating Machine (Pascaline)

2. Jacquard's Loom

3. The First Pocket Calculator

Explanation:

1. Pascaline was the first calculator or adding machine to be produced in any quantity and actually used. It was deigned at about 1642-1644.

2. Jacquard Loom is an attachment for powered fabric looms

3. The first truly pocket-sized electronic calculator was the Busicom LE-120A "HANDY" It was marketed in 1971.


Nick is moving from Alabama to Texas. A friend of his remarked that Nick may have to pay higher taxes there. What is the cheapest and quickest
way for Nick to find out if his friend is right?
А.
hire a lawyer
B.
speak to an accountant
C.
talk to other friends
D
look up the Texas state website

Answers

Answer:

d is look up the Texas state website

Explanation:

because tell u about texas and taxes

Which of the following identifies the most appropriate courses to take in high school for someone interested in becoming a mechanical engineer?
drafting- and math-related courses
math- and science-related courses
computer- and design-related courses
science- and computer-related courses

Answers

Answer: New questions in Health

Which member of the multidisciplinary team would help a patient improve his flexibility in the joints after a knee-replacement surgery? A. a physiot…

What are two advantages of a multidisciplinary team approach? better diagnosis in complex cases shared responsibility for decisions more opportunit…

MARKING PEOPLE AS BRAINLIST PLEASEEE HELP Where is the carbon dioxide picked up and the oxygen unloaded in the body? A:Arteries B:Veins C:Capillar…

Which healthcare professional would be primarily responsible for treating a patient for his anxiety disorder after a surgery? A. a nurse B. a nutr…

Do Now: What might be a situation where it might be important to identify 3 points somebody? What are different strategies that scientists could use …

Explanation:

Users of a _____ database have access through their personal computers linked to local or wide area networks

Answers

Answer:

Company

Explanation:

A company database is a database of a firm or organization that contains the information about the firm's employees, their products, services, and as well their client's and customers' details.

This is often kept on the main database server and arranged and organized by a database administrator.

Hence, Users of a COMPANY database have access through their personal computers linked to local or wide area networks

HELP PLZZ Which statement is true? Select 3 options.


A. A function must have a return value.

B. A function can use variables as parameters.

C. The definition of a function must come before where the function is used.

D. The definition of a function can come before or after it is used.

E. A function can have more than one parameter.

Answers

Answer:

B. C. E.

hope this helps :D

Answer:

The definition of a function must come before where the function is used.

A function can have more than one parameter.

A function can use variables as parameters.

Explanation:

If you would like to compare information on two different Web pages, you should _____.
scroll through the pages
the home page
use tabs
organize bookmarks

Answers

Answer:

Use Tabs

Explanation:

I had this lesson on odyessy ware and this was right the other guy is wrong

Answer:

Use Tabs is also correct on Edge nuity

Explanation:

i have Keyboarding and Apps

Communication of the binary data via the voltage level for each time interval.
a
voice assistant
b
machine language
c
voltage
d
digital signal

Answers

Answer:

D

Explanation:

Answer:

D. Digital signal

Explanation:

Edge 2022

help plz, u just gotta select all that apply :)

Answers

Answer:

Concept: Graph Analysis

We want to know all those that produce around 0.01 kg: Parsly, Coriander, Mint, Strawberry Rate positively and give brainlist
Other Questions
HELP. car takes 10 hour and 30 minutes from A to B point. how many hours will it take for car if it's speed increases 1.2 times?(distance doesn't change) Mildred has a bag of coins. The bag contains 10 dimes, 5 nickels, and 1 penny. She will randomly select 2 coins from the bag one at a time without replacement. What is the probability that Mildred will select a dime first and then a penny? If U is the set of all multiples of 3 less than 20, and M={3,12,18}, find Mc (the complement of M). Express your answer as a set in the roster form: i.e. {a,b,c...}. On pages 53 and 54, Tobias writes about the garderobes and the gong farmer. What do these words and these wntries show about life in the middle ages Why does Kira decide to stay in Village and not leave with herMatt?She can not make the long journeyShe feels that she needs to stay and make her Village a better place,She needs to repair the robe.She is mad at her Father for not coming to find her and thinks of Jamison as her Dad. cassandra has a loan of 35,720.This loan has a simple intrest rate of 4% per year.What is the amount of intrest will pay on this loan at the end of 2 year? PLEASE DONT JOKE AROUND THIS IS MY TEST.A. 2,857.60B. 38,577.60C. 1,428.80D. 5,715.20 Editing is only necessary when writing short stories.o Trueo FalsePls help ASAP Help help help help help help pls There are 130 people in a sport centre. 61 people use the gym. 68 people use the swimming pool. 60 people use the track. 25 people use the gym and the pool. 30 people use the pool and the track. 19 people use the gym and the track. 6 people use all three facilities. Given that a randomly selected person uses the gym and the track, what is the probability they do not use the swimming pool? Pls help me!! And thank you so much Which factor is found in a scientific claim? endorsement by famous scientists data collection from only one facility similar results in multiple tests of the claim identical data across all tests of the claim what makes one of your cells you ? A school is going on a field trip to the zoo. There were s amount of students. The tickets cost $15 each. The school ended up giving the zoo $2,550 for all of the tickets. Write and solve an equation to figure out how many students are going on the trip.Step by step A national consumer agency selected independent random samples of 45 owners of newer cars (less than five years old) and 40 owners of older cars (more than five years old) to estimate the difference in mean dollar cost of yearly routine maintenance, such as oil changes, tire rotations, filters, and wiper blades. The agency found the mean dollar cost per year for newer cars was $195 with a standard deviation of $46. For older cars, the mean was $286 with a standard deviation of $58. Which of the following represents the 95 percent confidence interval to estimate the difference (newer minus older) in the mean dollar cost of routine maintenance between newer and older cars?A. (195 - 286) + 1.992 underroot46/45 + 58/40 B. (286 - 195) + 1.992 underroot46^2/45+ 58^2/40 C. (195 - 286)+ 1.992 underrot 140 158/45+40 D. (286 - 195) + 1.992 46 1582 45 +40 E. (195-286) +1.992 462 + 58 45 40 10 points and brainliest for the CORRECT answer. I'm only giving brainliest after I take the test and know its right.Part AIn How a Cat Played Robinson Crusoe, what inference can be made about the cat? She learns to love the island more than her human family. She will continue to hunt even after she is reunited with her human family. She prefers living with her human family to living alone. Living alone on the island changes how she feels about her human family.Question 2Part BWhich evidence from the text best supports the inference in Part A? And she herself, in being forced back upon her instincts, had learned to be contented. she went racing across to the landing placeto be snatched up into the arms of four happy children at once the young grass alive with nesting birds, the prisoners life became almost pleasant in its easy abundance. From now on, her life in the winter wild, though strenuous, was no longer one of any terrible hardship. HELP WILL MARK BRAINLIEST At a book store there are 25 books on the clearance section. 20 of the books are young adult novels and the rest of the books are picture books. Which statement is not true? *A) For every 4 young adult novels, there is 1 picture bookB) For every 5 books, 4 are young adult novelsC) The ratio of picture books to young adult novels is 1:4D) There is 1 picture book for every 5 booksE) All statements are true WILL GIVE BRAINLIEST!!Write a letter from Phyllis Wheatley's point of view explaining her actions, beliefs, hopes, and future plans. In other words, this letter should be written as if your chosen person wrote it. It should contain specific details about the events during this person's time. Which came about as a result of the industrial revolution? Select all that apply. 1.more types of entertainment 2.more books 3.better jobs 4.better educational opportunities The belief that a state had the right to nullify federal laws, secede from the Union, and decide whether to allow slavery in the stateA NullificationB Alexander StephensC Abraham LincolnD Missouri CompromiseE States' RightsF Compromise of 1850G TariffPlz help need this asap!