Author Question: Compose a structured English statement for the following supermarket scenario:First, we determine ... (Read 21 times)

Charlie

  • Hero Member
  • *****
  • Posts: 640
Compose a structured English statement for the following supermarket scenario:First, we determine whether the customer has shopped with us before. If they have, we give them a free bonus coupon.
 
  If they have not yet shopped with us, we give them a free membership card. We do this until there are no more customers in line.

Question 2

Value checks are performed for data that is:
 
  A) continuous.
  B) discrete.
  C) cross-referenced.
  D) using a check digit.
  E) stored on a master file.



trampas

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

DO WHILE there are customers in line
IF customer has shopped here before
THEN give customer a bonus coupon
ELSE
THEN give customer a free membership card
END DO

Answer to Question 2

B



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

Street names for barbiturates include reds, red devils, yellow jackets, blue heavens, Christmas trees, and rainbows. They are commonly referred to as downers.

Did you know?

In 1886, William Bates reported on the discovery of a substance produced by the adrenal gland that turned out to be epinephrine (adrenaline). In 1904, this drug was first artificially synthesized by Friedrich Stolz.

Did you know?

The U.S. Preventive Services Task Force recommends that all women age 65 years of age or older should be screened with bone densitometry.

Did you know?

Essential fatty acids have been shown to be effective against ulcers, asthma, dental cavities, and skin disorders such as acne.

Did you know?

Cancer has been around as long as humankind, but only in the second half of the twentieth century did the number of cancer cases explode.

For a complete list of videos, visit our video library