Progamación imperativa

Get Started. It's Free
or sign up with your email address
Progamación imperativa by Mind Map: Progamación imperativa

1. Operaciones

1.1. +,-, /, *, %, ++, --

2. Herramientas

2.1. COMPUTADOR

2.1.1. HARDWARE

2.1.1.1. Procesador

2.1.1.2. Memoria

2.1.1.3. Almacenamiento

2.1.1.4. Perifericos de entrada y salida

2.1.2. SOFTWARE

2.1.2.1. Sistema operativo

2.1.2.1.1. Gestión de recursos hardware

3. Ambiente

3.1. LENGUAJE DEV-C++

3.1.1. PROGRAMACIÓN ESTRUCTURADA VS PROGRAMACIÓN ORIENTADA A OBJETOS

3.1.2. OPERRADORES Y VARIABLES

3.1.3. ESTRUCTURAS DE CONTROL

3.1.4. FUNCIONES

3.1.5. RECURSIVIDAD

3.1.6. ESTRUCTURA DE DATOS

3.1.7. PUNTEROS

3.1.8. USO DE ARCHIVOS

4. Primitivas

4.1. STATEMENTS

4.1.1. Declaración de variables

4.1.1.1. int x; x=10

4.1.1.2. tipos de datos

4.1.1.2.1. int

4.1.1.2.2. float

4.1.1.2.3. double

4.1.1.2.4. string

4.1.1.2.5. char

4.1.1.2.6. bool

4.2. CONDITIONALS

4.2.1. Decisiones Lógicas

4.2.1.1. Flujo del programa

4.2.1.1.1. if(<condition>){ path1; }else{ path2; }

4.2.1.1.2. switch(<variable>){ case<valor>; path<1>; break; case<valor2> path<2>; break; default }

4.2.1.2. Operadores

4.2.1.2.1. Operadores Relacionales

4.2.1.2.2. Operadores Lógicos

4.3. LOOPS

4.3.1. Secuencias Repetitivas

4.3.1.1. Tareas o actividad

4.3.1.1.1. for(i=1;<condition>; i++){ repeat; }

4.3.1.1.2. while(condición de finalización) //por ejemplo numero == 100 { .... .... Bloque de Instrucciones.... .... .... }

4.3.1.1.3. do { .... .... Bloque de Instrucciones.... .... .... } while(condición de finalización); //por ejemplo numero != 23

4.3.1.1.4. for(int i = valor inicial; i < valor final; i++) { /* Bloque de Instrucciones.... */ for(int j = valor inicial; j < valor final; j++) { /* Bloque interno de Instrucciones.... */ } }

5. Sintaxis

5.1. librerías

5.1.1. iostream

5.1.1.1. Streams

5.1.1.1.1. cin

5.1.1.1.2. cout

5.1.1.1.3. cerr

5.1.1.1.4. clog

5.1.2. math

5.1.3. stdio

5.1.3.1. ptintf

5.1.3.2. scanf

5.1.3.3. puts

5.1.3.4. getc

5.1.3.5. ferror

5.1.4. stdlib

5.1.4.1. atof

5.1.4.2. rand

5.1.4.3. free

5.1.4.4. system

5.1.4.5. exit

5.1.5. string

5.1.5.1. null

5.1.5.2. strcpy

5.1.5.3. strcat

5.1.5.4. strrev

5.1.5.5. strstr

5.2. Estructura de Datos

5.2.1. Arrays o Vectores

5.2.1.1. tipo_de_dato nombre_del_vector[tamanio];

5.2.1.2. Declaración de vectores

5.2.1.2.1. int my_vector1[10]; float my_vector2[25]; string my_vector3[500]; bool my_vector4[1000]; char my_vector5[2];

5.2.2. Matrices

5.2.2.1. tipoDato nombreMatriz[filas][columnas];

5.2.2.2. Declaración de matrices

5.2.2.2.1. int myMatriz1[10][5]; float myMatriz2[5][10]; string myMatriz3[15][15]; bool myMatriz4[1000][3];

5.2.3. Punteros

5.2.3.1. Coincidir el tipo de dato con la variable

5.2.3.1.1. char *apuntador = NULL; //Declaramos un puntero //Es recomendable inicializar un puntero en null, para detectar errores fácilmente char letra; //Declaramos una variable primitiva apuntador = &letra; //Asignamos al apuntador la dirección de memoria de la variable primitiva *apuntador = 'x'; //Modificamos la variable a través del apuntador cout << letra; //Muestra x por pantalla

6. Lenguajes de Programación

6.1. Por ejecución

6.1.1. LENGUAJES COMPILADOS

6.1.1.1. PROGRAMA

6.1.1.1.1. COMPILADOR

6.1.2. LENGUAJES INTERPRETADOS

6.1.2.1. PROGRAMA

6.1.2.1.1. INTÉRPRETE

6.2. Por Métodos

6.2.1. LENGUAJES ESTRUCTURADOS

6.2.1.1. Escribir Programa

6.2.1.1.1. Primitivas

6.2.2. LENGUAJES ORIENTADOS A OBJETOS

6.2.2.1. Evolución de la programación Estructurada

6.2.2.1.1. Objeto

6.2.2.1.2. Clase

6.3. Por Ejecución y Representación

6.3.1. LENGUAJES IMPERTIVOS

6.3.2. LENGUAJES FUNCIONALES

6.4. Proceso de Compilación

6.4.1. Código Fuente

6.4.2. Preprocesador

6.4.3. compilador

6.4.4. Ensamblador

6.4.5. Lligador

6.4.6. Código Ejecutable

7. Nuevo Tema