SlideShare una empresa de Scribd logo
PROGRAMACIÓN 1 
EQUIPO # 5 
INTEGRANTES : 
PEDRO HERNÁNDEZ LUTZOW 
JHOAN DE JESUS TORRES HERNÁNDEZ 
CESAR ANTONO PÉREZ CUEVAS 
ILDA 
RAFAEL FERNANDO 
FREDDY DOMINGUEZ 
TEMAS A EXPONER : 
1.9.4 - REFINAMIENTO PROGRESIVO. 
1.9.5 - ARREGLOS, VECTORES Y MATRICES.
REFINAMIENTO PROGRESIVO 
ES UNA TÉCNICA DE ANÁLIS Y 
DISEÑO DE ALGORITMOS. 
DIVIDE EL PROBLEMA PRINCIPAL 
EN PROBLEMAS MÁS SIMPLES. 
PARTIR DE PROBLEMAS MÁS SIMPLES 
SE LOGRA DAR UNA SOLUCIÓN MÁS 
EFECTIVA, YA QUE EL NÚMERO DE 
VARIABLES Y CASOS ASOCIADOS A UN 
PROBLEMA SIMPLE ES MÁS FACIL DE 
MANEJAR QUE EL PROBLEMA 
COMPLETO. 
ESTA TÉCNICA SE CONOCE COMO TOP-DOW 
( O DISEÑO DESCENDENTE ) Y ES APLICABLE A LA 
OPTIMIZACIÓN DEL DESEMPEÑO Y SIMPLIFICACIÓN DE 
UN ALGORITMO.
LA TÉNICA TOP DOWN CONSISTE EN ESTABLECER UNA SERIE DE NIVELES 
DE MAYOR A MENOR COMPLEJIDAD (ARRIBA ABAJO) QUE DEN 
SOLUCIÓN A UN ALGORITMO. 
CONSISTE EN UNA SERIE DE DESCOMPOSICIONES SUCESIVAS DEL 
PROBLEMA INICIAL, QUE RECIBE EL REFINAMIENTO PROGRESIVO DEL 
REPERTORIO DE INSTRUCCIONES QUE VAN A FORMAR PARTE DEL 
PROGRAMA. 
LA UTILIZACIÓN DE ESTA TÉCNICA TIENE LOS SIGUIENTES OBJETIVOS: 
 SIMPLIFICACIÓN DEL ALGORITMO Y DE LOS SUB-ALGORITMOS DE CADA DESCOMPOSICIÓN. 
 LAS DIFERENTES PARTES DEL PROGRAMA PUEDEN SER DETALLADAS DE MODO INDEPENDIENTE E INCLUSO 
POR DIFERENTES PERSONAS ( DIVISIÓN DEL TRABAJO) 
 EL PROGRAMA FINAL QUEDA ESTRUCTURADO EN FORMA DE BLOQUE O MÓDULOS, LO QUE HACE MÁS 
SENCILLA SU LECTURA Y MANTENIMIENTO (INTEGRACIÓN) 
 SE ALCANZA EL OBJETIVO PRINCIPAL DEL DISEÑO YA QUE SE PARTE DE ESTE Y SE VA DESCOMPONIENDO EL 
DISEÑO EN PARTES MÁS PEQUEÑAS PERO SIEMPRE TENIENDO EN MENTE DICHO OBJETIVO.
1.9.5 – ARREGLOS, VECTORES Y MATRICES 
 UN ARREGLO ES UNA ESTRUCTURA DE DATOS , O MÁS TÉCNICAMENTE, UN 
