-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: #mastery22
#TC1014 #Mastery21 #Mastery22
Comments Off on #TC1014 #Mastery21 #Mastery22
Posted in Blogs, Syndicated, TC1014 Blogs
Tagged #mastery21, #mastery22, #TC, #TC1014, Mastery
¿Qué ciclo es mejor y en qué casos? – C++
#TC1017
#Mastery22
Hola!!
Esto es como un resumen. Recapitulando las tres maneras que vimos a lo largo del semestre para hacer ciclos: Form while y do-while. En el siguiente video hago comentarios de lo que a mi parecer es mejor opción utilizar cierto tipo de ciclo para aprovechar al máximo las características de cada uno, etc… Espero que le entiendan y que les ayude el video! 😀
Comments Off on ¿Qué ciclo es mejor y en qué casos? – C++
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #mastery22, #TC, #TC1017, Mastery
Cuando usar las diferentes repeticiones
Aqui les dejo el link a mi video
En el explico cuando es conveniente usar los diferentes tipos de repeticiones que existen
esta corto chequenlo!
link:
Comments Off on Cuando usar las diferentes repeticiones
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #mastery22, #TC, #TC1017, #WorkHardOrGoHome, Mastery
Mastery22:: When to use what type of repetition in a program
#f5f5dc;”>#Mastery22
#f5f5dc;”>Repetition structures, or loops, are used when a program needs to repeatedly process one or more instructions until some condition is met, at which time the loop ends. Many programming tasks are repetitive, having little variation from one item to the next. The process of performing the same task over and over again is called iteration, and C++ provides built-in iteration functionality. A loop executes the same section of program code over and over again, as long as a loop condition of some sort is met with each iteration. This section of code can be a single statement or a block of statements (a compound statement). (http:/
Two types of repetition structures: pretest and posttest loops
Pretest:
- Loop condition appears at beginning of pretest loop
- Determines number of times instructions w/in loop body are processed
Types of pretest loop:
- while
- for
Posttest:
- Loop condition appears at end of posttest loop
- Determines number of times instructions w/in loop body are processed
- HOWEVER, instructions processed at least once–the first time
#TC1017
EXAMPLE!!!
Comments Off on Mastery22:: When to use what type of repetition in a program
Posted in Blogs, Syndicated, TC1017 Blogs
#Mastery22
When to use what type of repetition in a program
Un for es más util cuando sabes exactamente el número de repeticiones que vas a hacer el programa, además es util cuando quieres permanecer en el ciclo hasta que una condición se cumpla y puedas romper el ciclo.
Es exactamente lo mismo que un WHILE pero la diferencia es que va a correr el programa sin el primer ciclo, no importa que condición y en la segunda vuelta va a checar la condición que ingresemos.
Aquí esta un ejemplo de un programa donde uso FOR
#mastery22
Mastery22
Mastery22
here is the video http://youtu.be/EG0y28fjkTw
Mastery22
Mastery22
here is the video http://youtu.be/EG0y28fjkTw
Mastery22
Mastery22
here is the video http://youtu.be/EG0y28fjkTw
When to use what type of repetition in a program #TC1017 #Mastery22
Comments Off on When to use what type of repetition in a program #TC1017 #Mastery22
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #333333, #mastery22, #TC, #TC1017, Mastery
#Mastery22 #TC1017 https://www.youtube.com/watch?v=w7Lx0Nn3fXQ
Comments Off on #Mastery22 #TC1017 https://www.youtube.com/watch?v=w7Lx0Nn3fXQ
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #mastery22, #TC, #TC1017, Mastery