Professional Documents
Culture Documents
Ict Revision WS
Ict Revision WS
Ict Revision WS
CLS
ans$ = "Y"
PRINT "Which algorithm do you want to continue with? A-Perimeter of rectangle B-Area of
triangle C-Avg marks of core subjects D-Product of 2 numbers E-Circumference of circle"
INPUT Program_Answer$
P=l*2+b*2
INPUT ans$
A = 1 / 2 * (b * h)
INPUT ans$
INPUT ans$
INPUT ans$
INPUT ans$
END IF
LOOP
-X-X-X-
Question 2:-
CLS
ans$ = "Y"
PRINT "Choose which task you want to continue with. A:Convert hours into minutes B:Convert
volume from Litres to millilitres C:Convert grams to kilogram D:Convert kilometre to centimetre"
INPUT Product_Answer$
IF Product_Answer$ = "A" THEN
mins = hrs * 60
INPUT ans$
INPUT ans$
INPUT ans$
INPUT ans$
END IF
LOOP
-X-X-X-
Question 3:-
CLS
ans$ = "Y"
PRINT "Choose which task you want to continue with. A:Average of subjects to determine pass or
fail B:Minimum value between 2 numbers C:Herbivore or carnivore D:Shape rectangle or
square"
INPUT product_answer$
avg = eng + bio + chem + physics + math + hindi + geo + hist + ict / 9
PRINT "Pass"
END IF
INPUT ans$
END IF
INPUT ans$
END IF
INPUT ans$
PRINT "Are all sides of the shape equal? 'Y' or 'N' only"
INPUT sides$
END IF
PRINT "Do you want to continue? 'Y' or 'N' only"
INPUT ans$
END IF
LOOP
-X-X-X-X-
Question 4:-
CLS
ans$ = "Y"
PRINT "Choose which program you want to continue with. A:100 to 50 in reverse order
B:Print a name 5 times C:print even numbers from 20 to 30"
INPUT product_answer$
PRINT ctr
ctr = ctr - 1
NEXT
INPUT ans$
FOR ctr = 1 TO 9
PRINT name$
ctr = ctr + 1
NEXT
PRINT ctr
ctr = ctr + 1
NEXT
INPUT ans$
END IF
LOOP
-X-X-X-X-