
Asignación Dinámica con Estructuras
Presentation
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
REBECA DE LA CRUZ
Used 5+ times
FREE Resource
12 Slides • 13 Questions
1
Estructuras Anidadas
Ing. Rebeca De la Cruz Alcántara
2
3
Estructura Anidada
Refiere al hecho de emplear una estructura (diferente a la que se está declarando) como miembro de la colección de tipos de dato que utiliza.
Para poder realizar esto se debe tener declarada previamente la estructura empleada como miembro de la que se esta declarando.
4
Ejemplo estructura anidada
5
Multiple Choice
¿Cómo se llamaría la Estructura Simple?
Alumno
Nombre
Matrícula
Domicilio
6
Multiple Choice
¿Cómo se llamaría la Estructura Anidada?
Alumno
Nombre
Matrícula
Domicilio
7
Fill in the Blanks
8
Fill in the Blanks
9
Multiple Choice
Datos que contiene la estructura anidada:
nombre, matricula, domicilio
calle, numero, colonia
nombre, matricula, calle, numero
domicilio, calle, numero, colonia
10
Multiple Choice
Datos que contiene la estructura simple:
nombre, matricula, domicilio
calle, numero, colonia
nombre, matricula, calle, numero
domicilio, calle, numero, colonia
11
Acceso a los datos desde una estructura anidada
nombreArreglo[i].nombreEstructuraAnidada.NombreEstructuraSimple
12
ARREGLOS, ESTRUCTURAS ANIDADAS
Tipos de asignación dinámica
13
14
15
Multiple Choice
Es un ejemplo del uso de Typedef:
typedef entero int;
typedef double int;
typedef float entero;
typedef char int;
16
Multiple Choice
Toma un único argumento (la cantidad de memoria para asignar en bytes):
Calloc
New
Malloc
Realloc
17
Multiple Choice
Es un ejemplo de APUNTADORES A ESTRUCTURAS, excepto:
domicilio *pDom;
alumno *Alumno;
personaje **p_Personaje;
juego *ptr_Partida;
18
19
20
21
Fill in the Blanks
22
Fill in the Blanks
23
Fill in the Blanks
24
Fill in the Blanks
25
1. Crear las estructuras
2. Prototipos de función con punteros
3. Crear función principal
4. Desarrollar funciones con punteros (llenar y mostrar)
PRACTICA 7
Estructuras Anidadas
Ing. Rebeca De la Cruz Alcántara
Show answer
Auto Play
Slide 1 / 25
SLIDE
Similar Resources on Wayground
19 questions
Cambios climáticos y corrientes marinas
Presentation
•
10th Grade
17 questions
Perla
Presentation
•
10th Grade
19 questions
Antecedentes
Presentation
•
10th - 12th Grade
22 questions
Lógica Informal
Presentation
•
11th Grade
18 questions
ADN
Presentation
•
11th Grade
19 questions
ENLACE QUIMICO
Presentation
•
11th Grade
19 questions
Aparato Digestivo
Presentation
•
11th Grade
21 questions
SISTEMA NERVIOSO
Presentation
•
11th Grade
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
10 questions
Fire Prevention
Quiz
•
9th - 12th Grade
41 questions
US History STAAR Review
Quiz
•
11th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
20 questions
US History EOC STAAR 2022 Review Set 1
Quiz
•
11th Grade
11 questions
Expectations Review
Quiz
•
9th - 12th Grade