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

Green tea is able to stop the scent of garlic or onion from causing bad breath.

Did you know?

Less than one of every three adults with high LDL cholesterol has the condition under control. Only 48.1% with the condition are being treated for it.

Did you know?

Asthma attacks and symptoms usually get started by specific triggers (such as viruses, allergies, gases, and air particles). You should talk to your doctor about these triggers and find ways to avoid or get rid of them.

Did you know?

Serum cholesterol testing in adults is recommended every 1 to 5 years. People with diabetes and a family history of high cholesterol should be tested even more frequently.

Did you know?

Long-term mental and physical effects from substance abuse include: paranoia, psychosis, immune deficiencies, and organ damage.

For a complete list of videos, visit our video library