0% found this document useful (0 votes)
97 views5 pages

1.1 Design The Output For This Program Create Either Sample Output or A Print Chart.

The document contains sample output for a program that displays a list of candies including item number, name, price and quantity. It provides the flowchart and pseudocode for a program to output this list. The flowchart shows the process starting and declaring variables, then printing each field and stopping. The pseudocode also shows this process with steps to declare variables, print each field and stop the program.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views5 pages

1.1 Design The Output For This Program Create Either Sample Output or A Print Chart.

The document contains sample output for a program that displays a list of candies including item number, name, price and quantity. It provides the flowchart and pseudocode for a program to output this list. The flowchart shows the process starting and declaring variables, then printing each field and stopping. The pseudocode also shows this process with steps to declare variables, print each field and stop the program.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

QUESTION 0NE

Question 1
1.1 Design the output for this program; create either sample output or a print chart. (10)

ITEM NO NAME OF CANDY PRICE(R) QUANTITY


001 Cadberry R10.99 R1099
002 Champion R13.00 R1300

003 Jelly tots R14.95 R1495


004 Jelly tubes R12.00 R1200
005 Halls R11.95 R1195
006 KitKat R29.00 R2950
007 Liquorice R25.00 R2500

008 Maynard’s R20.00 R2000


009 Pin pop R10.50 R1050
010 Regals R60.00 R6000
011 Smoothies R22.00 R2200
012 Smarties R23.55 R2355

013 Skittles R15.50 R1550


014 Toffies R21,90 R2190
015 Barone R20.20 R2020
016 All sorts R13.50 R1350
017 Sour beans R14,45 R1445

018 Wine Gums R16.99 R1699


019 Tic tac R24.30 R2430
020 Yogeta R10.00 R1000
1.2 Draw the flowchart for this program (10)

START

DECLARE VARIABLES

PRINT ITEM NO

PRINT CANDY NAME

PRINT ITEM PRICE

PRINT QUANTITY

STOP

1.3 Demonstrate your understanding by developing the pseudo code for this program.
(10)
Start
Declare variables
Print item no
Print candy name
Print item price
Print quantity
Stop

Question 1

1.1

Candy Names Item Number Price Quantity sold(in


rands)
Jelly fish 067 R15 R3600
Candy crush 007 R20 R5995
Blue jelly 332 R19.50 R4550
Jelly snakes 997 R7 R2300
Sour beans 007 R4.99 R1000
Sour tots 000 R18 R2490
Jelly tots 341 R14 R2890
Sour gums 665 R20.60 R5403.02
Gummy bears 376 R16 R3870
Pop rocks 936 R14 R3219
Funny dip 925 R18.10 R5732.60
Candy snakes 555 R25 R7000
Wine gums 774 R12 R3421
Milky mice 553 R11 R3465
Milky pop 759 R5 R1609
All sorts 332 R25 R6545
Candy con 321 R7 R2001
Tummy candy 774 R6.90 R2623.40
Fire balls 876 R18 R3821
Candy con 999 R19 R3987
1.2 Flow chart

Start

No
Selling
over Stop
R2000

Yes

Candy name

Candy number

Show candy
records

Stop
1.3 Pseudo code

Start

 Is this candy selling over R 2000 per month?


 If no stop
 If yes enter candy name
 Then enter candy number
 Show candy records

Stop

You might also like