Tag Archives: Mastery

Mastery18

Nesting of conditional statements

If you want to check a condition after a previous condition that was true, then you might want to use nested statements.

Example:

NESTED IF CONSTRUCT

In a nested if construct, you can have an if…elif…else construct inside another if…elif…else construct. The syntax of the nested if…elif…else construct may be:

18 1014

STRINGS

Muchachos es  

1017

  25

 

Aqui les dejo el link de un vdeo en donde explico como funcionan los strings les recomiendo verlo

saludos!

link: https://youtu.be/-ijtj3LbdUM

Mastery30:: Visualization of data with tools

30

El sistema de datos por herramientas es un software libre, libremente disponible para la realización de gráficos 3D por computadora, procesamiento de imagen y visualización. VTK consiste en una biblioteca de clases de C++ y varias capas de interfaz interpretadas como Tcl/Tk, Java, y Python.

 

“The Visualization Toolkit (VTK) is an open-source, cross-platform, software system for 3D computer graphics, image processing, and visualization. Originally written as companion software to the textbook The Visualization Toolkit: An Object-Oriented Approach to 3D Graphics by Will Schroeder, Ken Martin, and Bill Lorensen, VTK provided the motivation to found Kitware.

From initial development in 1993, VTK has grown to be the premier visualization system today through the support and dedication of a global community. Much of this work has stemmed from Kitware, recently including a transition to using Git and Gerrit for distributed version control; the addition of pointer classes to facilitate pointer management; enhancement of the VTK pipeline to suit AMR; improvements to the plotting and charting capabilities in VTK; and general toolkit maintenance.”(http://www.kitware.com/opensource/vtk.html)

 

1017

#Mastery25 #TC1017 https://www.youtube.com/watch?v=aFxJNE-Nb3o

If and Else

Aqui esta un nuevo tutorial para poder saber como utilizar un if y tambien un else como condicionales.

Aqui esta el link: https://youtu.be/dvsp4tkc1Ko

1017

15

16

Creation and use of arrays in C++ #TC1017 #Mastery24

Creation and use of arrays in C++ 1017 24

An array is a data structure, or more technically, a memory that stores a collection of items, all of the same type. Should imagine an array as a contiguous sequence of cells (memory spaces), or squares, each of which can save an item from the collection. Also, it is usual to draw as illustrated by the following figure:

This figure represents an array of seven squares each of which can be used to store a data. The dimension or size of an array is the number of cells that comprise it. It should be clear, then, that the above figure corresponds to an array of dimension 7.

Example of dimension

 

In 2 dimension be like

 

At the beginning I was thinking like how to do a sudoku in this way so here is and example

 

STEPS!!!

  1. Type of Variable
  2. Write array
  3. Name of the array

EXAMPLE:

     float array [A];

In this Code that I did, I wrote some comments explaining what it means each line 

LINKS that I Used to explain and do my WSQ’s and this awesome Mastery 😀

http://dis.unal.edu.co/~programacion/book/modulo3.pdf

https://www.youtube.com/watch?v=gCBpGyKyaGU

http://es.slideshare.net/jhonnyspch/arreglos-c

Mastery19

Use of loops with “while”

19 1014

Mastery17

Use of “elif” with a conditional

17 1014

Mastery16

Use of “else” with a conditional

16 1014

Mastery29:: Data analysis with tools

29

There are some cases where we create a function in our program destined to receive an special type of value. Here is where we want to ensure that the user enters the correct value and not any other type that will cause our program to crash, thats why we validate the user input by using some tools that I will show you.

1017

 

El análisis estudia los requisitos que debe de cumplir la aplicación. El resultado del análisis es una hoja de especificaciones en la que aparecen los requerimientos de la aplicación. Esta hoja es redactado por la persona responsable del proceso de creación de la aplicación. Si estás creando algoritmos o programas sencillos, el análisis consistirá en evaluar estos tres pasos fundamentales:

  • Determinar las entradas. Es decir, los datos que posee el programa al comenzar su ejecución. Esos datos permiten obtener el resultado.
  • Determinar las salidas. Es decir, los datos que obtiene el algoritmo como resultado. Lo que el algoritmo devuelve al usuario.
  • Determinar el proceso. Se estudia cuál es el proceso que hay que realizar.

Si realizas estos pasos antes de comenzar a escribir código independientemente del lenguaje que uses, vas a realizar programas de calidad y vas a eliminar muchos errores que te pueden surgir si no analizas el programa y los requisitos que te piden del programa.”(http://aprendecpp.com/blog/programacion-en-c-el-analisis.html#more-118