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
solmaris [256]
3 years ago
8

Which of the following will result in a True value?

Computers and Technology
1 answer:
icang [17]3 years ago
8 0

Answer:

1. 'NOT(TRUE AND FALSE) AND TRUE'

3. 'NOT (TRUE AND TRUE) OR TRUE'

Explanation:

We can go through each option to find out which statements will result in a 'TRUE' value.

1. <u>'NOT (TRUE AND FALSE) AND TRUE':</u>

'TRUE AND FALSE' inside the parentheses will result in 'FALSE' since the Boolean operator 'AND' requires both terms to be 'TRUE' for the resulting value to become 'TRUE', otherwise it returns 'FALSE'.

'NOT (TRUE AND FALSE) AND TRUE' now becomes 'NOT FALSE AND TRUE'. The Boolean operator 'NOT' will return the opposite of the term given, so 'NOT FALSE' becomes 'TRUE'. This leaves us with 'TRUE AND TRUE' which returns 'TRUE'.

2. <u>'NOT (TRUE AND TRUE) AND TRUE':</u>

'TRUE AND TRUE' inside the parentheses will result in 'TRUE', leaving us with 'NOT TRUE AND TRUE'. 'NOT TRUE' will give us 'FALSE', resulting in 'FALSE AND TRUE'. The resulting value of 'FALSE AND TRUE' is 'FALSE'.

3. <u>'NOT (TRUE AND TRUE) OR TRUE':</u>

Again, 'TRUE AND TRUE' inside the parentheses will result in 'TRUE', leaving us with NOT TRUE OR TRUE'. The Boolean operator 'OR' requires only one term to be 'TRUE' for the resulting value to become 'TRUE'. This means that this statement will return 'TRUE'.

Hope this helps :)

You might be interested in
The act of illegally copying software, music,or movies that are copied protect?
miv72 [106K]
It’s protects piracy C
4 0
3 years ago
Read 2 more answers
Talon is a new game designer working on an exciting and innovative game idea, but its time to examine the idea for technical fea
GarryVolchara [31]

Answer:

I think the answer is C.

Explanation:

4 0
3 years ago
Read 2 more answers
1
Dimas [21]

Answer:

C.  

Explanation:

Plato users

8 0
3 years ago
The cost to ship a package is a flat fee of 75 cents plus 25 cents per pound.
Sonbull [250]

Answer:

The following alterations are done to the program

1. Replace <em>/* Your solution goes here */ </em>with

<em>const int CENTS_PER_POUND = 25;</em>

<em>cout<<"Ship Weight Pounds: "; </em>

<em>cin>>shipWeightPounds; </em>

<em />

2. Include

<em>shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;</em>

after

<em>cout << ", Cents per lb: " << CENTS_PER_POUND;</em>

Explanation:

<em>See attachment for complete program as it should be ordered</em>

<em></em>

This line declares CENTS_PER_POUND as a constant integer and it also initializes the variable to 25

<em>const int CENTS_PER_POUND = 25;</em>

This prompts the user for the weight of the shipping items (in pounds)

<em>cout<<"Ship Weight Pounds: "; </em>

<em />

This gets user input for  the weight of the shipping item

<em>cin>>shipWeightPounds; </em>

<em />

<em>.............................</em>

<em>........</em>

<em>...</em>

This calculates the cost of shipping the item

<em>shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;</em>

Download cpp
6 0
3 years ago
Which font attribute would be most appropriate to make a papers heading stand out?
eimsori [14]

If you want your heading to pop out I would go for bold Becuase it shows the letters darker and bigger which would make the heading the center of attention.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Hit and Slopes Program: A Write a program that can be used by a ski resort to keep track if local snow conditions for one week.
    15·1 answer
  • When computers connect to one another to share information, but are not dependent on each other to work, they are connected thro
    14·2 answers
  • Question # 4
    8·2 answers
  • Radio and television are examples of
    9·1 answer
  • Reading for comprehension requires _____ reading?
    7·1 answer
  • What is the HCF of smallest prime number and the smallest composite number?​
    12·1 answer
  • Website designers work on the code and programming of a website, not the style or layout of the site.
    9·1 answer
  • (a) Write a program which calculates and displays the obtained marks, percentage in six subjects and assigns grades based on per
    6·1 answer
  • Difference between hacking and cracking not hackers and crackers ​
    10·1 answer
  • Content area a leased asset will appear on the balance sheet as a long-term asset. true false'
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!