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

Eating food that has been cooked with poppy seeds may cause you to fail a drug screening test, because the seeds contain enough opiate alkaloids to register as a positive.

Did you know?

Liver spots have nothing whatsoever to do with the liver. They are a type of freckles commonly seen in older adults who have been out in the sun without sufficient sunscreen.

Did you know?

Bacteria have flourished on the earth for over three billion years. They were the first life forms on the planet.

Did you know?

The average office desk has 400 times more bacteria on it than a toilet.

Did you know?

GI conditions that will keep you out of the U.S. armed services include ulcers, varices, fistulas, esophagitis, gastritis, congenital abnormalities, inflammatory bowel disease, enteritis, colitis, proctitis, duodenal diverticula, malabsorption syndromes, hepatitis, cirrhosis, cysts, abscesses, pancreatitis, polyps, certain hemorrhoids, splenomegaly, hernias, recent abdominal surgery, GI bypass or stomach stapling, and artificial GI openings.

For a complete list of videos, visit our video library