|
|
| Courses:CSC128 |
|
| CSC128, Tutorial |
| |
| Tutorial 2: |
Tutorial 2:
1. List five basic steps in the programming process. 2. Define an algorithm. 3. Define a flowchart. 4. Define a pseudocode. 5. What is syntax error? 6. What is logic error? 7. What is the purpose of documentation in a program? 8. What is the symbol used to represent input/output in a flowchart? 9. Ammar lives in Shah Alam that charges 3% income tax on yearly wages. He wants to write program that will display the income tax. Identify the input, process and output for the above problem. 10. Write pseudocode to calculate the change given back to the customer for the price of item bought at the supermarket. 11. a finance company will give a loan to a customer for buying a car based on the amount of the loan. If the loan is RM100,000 or more, the interest rate will be 3.5%, otherwise it will be 5% annually. Given the amount of loan and the period or repayment, draw a flowchart to calculate the amount of interest and the monthly payment or installment. |
| |
| |
|
| |
| |
| |
|
|
|
|
|
|
|
Untitled Document
Unlimited calls
Click here
|
Law firm System
Klik sini
 |
Dakwah tanggugjawab kita
Nabi menangis mengenangkan umatnya. Kasihanilah mereka yang masih tidak dapat mengenal Allah. Bantulah mereka....  |
Tadarus Hafazan
Tadarus Hafazan Sudah bermula. Sila hubungi admin jika ingin menyertai. Yuran adalah percuma. Klik sini untuk maklumat lanjut
|
| |
|
|
|