ESPACIO DE MEMORIA QUE PERMITE ALMACENAR UNA COLECCIÓN DE 
ELEMENTOS, TODOS DEL MISMO TIPO. CONVIENE IMAGINAR UN ARREGLO 
COMO UNA SECUENCIA CONTIGUA DE CELDAS (ESPACIOS DE MEMORIA), 
O CASILLAS, EN CADA UNA DE LAS CUUALES SE PUEDE GUARDAR UN 
ELEMENTO DE LA COLECCIÓN. ADEMÁS, ES USUAL DIBUJARLO COMO LO 
ILUSTRA LA FIGURA SIGUIENTE: 
0 1 2 3 4 5 6 
ESTA FIGURA REPRESENTA UN ARREGLO DE SIETE CASILLAS CADA UNA DE LAS CUALES SE PUEDE UTILIZAR PARA 
GUARDAR UN DATO. LA DIMENSIÓN O TAMAÑO DE UN ARREGLO ES EL NÚMERO DE CASILLAS QUE LO CONFORMAN. DEBE 
SER CLARO, ENTONCES, QUE LA FIGURA ANTERIOR CORRESPEONDE A UNA RREGLO DE DIMESIÓN 7.
0 1 2 3 4 5 6 
EL NÚMERO DEBAJO DE LA CASILLA SE LLAMA 
ÍNDICE O DIRECCIÓN, PERMITE QUE EL 
PROGRAMADOR SE PUEDA REFERIR DE FORMA 
ESPECÍFICA , A UNA O CUALQUIERA DE LAS 
CASILLAS DEL ARREGLO, TANTO PARA GUARDAR 
UN DATO U OBTENER EL DATO GUARDADO DE LA 
CASILLA. 
• PARA REFERIRSE A UNA CASILLA EN 
PARTICULAR DE UN ARREGLO SE DEBE SEGUIR 
EL SIGUIENTE FORMATO: 
• <NOMBRE>[ <ÍNDICE>] 
EJEMPLO: 
SI SE QUIERE GUARDAR EL VALOR DE LAS 
ÚLTIMAS 12 FACTURAS TELEFÓNICAS DE 
UNA CASA, SE PUEDE DECLARAR EL 
SIGUIENTE ARREGLO: 
facturasTEL : arreglo [12] de real
MATRICES 
LA DIFERENCIA CON LOS ARREGLOS ESTÁ EN QUE , LAS MATRICES, LOS 
ELEMENTOS NO ESTÁN ORGANIZADOS LINEALMENTE SINO DE FORMA 
BIDIMENSIONAL, EN FORMAS Y COLUMNAS. 
AL IGUAL QUE UN ARREGLO LA MATRIZ ALMACENA ELEMENTOS EN CELDAS DE 
MEMORIA O CASILLAS. 
0 1 2 3 4 5 
0 
1 
2 
3 
ÍNDICE DE COLUMNAS 
ÍNDICE DE FILAS 
EJEMPLO: SI SE QUIERE GUARDAR LAS 
LETRAS DE UNA SOPA DE LETRAS, SE 
PUEDE DECLARAR LA SIGUIENTE 
MATRIZ: 
MATRIZ DE DIMENSIÓN 4X6 
SOPA : MATRIZ [4] [6] DE CARACTER 
PARA REFERIRSE A UNA CASILLA : 
<NOMBRE> [ INDICE-DE-FILA>] [<INDICE-DE-COLUMNA>]
VECTORES 
ARREGLO ASOCIADO A LOS ARREGLOS UNIDIMENSIONALES. ZONA DE 
ALMACENAMIENTO CONTIGUO, QUE CONTIENE UNA SERIE DE ELEMENTOS 
DEL MISMO TIPO Y SE DISTINGUEN ENTRE SI POR UN INDICE. 
LOS ARREGLOS SE CLASIFICAN DE ACUERDO CON EL NÚMERO DE 
DIMENSIONES QUE TIENEN. ASÍ SE TIENEN LOS : 
*UNIDIMENSIONALES (UN VECTOR). 
*BIDIMENSIONALES (2 VECTORES, TABLAS O MATRICES). 
*MULTIDIMENSIONALES (MÁS DE TRES VECTORES O DIMENSIONES.

Más contenido relacionado

Último

200. Efemerides junio para trabajar en periodico mural
200. Efemerides junio para trabajar en periodico mural200. Efemerides junio para trabajar en periodico mural
200. Efemerides junio para trabajar en periodico mural
shirherrer
 
Evaluacion del tercer trimestre del 2023-2024
Evaluacion del tercer trimestre del 2023-2024Evaluacion del tercer trimestre del 2023-2024
Evaluacion del tercer trimestre del 2023-2024
israelsouza67
 
Presentación de la historia de PowerPoint y sus características más relevantes.
Presentación de la historia de PowerPoint y sus características más relevantes.Presentación de la historia de PowerPoint y sus características más relevantes.
Presentación de la historia de PowerPoint y sus características más relevantes.
genesiscabezas469
 
Liturgia día del Padre del siguiente domingo.pptx
Liturgia día del Padre del siguiente domingo.pptxLiturgia día del Padre del siguiente domingo.pptx
Liturgia día del Padre del siguiente domingo.pptx
YeniferGarcia36
 
Los Dominios y Reinos de los Seres Vivos
Los Dominios y Reinos de los Seres VivosLos Dominios y Reinos de los Seres Vivos
Los Dominios y Reinos de los Seres Vivos
karlafreire0608
 
APUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdf
APUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdfAPUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdf
APUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdf
VeronicaCabrera50
 
DESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdf
DESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdfDESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdf
DESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdf
JonathanCovena1
 
MATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBAL
MATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBALMATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBAL
MATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBAL
Ana Fernandez
 
Cronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdf
Cronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdfCronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdf
Cronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdf
RicardoValdiviaVega
 
CORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZA
CORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZACORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZA
CORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZA
Sandra Mariela Ballón Aguedo
 
ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...
ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...
ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...
JAVIER SOLIS NOYOLA
 
MATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBAL
MATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBALMATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBAL
MATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBAL
Ana Fernandez
 
Prueba/test conoce tus heridas de la infancia
Prueba/test conoce tus heridas de la infanciaPrueba/test conoce tus heridas de la infancia
Prueba/test conoce tus heridas de la infancia
LudmilaOrtega3
 
Hablemos de ESI para estudiantes Cuadernillo
Hablemos de ESI para estudiantes CuadernilloHablemos de ESI para estudiantes Cuadernillo
Hablemos de ESI para estudiantes Cuadernillo
Mónica Sánchez
 
p4s.co Ecosistema de Ecosistemas - Diagrama.pdf
p4s.co Ecosistema de Ecosistemas - Diagrama.pdfp4s.co Ecosistema de Ecosistemas - Diagrama.pdf
p4s.co Ecosistema de Ecosistemas - Diagrama.pdf
DavidCamiloMosquera
 
Inteligencia Artificial y Aprendizaje Activo FLACSO Ccesa007.pdf
Inteligencia Artificial  y Aprendizaje Activo FLACSO  Ccesa007.pdfInteligencia Artificial  y Aprendizaje Activo FLACSO  Ccesa007.pdf
Inteligencia Artificial y Aprendizaje Activo FLACSO Ccesa007.pdf
Demetrio Ccesa Rayme
 
Examen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLM
Examen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLMExamen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLM
Examen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLM
Juan Martín Martín
 
Presentación simple corporativa degradado en violeta blanco.pdf
Presentación simple corporativa degradado en violeta blanco.pdfPresentación simple corporativa degradado en violeta blanco.pdf
Presentación simple corporativa degradado en violeta blanco.pdf
eleandroth
 
CONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIA
CONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIACONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIA
CONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIA
ginnazamudio
 

Último (20)

200. Efemerides junio para trabajar en periodico mural
200. Efemerides junio para trabajar en periodico mural200. Efemerides junio para trabajar en periodico mural
200. Efemerides junio para trabajar en periodico mural
 
Evaluacion del tercer trimestre del 2023-2024
Evaluacion del tercer trimestre del 2023-2024Evaluacion del tercer trimestre del 2023-2024
Evaluacion del tercer trimestre del 2023-2024
 
Presentación de la historia de PowerPoint y sus características más relevantes.
Presentación de la historia de PowerPoint y sus características más relevantes.Presentación de la historia de PowerPoint y sus características más relevantes.
Presentación de la historia de PowerPoint y sus características más relevantes.
 
Liturgia día del Padre del siguiente domingo.pptx
Liturgia día del Padre del siguiente domingo.pptxLiturgia día del Padre del siguiente domingo.pptx
Liturgia día del Padre del siguiente domingo.pptx
 
Los Dominios y Reinos de los Seres Vivos
Los Dominios y Reinos de los Seres VivosLos Dominios y Reinos de los Seres Vivos
Los Dominios y Reinos de los Seres Vivos
 
APUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdf
APUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdfAPUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdf
APUNTES UNIDAD I ECONOMIA EMPRESARIAL .pdf
 
DESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdf
DESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdfDESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdf
DESARROLLO DE LAS RELACIONES CON LOS STAKEHOLDERS.pdf
 
MATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBAL
MATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBALMATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBAL
MATERIAL ESCOLAR 2024-2025 3 AÑOS CEIP SAN CRISTÓBAL
 
Cronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdf
Cronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdfCronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdf
Cronica-de-una-Muerte-Anunciada - Gabriel Garcia Marquez.pdf
 
CORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZA
CORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZACORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZA
CORREOS SEGUNDO 2024 HONORIO DELGADO ESPINOZA
 
ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...
ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...
ACERTIJO DESCIFRANDO CÓDIGO DEL CANDADO DE LA TORRE EIFFEL EN PARÍS. Por JAVI...
 
A VISITA DO SENHOR BISPO .
A VISITA DO SENHOR BISPO                .A VISITA DO SENHOR BISPO                .
A VISITA DO SENHOR BISPO .
 
MATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBAL
MATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBALMATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBAL
MATERIAL ESCOLAR 2024-2025. 4 AÑOS CEIP SAN CRISTOBAL
 
Prueba/test conoce tus heridas de la infancia
Prueba/test conoce tus heridas de la infanciaPrueba/test conoce tus heridas de la infancia
Prueba/test conoce tus heridas de la infancia
 
Hablemos de ESI para estudiantes Cuadernillo
Hablemos de ESI para estudiantes CuadernilloHablemos de ESI para estudiantes Cuadernillo
Hablemos de ESI para estudiantes Cuadernillo
 
p4s.co Ecosistema de Ecosistemas - Diagrama.pdf
p4s.co Ecosistema de Ecosistemas - Diagrama.pdfp4s.co Ecosistema de Ecosistemas - Diagrama.pdf
p4s.co Ecosistema de Ecosistemas - Diagrama.pdf
 
Inteligencia Artificial y Aprendizaje Activo FLACSO Ccesa007.pdf
Inteligencia Artificial  y Aprendizaje Activo FLACSO  Ccesa007.pdfInteligencia Artificial  y Aprendizaje Activo FLACSO  Ccesa007.pdf
Inteligencia Artificial y Aprendizaje Activo FLACSO Ccesa007.pdf
 
Examen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLM
Examen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLMExamen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLM
Examen de Selectividad. Geografía junio 2024 (Convocatoria Ordinaria). UCLM
 
Presentación simple corporativa degradado en violeta blanco.pdf
Presentación simple corporativa degradado en violeta blanco.pdfPresentación simple corporativa degradado en violeta blanco.pdf
Presentación simple corporativa degradado en violeta blanco.pdf
 
CONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIA
CONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIACONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIA
CONTENIDOS Y PDA DE LA FASE 3,4 Y 5 EN NIVEL PRIMARIA
 

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 

Destacado (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Refinamiento progresivo #5

  • 1. PROGRAMACIÓN 1 EQUIPO # 5 INTEGRANTES : PEDRO HERNÁNDEZ LUTZOW JHOAN DE JESUS TORRES HERNÁNDEZ CESAR ANTONO PÉREZ CUEVAS ILDA RAFAEL FERNANDO FREDDY DOMINGUEZ TEMAS A EXPONER : 1.9.4 - REFINAMIENTO PROGRESIVO. 1.9.5 - ARREGLOS, VECTORES Y MATRICES.
  • 2. REFINAMIENTO PROGRESIVO ES UNA TÉCNICA DE ANÁLIS Y DISEÑO DE ALGORITMOS. DIVIDE EL PROBLEMA PRINCIPAL EN PROBLEMAS MÁS SIMPLES. PARTIR DE PROBLEMAS MÁS SIMPLES SE LOGRA DAR UNA SOLUCIÓN MÁS EFECTIVA, YA QUE EL NÚMERO DE VARIABLES Y CASOS ASOCIADOS A UN PROBLEMA SIMPLE ES MÁS FACIL DE MANEJAR QUE EL PROBLEMA COMPLETO. ESTA TÉCNICA SE CONOCE COMO TOP-DOW ( O DISEÑO DESCENDENTE ) Y ES APLICABLE A LA OPTIMIZACIÓN DEL DESEMPEÑO Y SIMPLIFICACIÓN DE UN ALGORITMO.
  • 3. LA TÉNICA TOP DOWN CONSISTE EN ESTABLECER UNA SERIE DE NIVELES DE MAYOR A MENOR COMPLEJIDAD (ARRIBA ABAJO) QUE DEN SOLUCIÓN A UN ALGORITMO. CONSISTE EN UNA SERIE DE DESCOMPOSICIONES SUCESIVAS DEL PROBLEMA INICIAL, QUE RECIBE EL REFINAMIENTO PROGRESIVO DEL REPERTORIO DE INSTRUCCIONES QUE VAN A FORMAR PARTE DEL PROGRAMA. LA UTILIZACIÓN DE ESTA TÉCNICA TIENE LOS SIGUIENTES OBJETIVOS:  SIMPLIFICACIÓN DEL ALGORITMO Y DE LOS SUB-ALGORITMOS DE CADA DESCOMPOSICIÓN.  LAS DIFERENTES PARTES DEL PROGRAMA PUEDEN SER DETALLADAS DE MODO INDEPENDIENTE E INCLUSO POR DIFERENTES PERSONAS ( DIVISIÓN DEL TRABAJO)  EL PROGRAMA FINAL QUEDA ESTRUCTURADO EN FORMA DE BLOQUE O MÓDULOS, LO QUE HACE MÁS SENCILLA SU LECTURA Y MANTENIMIENTO (INTEGRACIÓN)  SE ALCANZA EL OBJETIVO PRINCIPAL DEL DISEÑO YA QUE SE PARTE DE ESTE Y SE VA DESCOMPONIENDO EL DISEÑO EN PARTES MÁS PEQUEÑAS PERO SIEMPRE TENIENDO EN MENTE DICHO OBJETIVO.
  • 4. 1.9.5 – ARREGLOS, VECTORES Y MATRICES  UN ARREGLO ES UNA ESTRUCTURA DE DATOS , O MÁS TÉCNICAMENTE, UN ESPACIO DE MEMORIA QUE PERMITE ALMACENAR UNA COLECCIÓN DE ELEMENTOS, TODOS DEL MISMO TIPO. CONVIENE IMAGINAR UN ARREGLO COMO UNA SECUENCIA CONTIGUA DE CELDAS (ESPACIOS DE MEMORIA), O CASILLAS, EN CADA UNA DE LAS CUUALES SE PUEDE GUARDAR UN ELEMENTO DE LA COLECCIÓN. ADEMÁS, ES USUAL DIBUJARLO COMO LO ILUSTRA LA FIGURA SIGUIENTE: 0 1 2 3 4 5 6 ESTA FIGURA REPRESENTA UN ARREGLO DE SIETE CASILLAS CADA UNA DE LAS CUALES SE PUEDE UTILIZAR PARA GUARDAR UN DATO. LA DIMENSIÓN O TAMAÑO DE UN ARREGLO ES EL NÚMERO DE CASILLAS QUE LO CONFORMAN. DEBE SER CLARO, ENTONCES, QUE LA FIGURA ANTERIOR CORRESPEONDE A UNA RREGLO DE DIMESIÓN 7.
  • 5. 0 1 2 3 4 5 6 EL NÚMERO DEBAJO DE LA CASILLA SE LLAMA ÍNDICE O DIRECCIÓN, PERMITE QUE EL PROGRAMADOR SE PUEDA REFERIR DE FORMA ESPECÍFICA , A UNA O CUALQUIERA DE LAS CASILLAS DEL ARREGLO, TANTO PARA GUARDAR UN DATO U OBTENER EL DATO GUARDADO DE LA CASILLA. • PARA REFERIRSE A UNA CASILLA EN PARTICULAR DE UN ARREGLO SE DEBE SEGUIR EL SIGUIENTE FORMATO: • <NOMBRE>[ <ÍNDICE>] EJEMPLO: SI SE QUIERE GUARDAR EL VALOR DE LAS ÚLTIMAS 12 FACTURAS TELEFÓNICAS DE UNA CASA, SE PUEDE DECLARAR EL SIGUIENTE ARREGLO: facturasTEL : arreglo [12] de real
  • 6. MATRICES LA DIFERENCIA CON LOS ARREGLOS ESTÁ EN QUE , LAS MATRICES, LOS ELEMENTOS NO ESTÁN ORGANIZADOS LINEALMENTE SINO DE FORMA BIDIMENSIONAL, EN FORMAS Y COLUMNAS. AL IGUAL QUE UN ARREGLO LA MATRIZ ALMACENA ELEMENTOS EN CELDAS DE MEMORIA O CASILLAS. 0 1 2 3 4 5 0 1 2 3 ÍNDICE DE COLUMNAS ÍNDICE DE FILAS EJEMPLO: SI SE QUIERE GUARDAR LAS LETRAS DE UNA SOPA DE LETRAS, SE PUEDE DECLARAR LA SIGUIENTE MATRIZ: MATRIZ DE DIMENSIÓN 4X6 SOPA : MATRIZ [4] [6] DE CARACTER PARA REFERIRSE A UNA CASILLA : <NOMBRE> [ INDICE-DE-FILA>] [<INDICE-DE-COLUMNA>]
  • 7. VECTORES ARREGLO ASOCIADO A LOS ARREGLOS UNIDIMENSIONALES. ZONA DE ALMACENAMIENTO CONTIGUO, QUE CONTIENE UNA SERIE DE ELEMENTOS DEL MISMO TIPO Y SE DISTINGUEN ENTRE SI POR UN INDICE. LOS ARREGLOS SE CLASIFICAN DE ACUERDO CON EL NÚMERO DE DIMENSIONES QUE TIENEN. ASÍ SE TIENEN LOS : *UNIDIMENSIONALES (UN VECTOR). *BIDIMENSIONALES (2 VECTORES, TABLAS O MATRICES). *MULTIDIMENSIONALES (MÁS DE TRES VECTORES O DIMENSIONES.