Actividad Integradora
Enviado por leilaru • 4 de Noviembre de 2014 • 711 Palabras (3 Páginas) • 1.008 Visitas
ACTIVITY 1 INTRODUCTION TO PROGRAMMING – THE PROGRAMMING PROCESS
Description: Answer the following question basing on your own definitions or using any source of information.
a) Define the following concepts:
1.- Programming: It is the methodology to do programs
2.- Programming language: It is the set of symbols, letters and syntax rules that controls the physical and logical behavior.
3.- Program: It is the set of instructions written in a programming language in order that the computer can perform certain task in a quick and correct way.
b) Answer correctly the questions:
1.- Types of data used in a program: Constants and variables
2.- Types of operators used in a program: Arithmetic, comparison and logic
3.- Definition of Algorithm: It is defined as a set of ordered steps in a logic way that describe the solution of a problem, or for carrying out certain task.
4.- Definition of Flowchart: Is the graphical representation of an algorithm, is one of the programming tools that permit to visualize in general way the development of the solution of a problem.
5.- Types of Algorithms or Flowchart: Sequential, conditional and cyclic.
ACTIVITY 2 PROGRAMMING PROCESS
Description: Alexis Gallegos considers buying and arranging with pasture a garden that is shaped as an equilateral triangle, where one of its sides can be measured in multiples of 10 meters. How many meters of pasture does he has to buy?
a) Answer correctly the following questions:
1.- Definition of the problem: To know the amount of pasture that Alexis has to buy
2- Analysis of the problem:
INPUT PROCESS OUTPUT OR RESULT
S – Measure of one side P=S*3*10 Perimeter
3.- Design:
ALGORITHM FLOWCHART
1.- Start
2.- To know the measure of one of the sides S
3.- To calculate the perimeter with the formula P=S*3*10
4- Display or print the result P
5.- End
Do the test on the Flowchart (optional)
4.- Type of Algorithm or Flowchart: Sequential
ACTIVITY 3 PROGRAMMING PROCESS
Description: During the Math course, the student Raul Efrain Gallegos presented three partial exams, if the general average must be equal or greater than 70, how do you know if the student approved or fail Math?
a) Answer correctly the questions:
1.- Definition of the problem: To know if the student approved or fail Math
2.- Analysis of the problem:
INPUT PROCESS OUTPUT OR RESULT
P1, P2, P3 Average=(P1+P2+P3)/3 1- Approved
2- Fail
3.- Design:
ALGORITHM FLOWCHART
1.- Start
2.- To know the grades of the three partials P1, P2, P3
3.- To calculate the average with the
...