Grade 12 Ict (new curriculum) p.207
1. Use branching statement to write a program that reads student mark, and
determine pass if the mark is greater or equal to 50; otherwise, print fail.
2. Given letters = “ABCDEFGHIJKLMNOPQRSTUVWXYZ”:
a. Write a for loop statement to print a character per line in each
iteration.
b. Repeat the for loop but the character should print in a single line.
3. Write a program based on the following requirements.
a. Prompt the user to input an integer number from the keyboard.
b. Then print all sequences of numbers from 1 to the input number.
c. Display the data type of the variable before and after the
reassignment.
4. Write a program that performs the arithmetic operation (+, -, *,/).
Hint: Ask the user to enter the operation to perform(1 for addition, 2
for subtraction, 3 for multiplication, and 4 for division;Otherwise, print
invalid input.
200 I nformatIon t echnology g rade 12 ~ S tudent t extbook