TVL Comprog11-Q3-M2
TVL Comprog11-Q3-M2
TVL Comprog11-Q3-M2
Technical Vocational
Livelihood
QUARTER
3 Computer Programming
Republic Act 8293, section 176 states that: No copyright shall subsist in
any work of the Government of the Philippines. However, prior approval of the
government agency or office wherein the work is created shall be necessary for
exploitation of such work for profit. Such agency or office may, among other things,
impose as a condition the payment of royalties.
Quarter 3
Self Learning Module 2
Elements and Fundamentals
of Programming
Writer: Jenessy Joy T. Pinga
Editors: Lerma Cantanero
Reviewers: Rowena O. Dimagiba
Introductory Message
Welcome to the Computer Programming for the ICT Module on Elements and
Fundamentals of Programming!
This module was collaboratively designed, developed and reviewed by educators from
Schools Division Office of Pasig City headed by its Officer-In-Charge Schools Division
Superintendent, Ma. Evalou Concepcion A. Agustin in partnership with the Local
Government of Pasig through its mayor, Honorable Victor Ma. Regis N. Sotto.
The writers utilized the standards set by the K to 12 Curriculum using the Most
Essential Learning Competencies (MELC) while overcoming their personal, social,
and economic constraints in schooling.
This learning material hopes to engage the learners into guided and independent
learning activities at their own pace and time. Further, this also aims to help learners
acquire the needed 21st century skills especially the 5 Cs namely: Communication,
Collaboration, Creativity, Critical Thinking and Character while taking into
consideration their needs and circumstances.
In addition to the material in the main text, you will also see this box in the body of
the module:
As a facilitator you are expected to orient the learners on how to use this module.
You also need to keep track of the learners' progress while allowing them to manage
their own learning. Moreover, you are expected to encourage and assist the learners
as they do the tasks included in the module.
For the learner:
Welcome to the Computer Programming for the ICT Module on Elements and
Fundamentals of Programming!
The hand is one of the most symbolized part of the human body. It is often used to
depict skill, action and purpose. Through our hands we may learn, create and
accomplish. Hence, the hand in this learning resource signifies that you as a learner
is capable and empowered to successfully achieve the relevant competencies and
skills at your own pace and time. Your academic success lies in your own hands!
This module was designed to provide you with fun and meaningful opportunities for
guided and independent learning at your own pace and time. You will be enabled to
process the contents of the learning material while being an active learner.
Lesson- This section will discuss the topic for this module.
Post-test - This will measure how much you have learned from
the entire module. Ito po ang parts ng module.
EXPECTATION
PRE–TEST
4. The predefined set of reserved words that have special meaning for the
compiler.
A. variables
B. keywords
C. data type
D. comment
• Visual Basic
• Start section
• Recent section
• Getting Started section
• Announcement section
• Solution Explorer section
LESSON
The process will be from source code to translator to binary which shows the
program.
Now we are going to use visual basic as our language in coding, but before we
begin in creating programs, we should be familiar with the following terms:
VB.Net Keywords
The following are the lists of the VB.Net reserved keywords.
AddHandler Alias As Byte
And Boolean ByVal
AddressOf
AndAlso ByRef Call
Case Each Like Overrides
Catch Else Long ParamArray
CBool ElseIf Loop Partial
CByte End Me Mod Private
CChar End If Module Property
CDate Enum MustInherit Protected
CDec Erase Public
MustOverrid
CDbl Error RaiseEvent
e
Char Event
MyBase
ReadOnly
CInt Exit
MyClass
ReDim
Class False
Namespace
REM
CLng Finally
Remove
CObj For Narrowing
Handler
Const Friend
New Resume
Continue Function
Next Return
CSByte Get
Not SByte
CShort GetType
Nothing Select
CSng GetXML
Not Set Shadows
CStr Namespace
Inheritable
CType
Shared
Global
CUInt
Not Short
GoTo
CULng Overridable
Single
Handles
CUShort
Static
If Object
Date
Step
Implements Of
Decimal
Stop
On
Declare
Imports String
Operator
Default
In Structure
Option
Delegate Sub
Inherits
Optional
Dim SyncLock
Integer
Or
DirectCast Then
Interface
OrElse
Throw
Is
Do Overloads
To
IsNot
Double Overridable
True
Let Lib
Try UInteger With WriteOnly
TryCast While WithEvents Xo
TypeOf Widening
Identifiers
An identifier is a name used to identify a class, variable, function, or any other
user-defined item. The basic rules for naming classes in VB.Net are as follows −
• A name must begin with a letter that could be followed by a sequence of
letters, digits (0 - 9) or underscore. The first character in an identifier
cannot be a digit.
• It must not contain any embedded space or symbol like ? - +! @ # % ^ & *
( ) [ ] { } . ; : " ' / and \. However, an underscore ( _ ) can be used.
• It should not be a reserved keyword.
ACTIVITIES
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
_______________________________________________.
Rubrics:
Needs Score
Very Good Good
improvement
Knowledge
Does your response clearly
show you have read and
understand the lesson content 10 6 2
by correctly defining key terms,
key persons and
summarizing concepts?
Analysis
Have you clearly stated
analysis and give examples to
back them up? 10 6 2
Does your response provide
analysis to the larger concepts
of the lesson?
Total /20
WRAP–UP
Rubrics:
Needs Score
Very Good Good
improvement
Knowledge
Does your response clearly
show you have read and
understand the lesson content 5 3 2
by correctly defining key terms,
key persons and
summarizing concepts?
Analysis
Have you clearly stated
analysis and give examples to
back them up? 5 3 2
Does your response provide
analysis to the larger concepts
of the lesson?
Total /10
VALUING
2. How will you use the knowledge you acquired in this module?
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
POST TEST
Instruction: Select the letter that corresponds to the correct answer.
4. It is the act of finding out where in the code the application is going
wrong.
A. statement
B. project
C. solution
D. debug
KEY TO CORRECTION
C 5. B 5.
B 4. D 4.
A 3. A 3.
B 2. A 2.
D 1. D 1.
Pre-test: Post-test:
REFERENCES
• Accessed November 6, 2020 3:30pm
https://www.tutlane.com/tutorial/visual-basic
• Accessed November 9, 2020 4:00pm https://www.tutorialspoint.com/vb.net
• Computer Programming Volume I by Innovative Training Works, Inc.
• Computer Programming Volume II by Innovative Training Works, Inc.