F.4 1st Term
1st
HW
This is just
the serval typing for three pascal programs and the output. You
can make use of these programs and work for it.
2nd HW
This includes
three pascal programs , they are used to :
1) Find the
sum and product of two integers
2) Find
the quotient and remainder of dividing the nominator by the denominator
3) Find the sum S of the first n natural number
3rd HW
This includes
three pascal programs , they are :
1) Find the
real roots of the quadratic equation
2) For a primary
2 student to learn multiplication of two numbers
3) A program
which the computer can determine the number you input into the computer
is either positive or negative and either even or odd
4th HW
This includes
three pascal programs , they are :
1) Use REPEAT
loop to print out the series
1, 3, 5, 7........, 97, 99 and work out the sum of this series
2) Use FOR loop
to print out the series
3, 6, 9, 12 ........, 96, 99 and work out the sum of the series
3) Use WHILE
loop to print out the series
2, 4, 8, 16........, 128, 256 and work out the sum of the series
5th
HW
This includes
two pascal programs, they are :
1) Print a
9 * 9 Multiplication Table
2) Print out
the outcomes of throwing 3 dice of any number of throws
F.4 2nd Term
1st HW
This includes
three Harder Problems with solutions.
2nd HW
This includes
three Harder Problem with solutions.
3rd HW
This includes
three problems from our textbook (Chapter 8: P.16 #2, P.17 #5, P.19 #2).
1) Print the substring of a strng by the use of the copy function. (P.16 #2)
Download
2) Print
the output of the sum of two input amounts in string starting with '$'.
(P.17 #5)
Download
3) To
insert a string into another string in desired position. (P.19
#2)
4th HW
This includes
F.4 2nd Term 1st Computer Test (I).
1) Question Paper
2) With Explanation
5th HW
(Easter Holiday HW)
This includes
a HKCEE program problem and a theory problem.
1) Solution for program problem
Download
2) Solution
for theory problem
6th HW
(Easter Holiday HW)
This includes
4 questions in F.4 Volumn 1 CS textbook and 2 questions in F.4 Volumn 2
CS textbook.
Volumn 1 CS
textbook
1) A
PASCAL program to receive an integer and print its digits in reverse order.
(p.146 #2)
2) A PASCAL pogram to draw a square. (p.146 #4)
3) A PASCAL program to convert the numeric value of a month to its corresponding English word. (p.147 #5)
4) A PASCAL
program that simulates tossing a coin ten times.
(p.149 #8)
Volumn 2 CS
textbook
1) A
PASCAL program to read the grades and their equivalent score boundaries
into arrays. This program can also accept a collection of test scores and
output the corresponding grades. (p.35 #6)
2) A PASCAL program which calculates the unpaid principle owed to the bank at the beginning of each month. (p.38 #2)