computer

5
COMMUNICATING WITH COMPUTER • What is SYNTAX? SYNTAX refers to the rules governing the system. The language and the application. • What is a BUG? • An error is called a bug. A bug must be found and corrected, a process called debugging. • * many bugs are result of syntax error. But some are logic errors. * correcting logic error is using problem-solving process.

Upload: jasgeo

Post on 17-Dec-2015

212 views

Category:

Documents


0 download

DESCRIPTION

Application

TRANSCRIPT

CHAPTER 3: CONCEPTS OF PROGRAMMING

COMMUNICATING WITH COMPUTERWhat is SYNTAX? SYNTAX refers to the rules governing the system. The language and the application. What is a BUG?An error is called a bug. A bug must be found and corrected, a process called debugging.* many bugs are result of syntax error. But some are logic errors. * correcting logic error is using problem-solving process.

ORGANIZING THE SOLUTIONWhat is a local variable? Local variable are defined a module. It maybe only used by the module method.What is a global variable? Are defined outside of the individual modules. All modules have knowledge of global variables

PROBLEM MANAGEMENTUnderstand and analyse the requirements of the problem. Solve the problem using (PAC) Problem analysis Chart 1) The given data 2) The required results 3) The processing 4) A list of solution alternatives

INTERACTIVITY CHART.Divide the processing into sub tasks called modules. Connect these modules together to show the interaction of processing between the modules.Each module should contain the tasks to accomplish one function There will be one module which control & main modules. * IF there is 2 pca then ipo and interactivity chart must have 2 also.

INTERACTIVITY CHART.CONTROLREADCALCULATEPRINT