Chapter 1

Create a To-Do list for your upcoming tasks

Get Started. It's Free
or sign up with your email address
Chapter 1 by Mind Map: Chapter 1

1. Problem Solving

1.1. Analysis

1.1.1. identify problem

1.1.1.1. input ---> process ---> output

1.2. Algorithm or pseudo code or flow chart or combination of them

1.2.1. Algorithm

1.2.1.1. Any computing problem can be done by executing a series of actions in a specific order.

1.2.1.2. A procedure for solving a problem in terms of the actions to be executed and the order in which these actions are to be executed A procedure for solving a problem in terms of the actions to be executed and the order in which these actions are to be executed

1.2.2. pseudo code

1.2.2.1. is to make humans who do not understand computer programming can easily understand the flow of the problem solving

1.2.2.2. informal language

1.2.2.3. same to programming language

1.2.3. Flow Chart

1.2.3.1. It is represents by using geometry shapes with connected line

1.2.3.2. use as a standard symbol

1.2.3.3. Flow Chart

1.3. Module Structures

1.3.1. Used for a big and complex problem

1.3.2. Divide the problem into smaller problem

2. Introduction

2.1. A computer is an electronic device capable of performing commands given by human.

2.2. Program – Are sequences of instructions and decisions that the computer carries out to achieve a task

2.3. Programmer – person responsible in writing a program

3. Defining Control Structures

3.1. There are three basic structures (control structures / logic structures)

3.1.1. Sequences

3.1.1.1. You follow a set of directions in order from beginning to end

3.1.1.1.1. example : a cookie recipe

3.1.2. Repetition

3.1.2.1. to repeat one or more instruction until some condition is met

3.1.2.1.1. example : shampoo bottles

3.1.3. Selection

3.1.3.1. makes a decision and then takes appropriate action based on that decision

3.1.3.1.1. example : during driving you will approach an intersection, whether you need to stop or proceed

3.2. Algorithm

3.2.1. procedure or formula for solving problem