Thursday, November 27, 2008

PCO AFTERNOON

I. Identify the following

1. a set of step by step instructions that directs the computer to do a tasks.

2. a set of rules that provides a way of telling a computer what operations to perform.

3. converts the program into a form the computer can understand.

4. means detecting, locating and correcting errors.

5. is detailed written description of the program.

6. symbol that specifies decisions.

7. signifies the beginning and end fo a flow chart.

8. pictorial representation of a step by step solution to a problem.

9. a finite set of instructions that specify a sequence of operations to be carried out to solve a problem.

10. give at least 4 examples of conditional operators.

11. quantity or value which does not change.

12. is a name or symbol that is used as reference for a value.

13. information composed of more than one characters.

14. Give the basic data types.

15. 2 types of a variables.

16.used to describe certain operation, statement, or function of a program.

17. is the operation where we put a value on the variable.

18. a combination of variables, constant and operators.

19. hold either yes or no value.

20. any combination of characters that is enclosed in pair of quotes.

II. Enumeration:

1. Give at least 4 format specifier

2. Draw at least 5 flowcharting symbols with name on the right side.

3. Give at least 2 ways on how to declare a variable.

4. Give at least 2 naming conventions.

III. Discussion


1. What programmers do?


2. Why programming?


IV. Flowcharting.


Problem. Construct a flowchart that asks for the amount purchased by the customer. If the customer purchases more than 5000, then a 10 percent discount is given. Display the net amount to be paid by the customer.



V. Illustration.

Give the Structure of a C Program



Relaks and enjoy your exam.....