Author Question: Compose a structured English statement for the following supermarket scenario:First, we determine ... (Read 27 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?

The effects of organophosphate poisoning are referred to by using the abbreviations “SLUD” or “SLUDGE,” It stands for: salivation, lacrimation, urination, defecation, GI upset, and emesis.

Did you know?

The top five reasons that children stay home from school are as follows: colds, stomach flu (gastroenteritis), ear infection (otitis media), pink eye (conjunctivitis), and sore throat.

Did you know?

The first monoclonal antibodies were made exclusively from mouse cells. Some are now fully human, which means they are likely to be safer and may be more effective than older monoclonal antibodies.

Did you know?

The human body produces and destroys 15 million blood cells every second.

Did you know?

In 1844, Charles Goodyear obtained the first patent for a rubber condom.

For a complete list of videos, visit our video library