Beruflich Dokumente
Kultur Dokumente
(GUIDE)
COURSE DESCRIPTION The course introduces the concepts of computing. It includes the
use of the different flow chart symbols, basics of decision control
structures, looping statements and the different number systems.
COURSE OUTLINE Week 1 A. Programming Process, naming variables and
symbols
Week 2 B. Flow chart and pseudocode statements
Week 3 C. Evolution of programming models
Week 4 D. Unstructured Spaghetti Code
Week 5 E. Recognizing Structure
Week 6 F. Making Decision
Week 7 G. Logical Operator (AND and OR Logic)
Week 8 H. Decision Tables
Week 9 I. Midterm Exam
Week 10 J. Advantages of Looping
Week 11 K. Controlling Loops with counters and sentinel
values
Week 12 L. Nested Looping
Week 13 M. Avoiding Common Loops
Week 14 N. Using a for Loop and Posttest Loops
Week 15 O. Common Loop Application
Week 16 P. Binary Numbers
Q. Octal Numbers
Week 17 R. Decimal Numbers
S. Hexadecimal Numbers
Week 18 T. Final Exam
CHAPTER # 1
TITLE Programming Process, naming variables and symbols
I. RATIONALE Studying this module equips you with the knowledge of
Program Logic Formulation, its logical equation, computation,
evaluation and logical thinking.
INSTRUCTION TO THE USERS Read and understand the contents of the topics to be discussed
in this module. You may start using this module upon
instruction from your instructor or align it with the schedule
of the course outline. Closure activities and assignments are
provided in this module to test your knowledge and
understanding of the topics. For synchronous learners, your
closure activities are to be answered during the online
discussion, and assignments are to be submitted online when
your instructor tells you to do so. For asynchronous learners,
you are to submit your outputs to the closure activities, and
assignments (answer all), For the evaluation assessment test,
wait for further instructions from your instructor.
PRE-TEST
II. LEARNING After the duration of this module, the learner should be able
OBJECTIVES to:
a. Understand computer components and its operations
and learn the steps involved in the programming
process
III. CONTENT What is Data?
A. PREPARATORY Data are raw facts and figures which are meaningless.
ACTIVITIES Real data may be characters, numbers, or images
Ex. 140lb
65 inches
Jack
Characteristics of data
Data are the raw materials of information
Data is a distinct piece of information
Data must be disorganized or unprocessed
What is Information?
Information is the simplified form of data.
When the data is processed or organized it becomes
information.
Approaches in Organizing data:
Classifying
Sorting
Summarizing
calculating
Ex. of Information
The average height or weight of several people,
suppose 62 inch, is an information
Problem Analysis
It is the step wherein a good definition of the problem
are considered and the program specification are
developed.
E.x. Create a program that accept two numbers, and outputs
which is greater than the other. Otherwise output if both are
equal.
Program specification is a document being prepared
as a part of system design which contain the
following:
Program Background
I/O Specifications
Program Methodology
Program Design
It is the stage where logical sequence/ arrangement of
operations for the solution have to be planned,
consistent with the program specifications.
Algorithm is a written series of logical instructions
which accomplish solution to a problem.
Algorithms are developed by using any of the program
design tools such as structure charts, flowcharts,
decision table, pseudo codes, etc.
Program Coding
Coding – is the process of writing the actual program
steps in the proper format for a particular
programming language
Factors that may affect the programming language
used are:
Suitability
Integration
Standards
Portability
Development speed
Program Documentation
It entails the preparation of a document describing
how the program is constructed, together with all the
significant resources surrounding its creation
This phase is performed at every stage of the program
development such that an output of each development
stage is documented
Data items
All the text, numbers, and other information that are
processed by a computer
Stored in variables in memory
Different forms
Variables
Literals, or unnamed constants
Named constants
C. CLOSURE Summary
ACTIVTIES
Together, computer hardware (physical devices) and software
(instructions) accomplish three major operations: input,
processing, and output. You write computer instructions in a
computer programming language that requires specific syntax;
the instructions are translated into machine language by a
compiler or interpreter. When both the syntax and logic of a
program are correct, you can run, or execute, the program to
produce the desired results.
For a program to work properly, you must develop correct
logic. Logical errors are much more difficult to locate than
syntax errors.
A programmer’s job involves understanding the problem,
planning the logic, coding the program, translating the
program into machine language, testing the program, putting
the program into production, and maintaining it.
Software consists of the programs that tell the computer what to do.
Programs are sets of instructions for a computer.
System software comprises the programs that you use to manage your
computer.
Input describes the entry of data items into computer memory using
hardware devices such as keyboards and mice.
V. EVALUATION Chapter Quiz