Professional Documents
Culture Documents
Year11 Homework Term1
Year11 Homework Term1
Start
DECLARE Name_list : ARRAY [1, 5] OF STRING
Name_list “Hamza”, “Afaq”, “Vroyur”, “Hammad”, “Ehab”
FOR i FROM 1 to 5
OUTPUT Name_list[i]
END FOR
END
[2]
Q2
START
FOR i from 1 to 50
OUTPUT Name[i]
END FOR
END
Q3
INPUT Number
OUTPUT Number
END WHILE
END
Q4 write a program code in python, to find out the largest of 3 numbers using functions. Implement
and give the evidence of your code and output. Make sure to print your name in code. [4]