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

Intradermal injections are somewhat difficult to correctly administer because the skin layers are so thin that it is easy to accidentally punch through to the deeper subcutaneous layer.

Did you know?

The heart is located in the center of the chest, with part of it tipped slightly so that it taps against the left side of the chest.

Did you know?

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

Since 1988, the CDC has reported a 99% reduction in bacterial meningitis caused by Haemophilus influenzae, due to the introduction of the vaccine against it.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

For a complete list of videos, visit our video library