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

All patients with hyperparathyroidism will develop osteoporosis. The parathyroid glands maintain blood calcium within the normal range. All patients with this disease will continue to lose calcium from their bones every day, and there is no way to prevent the development of osteoporosis as a result.

Did you know?

Bacteria have been found alive in a lake buried one half mile under ice in Antarctica.

Did you know?

Women are 50% to 75% more likely than men to experience an adverse drug reaction.

Did you know?

Children with strabismus (crossed eyes) can be treated. They are not able to outgrow this condition on their own, but with help, it can be more easily corrected at a younger age. It is important for infants to have eye examinations as early as possible in their development and then another at age 2 years.

Did you know?

Patients who cannot swallow may receive nutrition via a parenteral route—usually, a catheter is inserted through the chest into a large vein going into the heart.

For a complete list of videos, visit our video library