Author Question: A string is an optimal data type for the ________ operation. A) Arithmetic B) Logical C) Function ... (Read 90 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?

In the ancient and medieval periods, dysentery killed about ? of all babies before they reach 12 months of age. The disease was transferred through contaminated drinking water, because there was no way to adequately dispose of sewage, which contaminated the water.

Did you know?

In most climates, 8 to 10 glasses of water per day is recommended for adults. The best indicator for adequate fluid intake is frequent, clear urination.

Did you know?

After 5 years of being diagnosed with rheumatoid arthritis, one every three patients will no longer be able to work.

Did you know?

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

The B-complex vitamins and vitamin C are not stored in the body and must be replaced each day.

For a complete list of videos, visit our video library