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

Adults are resistant to the bacterium that causes Botulism. These bacteria thrive in honey – therefore, honey should never be given to infants since their immune systems are not yet resistant.

Did you know?

The term pharmacology is derived from the Greek words pharmakon("claim, medicine, poison, or remedy") and logos ("study").

Did you know?

ACTH levels are normally highest in the early morning (between 6 and 8 A.M.) and lowest in the evening (between 6 and 11 P.M.). Therefore, a doctor who suspects abnormal levels looks for low ACTH in the morning and high ACTH in the evening.

Did you know?

For about 100 years, scientists thought that peptic ulcers were caused by stress, spicy food, and alcohol. Later, researchers added stomach acid to the list of causes and began treating ulcers with antacids. Now it is known that peptic ulcers are predominantly caused by Helicobacter pylori, a spiral-shaped bacterium that normally exist in the stomach.

Did you know?

Pubic lice (crabs) are usually spread through sexual contact. You cannot catch them by using a public toilet.

For a complete list of videos, visit our video library