Professional Documents
Culture Documents
Competency Based Learning Material: Computer Systems Institute
Competency Based Learning Material: Computer Systems Institute
Sector:
ICT
Qualification:
Computer Programming NC IV
Unit of Competency:
APPLY PROGRAMMING SKILLS IN A SECOND LANGUAGE
Module Title:
APPLYING PROGRAMMING SKILLS IN A SECOND LANGUAGE
You may already have some or most of the knowledge and skills covered in this
learner's guide because you have:
If you can demonstrate to your trainer that you are competent in a particular
outcome, you don't have to do the same training again.
Talk to your trainer about having them formally recognized. If you have a
qualification or Certificate of Competence from previous training, show it to you r trainer.
If the skills you acquired are still current and relevant to the unit/s of competency they
may become part of the evidence you can present for RPL. If you are not sure about the
currency of your skills, discuss this with your trainer.
Inside this learner's guide you will find the activities for you to complete and at the
back are the relevant information sheets for each learning outcome. Each learning
outcome may have more than one learning activities.
At the back of this learner's guide is a Learner Diary. Use this diary to record
important dates, jobs undertaken and other workplace events that will assist you in
providing further details to your trainer or an assessor. A Record of Achievement is
also provided for your trainer to complete once you complete the module.
MODULE CONTENT
MODULE DESCRIPTOR:
LEARNING OUTCOMES
CONTENTS:
ASSESSMENT CRITERIA
1. Observed basic language syntax rules and best practice based on the
standard of specific programming language.
2. Used language data types, operators and expressions based on the standard
of specific programming language.
3. Used appropriate language syntax for sequence, selection and iteration
constructs based on the standard of specific programming language.
CONDITION:
1.Workplace
2.Equipment
Computer set with Dev C++ compiler installed
3.Learning materials
ASSESSMENT METHOD:
1.Written test
2.Practical test
3.Oral questioning
Learning Experiences
Learning Outcome 1
Learning Objective:
After reading this INFORMATION SHEET, YOU MUST be able to identify and
understand C Language, its origin, and the skeleton of a C Program.
What is C Language?
C is a general-purpose computer programming language developed in 1972 by
Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating
system.
Although C was designed for implementing system software, it is also widely used
for developing portable application software.
C is one of the most popular programming languages and there are very few
computer architectures for which a C compiler does not exist. C has greatly influenced
many other popular programming languages, most notably C++, which began as an
extension to C.
History of C
The milestones in C's development as a language are listed below:
UNIX developed c. 1969 -- DEC PDP-7 Assembly Language
BCPL -- a user friendly OS providing powerful development tools developed from
BCPL. Assembler tedious long and error prone.
A new language ``B'' a second attempt. c. 1970.
A program skeleton may be utilized as a template that reflects syntax and structures
commonly used in a wide class of problems.
Constant Variable
A constant variable is an identifier whose associated value cannot typically be
altered by the program during its execution (though in some cases this can be
circumvented, e.g. using self-modifying code). Many programming languages make an
explicit syntactic distinction between constant and variable symbols.
Although a constant's value is specified only once, a constant may be referenced many
times in a program. Using a constant instead of specifying a value multiple times in the
program can not only simplify code maintenance, but it can also supply a meaningful
name for it and consolidate such constant bindings to a standard code location (for
example, at the beginning).
Ex.
#define PI 3.1416
#define zero 0
#define one 1
Function
A function (also called procedure, subroutine, routine, method, or subprogram) is
a portion of code within a larger program that performs a specific task and is relatively
independent of the remaining code.
Function Prototype is a declaration of a function that omits the function body but
does specify the function's name, arity, argument types and return type. While a function
definition specifies what a function does, a function prototype can be thought of as
specifying its interface.
Ex.
int fac(int no);
void sam(int x);
Global Variable
A global variable is a variable that is accessible in every scope (unless
shadowed). Interaction mechanisms with global variables are called global environment
(see also global state) mechanisms. The global environment paradigm is contrasted with
the local environment paradigm, where all variables are local with no shared memory
(and therefore all interactions can be reconducted to message passing).
They are usually considered bad practice precisely because of their non-locality: a global
variable can potentially be modified from anywhere (unless they reside in protected
memory or are otherwise rendered read-only), and any part of the program may depend
on it.[1] A global variable therefore has an unlimited potential for creating mutual
dependencies, and adding mutual dependencies increases complexity. See action at a
distance. However, in a few cases, global variables can be suitable for use. For example,
they can be used to avoid having to pass frequently-used variables continuously
throughout several functions.
Global variables are used extensively to pass information between sections of code that
do not share a caller/callee relation like concurrent threads and signal handlers.
Languages (including C) where each file defines an implicit namespace eliminate most of
the problems seen with languages with a global namespace though some problems may
persist without proper encapsulation. Without proper locking (such as with a mutex),
code using global variables will not be thread-safe except for read only values in
protected memory.
Ex.
struct account {
main() Function
The main function is where a program starts execution. It is responsible for the
high-level organization of the program's functionality, and typically has access to the
command arguments given to the program when it was executed.
Ex.
Local Variable
Ex.
Int x;
Char y;
Float z;
Self-Check 1.1-1
Instruction: Write the letter of the correct answer on your answer sheet.
Answer Key
Self-Check 1.1-1
1. D
2. C
3. B
4. A
5. D
6. C
7. B
8. A
9. E
10. B
Learning Objective:
After reading this information sheet the trainee must identify, understand and
apply all basic elements of programming.
Variables: These will how data is represented. It can range from something very
simple, such as the age of a person, to something very complex, such as a record
of university students holding their names, ages, addresses, what courses they
have taken, and the marks obtained.
Loops: This will allow us to carry out execution of a group of commands a certain
number of times.
Conditionals: This will specify execution of a group of statements depending on
whether or not some condition is satisfied.
Input/Output: This will allow interaction of the program with external entities. This
might be as simple as printing something out to the terminal screen, or capturing
some text the user types on the keyboard, or it can involve reading and/or writing
to files.
Operators: Programming languages typically support a set of operators:
operations which differ from the language's functions in calling syntax and/or
argument passing mode. Common examples that differ by syntax are
mathematical arithmetic operations, e.g. ">" for "greater than", with names often
outside the language's set of identifiers for functions, and called with a syntax
different from the language's syntax for calling functions. Common examples that
differ by argument passing mode are boolean operations, e.g. a short-circuiting
To write a program, we must select names for variables or identifiers to store data
and to give name in a high-level language. It must satisfy the following rules:
It must start with letters A-Z or a-z or an underscore character
It must consist of only letters A-Z or a-z, digits 0-9 and underscore character
It must not be a keyword
C is case-sensitive, i.e. Value and value are not the same
Must begin with non-digit character, i.e. 2nd chance is invalid
Reserved words:
2 values in C
Data type is some reserved words used to specify a value. Different storage
space would be allocated depends on data type.
Integral data type may also be either short or long, whereby it tells the computer
the size of the integral number. In most of the cases, short is 16bits and long is 32bits.
Real numbers, those numbers with decimal points, are stored a floating-point data
types. For floating-point values, the computer stores mantissa and the exponent. The
memory space allocated to the number is fixed, depending on the data type we declare,
and is divided between mantissa and exponent.
There are three different floating-point data types: float, double, and long double.
These data types are differ from each other in terms of the size. Generally, a float is
32bits, a double is 64bits, and a long double is 80bits. Unlike integral data-types,
floating-point data types always allow positive or negative values, and so cannot have
signed or unsigned.
1. Integer – int
2. Floating-point – float
3. Character – char
Declaration
Whenever we use a value or a variable, we will declare it and its data type.
Variables must be explicitly declared before they are used. Each declaration statement in
C must end with a semicolon. There are various way of declaring a variables, and the
following are some examples:
Syntax:
Data_type Variable_name;
Examples:
int number;
int NetPay;
Arithmetic Expression
Integer Arithmetic
C performs its arithmetic to the data-types on which it is currently operating. If the
data-types in a particular operation are integer then the result will also be integer. When
dividing an integer the result will be an integer – a truncated version of what a floating-
point division would yield. The result of expression 3/2 is 1. Not 1.5. Since both 3 and 2
are integers, an integer calculation will be done, producing an integer result. There is not
a round-off but a truncation; the result is not 2 but 1.
The remainder (or modulus) operator - % symbol, is valid only with positive
integers. The result of is the remainder after dividing the value before the operator by the
value after the operator. The result of an expression 5 % 3 is 2 because 5 divided by 3 is
1 with the remainder of 2. The following are more examples of remainder operation in C.
Example:
13 % 3 = 1;
1 % 5 = 1;
1 % 3 = 1;
8 % 3 = 2;
Example:
#include<stdio.h>
main(){
printf(“hello world!”);
}
Conversion Codes
Size Modifiers
Size modifier normally appears before the type specifier. We may set the
minimum width of a print field by putting a number before the type specifier, if one exists.
The format of the size modifier with width and precision is as below.
%[width][precission][size]specifier
Table 1-5: Size Modifiers
Statement Output
Output Examples:
1). printf(“HELLO WORLD!”);
Prompts
The printf() before the scanf() is known as prompt. The printf() exist to display
something on the screen to tell the person at the keyboard what to type.
Flushing the Input Stream
}
Output:
Enter value for an int and a long: 524 79735
Your int is 524 and long is 79735
Program 1-2:
#include<stdio.h>
void main(){
int x, y, ans;
printf(“Enter a number: “);
scanf(“%i”, &x);
printf(“Enter another number: ”);
scanf(“%i”, &y);
ans = x + y;
printf(“The sum of %i + %i is: %i”, x, y, ans);
}
Relational Operators
Relational operator is a programming language construct or operator that tests or
defines some kind of relation between two entities. These include
numerical equality (e.g., 5 = 5) and inequalities (e.g., 4 ≥ 3). In programming languages
that include a distinct boolean data type in their type system, like Java, these operators
return true or false, depending on whether the conditional relationship between the
two operands holds or not. In other languages such as C, relational operators return the
integers 0 or 1. Relational operators are used in conditions. Condition’s outcome is either
true or false.
Ex.
Logical Operators:
RULES:
OR Operator AND Operator
Self-Check 1.1-2
Instruction: Matching type. Write the letter of the correct answer on your answer sheet.
Answer Key
Self-Check 1.1-2
1. h
2. l
3. j
4. n
5. f
6. a
7. m
8. k
9. d
10. b
11. e
12. i
13. g
14. o
15. c
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee choose and use the appropriate output function w/
appropriate syntax?
8. Did the trainee successfully compile and run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee choose a valid variable name?
8. Did the trainee declare a local variable with integer data type?
9. Did the trainee assign a whole number to the variable declared in
procedure no. 7 with an appropriate syntax?
10. Did the trainee select a conversion code corresponding to the
variable’s data type?
11. Did the trainee use the conversion code to display the value of the
variable with an appropriate syntax?
12. Did the trainee successfully compile & run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee choose a valid variable name?
8. Did the trainee declare a local variable with integer data type?
9. Did the trainee use printf() function to display “Enter a letter: ”?
10. Did the trainee use scanf() function to fetch user’s input w/ the
appropriate string control?
11. Did the trainee use printf() function to display the user’s input w/
the appropriate conversion code?
12. Did the trainee successfully compile & run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee choose three valid variable names?
8. Did the trainee declare the selected variable names with an
integer data type?
9. Did the trainee use printf() function to display “Enter a letter1: ”?
10. Did the trainee use scanf() function to fetch user’s input w/ the
appropriate string control to store the input to the first variable?
11. Did the trainee use the printf() function to display “Enter a
number2 : ”?
12. Did the trainee use scanf() function to fetch user’s input w/ the
appropriate string control to store the input to the second
variable?
13. Did the trainee use an expression that will assign the sum of the
two variable’s value into the third variable?
14. Did the trainee use printf() function to display the value of the
third variable w/ the appropriate conversion code
15. Press F5 to compile and run the program?
Learning Objective:
1. Identify and apply the operators that can be use in creating condition.
2. Identify and apply the three control structures.
3. Apply calculation based on loops.
Structured Programming
Sequence – The instructions are executed in a serial manner, one after another.
Selection – It provides a decision point that enables the program to choose one
between two or more pathways.
Iteration – Repeats a set of instructions a number of times based on the condition
stated.
Condition
A condition enables the program to perform certain task base on the outcome of
evaluation. The statements would not be in any sequence whereby some statements
might be not executed. Execution is normally base on the outcome of conditions – true or
false. A condition contains one or more comparisons that relate one to another.
Ex.
6<10
10>2
5<=10
10>=10
0!=1
A==B
Logical Operators
|| OR
&& AND
! Logical Not
Ex.
6<10 || 10>5
34!=10 && X==5
1. Sequence – You have encounter already this kind of program constructs from the
previous information.
Example:
#include<stdio.h>
main(){
int number;
printf(“Enter a number: ”);
scanf(“%i”, &number);
printf(“You entered %i”, number);
}
2. Selection - under selection structure, we have two kinds of statements that we can
use:
If & else statement
Syntax:
Single if – the body of if statement will be executed only if the
condition’s.
Syntax:
Example:
#include<stdio.h>
#include<conio.h>
main(){
int x;
printf(“Enter number: ”);
scanf(“%i”, &x);
if(number>=5){
printf(“You entered a value greater than four”);
}
getch();
}
If & else – the body of “if” will be executed if the condition’s outcome
is true, if false, the body of “else” statement will be executed.
Syntax:
if(condition){
body/statement;
}
Else{
Body/statement;
}
Example:
#include<stdio.h>
#include<conio.h>
main(){
int x;
printf(“Enter number: ”);
scanf(“%i”, &x);
if(number>=5){
printf(“You entered a value greater than four”);
}
else{
printf(“You entered a value less than five”);
}
getch();
If, else if & else – if the condition’s outcome of “if” statement is true,
its body will be executed but if not it will test the condition of “else if”
statement, if it is true it will be executed and if not it will execute the
body of “else” statement.
Example:
#include<stdio.h>
#include<conio.h>
main(){
int x;
printf(“Enter number from 1 - 3: ”);
scanf(“%i”, &x);
if(number==1){
printf(“You entered one”);
}
else if(number==2){
printf(“You entered two”);
}
else if(number==3){
printf(“You entered three”);
}
else{
printf(“Invalid Input!”);
}
getch();
}
switch(basis){
case 1: statement;
break;
case 2: statement;
break;
case n: statement:
break;
default: statement;
break;
}
Example:
3. Iteration
Pre-test Loop - while loop is a control flow statement that allows code to be
executed repeatedly based on a given boolean condition. The while loop can
be thought of as a repeating if statement.The while construct consists of a
block of code and a condition. The condition is evaluated, and if the condition
is true, the code within the block is executed. This repeats until the condition
becomes false. Because while loop checks the condition before the block is
executed.
Syntax:
while(condition){
statement;
}
Example:
#include<stdio.h>
#include<conio.h>
main(){
int x=1;
while(x<=5){
printf(“%i ”,x);
x=x+1;
}
getch();
}
Syntax:
do{
statement;
} while(condition);
Example:
#include<stdio.h>
#include<conio.h>
main(){
int x=1;
do {
printf(“%i ”,x);
x=x+1;
} while(x<=5);
getch();
}
Syntax:
for(initialization;condition;counter){
statement;
}
Example:
#include<stdio.h>
#include<conio.h>
main(){
int x;
for(x=1;x<=5;x++) {
printf(“%i ”,x);
}
getch();
}
Self-Check 1.1-3
Instruction: Write the letter of the correct answer on your answer sheet.
1. It provides a decision point that enables the program to choose one between two
or more pathways.
a. Selection b. Iteration c. Sequence d. Loop
2. It enables the program to perform certain task base on the outcome of evaluation.
a. Loop b. Condition c. Sequence d. Expression
3. Repeats a set of instructions a number of times based on the condition stated.
a. Sequence b. Selection c. Iteration d. Loop
4. The instructions are executed in a serial manner, one after another.
a. Sequence b. Selection c. Condition d. Iteration
5. The technique of structured programming simplifies the programming process by
using only three types of programming patterns called _________.
a. Condition b. Control Structures c. Loop d. Database
Answer key
Self-Check 1.1-3
1. A
2. B
3. C
4. A
5. B
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee declare three valid variables w/ appropriate data
types?
8. Did the trainee relational operators to form a condition?
9. Did the trainee use a pre-test loop to display “hello world” three
times
10. Did the trainee use mathematical operators to form an
expression that will increment the value of the variable every
time it loops?
11. Did the trainee successfully compile and run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee declare three valid variables w/ appropriate data
types?
8. Did the trainee relational operators to form a condition?
9. Did the trainee use a post-test loop to display “hello world” three
times
10. Did the trainee use mathematical operators to form an
expression that will increment the value of the variable every
time it loops?
11. Did the trainee successfully compile and run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee declare three valid variables w/ appropriate data
types?
8. Did the trainee relational operators to form a condition?
9. Did the trainee use a counter-controlled loop to display “hello
world” three times
10. Did the trainee use mathematical operators to form an
expression that will increment the value of the variable every
time it loops?
11. Did the trainee successfully compile and run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee declare a valid & required variable with an integer
data type?
8. Did the trainee use a relational operator to form a condition?
9. Did the trainee decide and use which loop to be used(Nested
Loop)
10. Did the trainee use mathematical operators to form an
expression that will calculate the product of the variable every
time it loops?
11. Did the trainee use printf() function w/ appropriate conversion
code to display the result every time it loops that will form a
multiplication table?
14. Did the trainee use any selection statement to align the output
identify and create next line.
12. Did the trainee successfully compile & run the program?
Plan
ASSESSMENT TOOLS
Written Test
Answer Key
1. D
2. C
3. B
4. A
5. D
6. C
7. B
8. A
9. E
10. B
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee choose three valid variable names?
8. Did the trainee declare the selected variable names with an integer data
type?
9. Did the trainee use printf() function to display “Enter a letter1: ”?
10. Did the trainee use scanf() function to fetch user’s input w/ the
appropriate string control to store the input to the first variable?
11. Did the trainee use the printf() function to display “Enter a number2 : ”?
12. Did the trainee use scanf() function to fetch user’s input w/ the
appropriate string control to store the input to the second variable?
13. Did the trainee use an expression that will assign the sum of the two
variable’s value into the third variable?
14. Did the trainee use printf() function to display the value of the third
variable w/ the appropriate conversion code
15. Press F5 to compile and run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee declare a valid & required variable with an integer
data type?
8. Did the trainee use a relational operator to form a condition?
9. Did the trainee decide and use which loop to be used(Nested Loop)
10. Did the trainee use mathematical operators to form an expression
that will calculate the product of the variable every time it loops?
11. Did the trainee use printf() function w/ appropriate conversion code
to display the result every time it loops that will form a multiplication
table?
12. Did the trainee use any selection statement to align the output
identify and create next line.
13. Did the trainee successfully compile & run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee choose and use a valid header file w/ appropriate
syntax?
6. Did the trainee use the main function with appropriate syntax?
7. Did the trainee declare a valid & required variable with an integer
data type?
8. Did the trainee use a relational operator to form a condition?
9. Did the trainee decide and use which loop to be used(Nested
Loop)
10. Did the trainee use mathematical operators to form an
expression that will calculate the product of the variable every
time it loops?
11. Did the trainee use printf() function w/ appropriate conversion
code to display the result every time it loops that will form a
multiplication table?
12. Did the trainee use any selection statement to align the output
identify and create next line.
13. Did the trainee successfully compile & run the program?
Assessment Method:
CRITERIA Yes No
1. Did the trainee found and click start button?
2. Did the trainee found and click all programs?
3. Did the trainee found and click bloodshed?
4. Did the trainee found and click Dev C++ Compiler?
5. Did the trainee open his/her own source code?
6. Did the trainee successfully run his/her program?
7. Did the trainee tests the program for errors?
8. Did the trainee explain the source code?
Inventory of Tools
Print- Non-print
Competency Tools Equipments
materials Materials
BASIC
1. Utilize specialized communication skills
1.1. Apply communication CBLM Presentation Ballpen Computer &
strategies Coupon Projector
Bond
1.2. Represent the CBLM Presentation Ballpen Computer &
organization in internal Coupon Projector
and external forums Bond
2. Develop teams and individuals
2.1. Determine development CBLM Presentation Ballpen Computer &
needs Coupon Projector
Bond
2.2. Foster individual and CBLM Presentation Ballpen Computer &
organizational growth Coupon Projector
Bond
2.3. Monitor and evaluate CBLM Presentation Ballpen Computer &
workplace learning Coupon Projector
Bond
2.4. Development team CBLM Presentation Ballpen Computer &
commitment and Coupon Projector
cooperation Bond
3. Apply problem solving techniques in the workplace
3.1. Analyze the problem CBLM Presentation Ballpen Computer &
Coupon Projector
Bond
3.2. Identify individual and CBLM Presentation Ballpen Computer &
organizational growth Coupon Projector
Bond
3.3. Determine possible CBLM Presentation Ballpen Computer &
solution Coupon Projector
Bond
3.4. Prepare communication CBLM Presentation Ballpen Computer &
or documentation report Coupon Projector
Bond
3.5. Present CBLM Presentation Ballpen Computer &
recommendation to Coupon Projector
Declaration – the process of defining a method, classes, types and others on the
system.
Expressions – is anything that can be simplified into a single value, such as formula.
Conversion Codes: Are used to reserve space in the output for some other values to be
print.
Output – means display messages and values on screen and/or the processed input.
Conversion codes – are symbols used to reserve space in the output for some other
values to be displayed.
Condition: Enables the computer program to perform certain task base on the outcome
of evaluation.
Sequence – A program construct that Executes the statements in a serial manner, one
after another.
Selection – A program construct that enables the program to choose one between two
or more pathways based on the condition/basis stated.
Iteration – A program construct that repeats a set of instruction a number of times based
on the condition stated.
Array – is a consecutive storage location in computer’s memory that store’s similar type
of data. Is a collection of data with the same data type.
Database - consists of an organized collection of data for one or more multiple uses.
Reserved words – are words with a special meaning and/or with a special function.
References: