ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Actividad Integradora. Introduction to programming – the programming process

leilaru4 de Noviembre de 2014

711 Palabras (3 Páginas)1.046 Visitas

Página 1 de 3

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 formula: Average=(P1+P2+P3)/3

4.- If the average >=70 then go to step 5, else go to step 7

5.- Print “the student approved”

6.- Go to step 8

7.- Print “the student failed”

8.- End

Do the test on the Flowchart

4.- Type of Algorithm or Flowchart: Conditional

ACTIVITY 4 PROGRAMMING PROCESS

Description: The student Mildred Montemayor observes that the amount of students of the UANL increases at a ratio of 3% per year. If the current population is 120,000 students, how do you know the population that the UANL will have in the next 10 years?

a) Answer correctly the questions:

1.- Definition of the problem: To know the population that the UANL will have in the next 10 years

2.- Analysis of the problem:

INPUT PROCESS OUTPUT OR RESULT

Pop=120000 students P=(120000)*0.03*10+120000 P

3.- Design:

...

Descargar como (para miembros actualizados) txt (5 Kb)
Leer 2 páginas más »
Disponible sólo en Clubensayos.com