Course Content
Flow charts – The easy concept
Dealing with 1D Arrays
Dealing with 2D Arrays
Linear search with !D Array – The common pattren
Bubble Sort – The common Pattren
Modular Programming – Concept of Procedures and Functions
Handling Errors in Pseudocode
File Handling
File handling – with 1D Array
Logic Gates
Databases
Computer Science 2210 : Olevel : Full Course

Q 2: Write a Pseudocode for an ice cream selling van which inputs flavorname, required scoops and produce output as bill. Flavors are vanilla, chocolate, tutti-fruity. Per scoop price is 45 Rs.

DECLARE FLAVORNAME: STRING
DECLARE SCOOPS: INTEGER
CONSTANT PRICE: INTEGER ← 45
DECLARE TOTAL: INTEGER
OUTPUT “ENTER FLAVOUR NAME:”
INPUT FLAVOURNAME
OUTPUT “ENTER SCOOPS REQUIRED:”
INPUT SCOOPS
TOTAL ← SCOOPS* PRICE
OUTPUT “”
OUTPUT “=======INVOICE=======”
OUTPUT “FLAVOUR NAME:”, FLAVORNAME
OUTPUT “SCOOPS:”,SCOOPS
OUTPUT “PER SCOOP PRICE:”,PRICE
OUTPUT “BILL:”,TOTAL
OUTPUT “===================”

Create same python code here :