STUDENTCOPY10TVEProgramming q1 Module1 BasicConcepts
STUDENTCOPY10TVEProgramming q1 Module1 BasicConcepts
Technical – Vocational
Education (TVE)
Programming in Visual Basic 2010
Quarter 1 – Module 2:
Basic Concepts and Principles of
Programming
TVE – ICT (Programming in Visual Studio 2010) 10
Quarter 1 – Module 4: Basic Concepts and Principles of
Programming First Edition, 2020
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.
Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names,
trademarks, etc.) included in this module are owned by their respective copyright
holders. Every effort has been exerted to locate and seek permission to use these
materials from their respective copyright owners. The publisher and authors do not
represent nor claim ownership over them.
ii
What I Need to
Know
Hello, Grade 10 Learners! This module is designed to help you fully
understand the Basic Concepts and Principles of Programming and some
related terms. Feel free to explore each part and accomplish each activity at
your own pace.
This module is here to guide you through this lesson. In case you were
not able to follow and understand some instances, you can always go back
to that part.
The module is divided into:
Lesson 1 – Basic Concepts and Principles of Programming
What I Know
What’s In
What’s New
Program Defined
Program is a series of instructions that can be put into a computer in
order to make it perform an operation. A computer program is written in
programming language that follows a set of rules in instructing the computer
what operations to perform. Programming is the process of creating a
program
What is Algorithm?:
https://www.youtube.com/watch?v=6hfOvs8pY1k
Arrange the following steps in creating a GMAIL account. Write the number
on the
space provided. Write “1” for the first step, “2” on the second step, and so
on.
Go to www.gmail.com.
What is It
Program Development Life Cycle (PDLC)
Program development life cycle is a sequence of steps followed
to create a program. It is also known as Five-Step Process in
Programming.
1. Define the Problem
Knowing the objective is the first consideration. Knowing who will use
the program is also important. Determining the inputs and outputs is next.
How will the program operate and what data is needed to make it happen?
After this has been decided viability is the next consideration. How many
programmers will it take, is the project within budget, does the project have
a realistic outline? Finally, if the project is a go, then one must take
measures to ensure the project is properly documented and analyzed.
As stated, debugging will uncover errors in both logic and syntax. Syntax
errors will prevent the program from executing. They can be such simple things
as misspelled words or can involve breaking the syntax rules of the
programming la nguage used.
On the other hand, logic errors will allow the program to run but will provide
incorrect results. Errors of this kind may consist of merely using the wrong
relational operator or other, larger, mistakes in writing formulas.
Once the programmer locates the errors they are then fixed and the
program is run again. This will happen multiple times, often called “execute,
check, and correct”, until the program runs flawlessly.
5. Program Documentation
Documentation should be ongoing from the very beginning because it
is needed for those involved with program now and future. Upon completion
User Documentation for commercial use, Operator Documentation for
people who run computer systems, and Programmer Documentation for
programmers charged with maintenance.
What’s More
Activity 3.
Follow-up questions:
1. Can you explain why it's essential to define a problem clearly before attempting to
solve it through programming or any other means?
2. Imagine you're explaining your steps to someone who has never heard of the
problem before. What strategies would you use to make the explanation as clear as
possible?
3. How might this approach of designing a step-by-step solution without programming
be helpful in the early stages of the Program Development Life Cycle (PDLC)?
Follow-up questions:
1. Why is documentation considered a crucial aspect of program development, and
how does it contribute to the overall success of a project?
2. Imagine you are a software developer working on a team project. How does
documentation help facilitate collaboration and communication among team
members?
What I Can Do
Choose the letter of the best answer. Write the chosen letter on a separate
sheet of paper.
1. Which of the following is written in programming language that follows a
set of rules in instructing the computer?
a. Program b. Flowchart c. Pseudocode d. Procedure
2. What is the 1 step in Programming Life Cycle?
st