Author Question: A string is an optimal data type for the ________ operation. A) Arithmetic B) Logical C) Function ... (Read 60 times)

mpobi80

  • Hero Member
  • *****
  • Posts: 519
A string is an optimal data type for the ________ operation.
 
  A) Arithmetic B) Logical C) Function D) Comparison

Question 2

The problem statement is: If fluid_temp1 and fluid_temp2 are BOOL tags, open is a BOOL tag, and your specification says: If fluid_temp1 and fluid_temp2 are both on, set open to true. What is the required expression?
 
  A) open := fluid_temp1 OR fluid_temp2; B) open := fluid_temp1 & fluid_temp2;
  C) open <> fluid_temp1 & fluid_temp2; D) fluid_temp1 & fluid_temp2; = open



asdfghjkl;

  • Sr. Member
  • ****
  • Posts: 323
Answer to Question 1

D

Answer to Question 2

B



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question


 

Did you know?

Hippocrates noted that blood separates into four differently colored liquids when removed from the body and examined: a pure red liquid mixed with white liquid material with a yellow-colored froth at the top and a black substance that settles underneath; he named these the four humors (for blood, phlegm, yellow bile, and black bile).

Did you know?

Multiple sclerosis is a condition wherein the body's nervous system is weakened by an autoimmune reaction that attacks the myelin sheaths of neurons.

Did you know?

There can actually be a 25-hour time difference between certain locations in the world. The International Date Line passes between the islands of Samoa and American Samoa. It is not a straight line, but "zig-zags" around various island chains. Therefore, Samoa and nearby islands have one date, while American Samoa and nearby islands are one day behind. Daylight saving time is used in some islands, but not in others—further shifting the hours out of sync with natural time.

Did you know?

Since 1988, the CDC has reported a 99% reduction in bacterial meningitis caused by Haemophilus influenzae, due to the introduction of the vaccine against it.

Did you know?

All adults should have their cholesterol levels checked once every 5 years. During 2009–2010, 69.4% of Americans age 20 and older reported having their cholesterol checked within the last five years.

For a complete list of videos, visit our video library