Professional Documents
Culture Documents
LANGUAGE
MODULE I
OVERVIEW OF PROGRAMMING
LEARNING OBJECTIVES
At the end of this chapter, the student should
be able to: Problem solving is a natural
Define Problem Solving
Enumerate the Steps in Problem part of life. In any business or
Solving industry, the ability of an
Define Program and Programming
Enumerate and differentiate the employee to solve problems
different tools used in solving can mean the difference
programming problems
between success and failure.
LESSO TOPIC Lacking the ability to solve
N problems effectively can be a
1 Problem Solving Concepts source of anxiety and stress
1|Page
Instructional Work Book
INTRODUCTION TO C
LANGUAGE
LESSON 1
PROBLEM SOLVING CONCEPTS
A. What is a problem
A problem is a state of difficulty that needs to be resolved. Problems exist
where goals need to be attained and there is uncertainty about solution.
Problem solving is the ability to determine the best solution for a problem in
a quick and efficient manner.
Types of Solutions:
2|Page
Instructional Work Book
INTRODUCTION TO C
LANGUAGE
LESSON 2
Programming Concepts
3|Page
Instructional Work Book
INTRODUCTION TO C
LANGUAGE
Start
B
Pick up the
Phone
Yes
Press each digit of
the phone number
Stop
No No Leave a
answering Message
machine
Yes
A 4|Page
Instructional Work Book
INTRODUCTION TO C
LANGUAGE
Hang up phone
& wait for 2
hours
Program Begin
Pick up the phone and listen to the dial tone
Repeat
Press flash button
Until there’s a dial tone
Repeat
Press each digit of the phone number
If busy tone then
Hang up and wait for 5 mins
Else
If there’s an answering Machine then
Leave a Message
Else
Hang up phone and wait for 2 hours
End if
End if
Until someone answered
Talk to a friend
Hang up phone
Program End
5|Page
Instructional Work Book
INTRODUCTION TO C
LANGUAGE
Program –is a set of step-by-step instructions that directs the computer to perform
tasks and produce results.
6|Page
Instructional Work Book
INTRODUCTION TO C
LANGUAGE
CONCEPT REVIEW
Multiple Choice: Write the letter of the correct answer on the space provided.
___1. It is a state of difficulty that needs to be resolved
A. Problem B. Program C. Programming D.Problem
Solving
___2. It is the ability to determineto determine the best solution for a problem in a
quick and efficient manner.
A. Problem B. Program C. Programming D.Problem
Solving
___3. A solutions that can be solved with a series of known actions.
A. Heuristic B. Algorithmic C.No Valid answer
___4. It shows the sequence of instructions comprising a solution
A. pseudocode B. algorithm C. flowchart
___7. A high-level abstraction of code, usually used to outline the general steps in
an algorithm without having to write actual code
A. pseudocode B. algorithm C. flowchart
7|Page
Instructional Work Book
INTRODUCTION TO C
LANGUAGE
8|Page
Instructional Work Book