Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/feed-rss2.php on line 8
‘#Mastery24’ Articles at Courses by Ken https://kenscourses.com/tc101winter2015 Facilitator of Learning Experiences Thu, 07 May 2015 05:18:22 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Creation and use of arrays in C++ #TC1017 #Mastery24 https://kenscourses.com/tc101winter2015/2015/creation-and-use-of-arrays-in-c-tc1017-mastery24/ Thu, 07 May 2015 04:36:46 +0000 https://alejcbgmz.withknown.com/2015/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 :D

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

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

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

Continue reading ]]>

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

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery24 https://kenscourses.com/tc101winter2015/2015/mastery24-12/ Thu, 07 May 2015 04:11:51 +0000 https://alejanbreu.withknown.com/2015/mastery24 Continue reading ]]>

This is my video for Mastery24

https://www.youtube.com/watch?v=M9Aq4f-0zlU

24

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery24:: Creation and use of arrays in C++ https://kenscourses.com/tc101winter2015/2015/mastery24-creation-and-use-of-arrays-in-c/ Thu, 07 May 2015 03:52:23 +0000 https://carolinarmtz.withknown.com/2015/mastery24-creation-and-use-of-arrays-in-c

24 

1017

An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier.

That means that, for example, five values of type int can be declared as an array without having to declare 5 different variables (each with its own identifier). Instead, using an array, the five int values are stored in contiguous memory locations, and all five can be accessed using the same identifier, with the proper index.

Continue reading ]]>

24 

1017

An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier.

That means that, for example, five values of type int can be declared as an array without having to declare 5 different variables (each with its own identifier). Instead, using an array, the five int values are stored in contiguous memory locations, and all five can be accessed using the same identifier, with the proper index.

]]>
https://creativecommons.org/licenses/by/4.0/
#Mastery24 https://kenscourses.com/tc101winter2015/2015/mastery24-10/ Thu, 07 May 2015 03:49:59 +0000 https://feraguirre962.withknown.com/2015/mastery24

Creation and use of arrays in C++

Primero llamamos a la libreria asi como usamos using namespace std; 

Definimos nuestra funcion principal INT MAIN. A continuacion definimos nuestros arreglos y su capacidad o tamaño de arreglo. Asignamos un nuevo valor al elemento en la posicion uno del arreglo. 

Imprimimos todo el elemento en el arreglo con un loop (en este caso usaremos un for) y nos va a imprimir todos los elementos que esten dentro de nuestro array.

Por ultimo terminamos todo lo que este corriendo en el int main y por ultimo compilamos y corremos para ver que no haya ningun error.

Aquí esta un ejemplo del programa corriendo:

24

 

Continue reading ]]>

Creation and use of arrays in C++

Primero llamamos a la libreria asi como usamos using namespace std; 

Definimos nuestra funcion principal INT MAIN. A continuacion definimos nuestros arreglos y su capacidad o tamaño de arreglo. Asignamos un nuevo valor al elemento en la posicion uno del arreglo. 

Imprimimos todo el elemento en el arreglo con un loop (en este caso usaremos un for) y nos va a imprimir todos los elementos que esten dentro de nuestro array.

Por ultimo terminamos todo lo que este corriendo en el int main y por ultimo compilamos y corremos para ver que no haya ningun error.

Aquí esta un ejemplo del programa corriendo:

24

 

]]>
https://creativecommons.org/licenses/by/4.0/
#Mastery24 https://kenscourses.com/tc101winter2015/2015/mastery24-11/ Thu, 07 May 2015 03:37:06 +0000 https://monse31.withknown.com/2015/mastery24 Continue reading ]]>

24 1017 here is the video!! https://www.dropbox.com/s/fcood20w0lzl0wp/Mastery24.mp4?dl=0

]]>
https://creativecommons.org/licenses/by/4.0/
#mastery24 Creation and use of tuples in Python https://kenscourses.com/tc101winter2015/2015/mastery24-creation-and-use-of-tuples-in-python-2/ Thu, 07 May 2015 03:33:23 +0000 https://gilrg18.withknown.com/2015/mastery24-creation-and-use-of-tuples-in-python

A tuple is an unchangeable sequence of values.

x=("Gilberto",18,"ISC")   tuple is written with ()

When you do this you create a tuple with three elements. You can access these elements individually by typing the variable and the then inside brackets directly to the right of the variable type the number of the element to which you are referring.

print (x[o])

>>>Gilberto

Python starts numbering at 0 so Gilberto=0,18=1 and ISC = 2

Packing and Unpacking:

In tuple packing, the values on the left are ‘packed’ together in a tuple:

x=("Gilberto",18,"ISC")

In tuple unpacking, the values in a tuple on the right are ‘unpacked’ into the variables/names on the right:

x=("Gilberto",18,"ISC")

(Name,Age,Studies) = x

print(Name,Age,Studies)

>>>Gilberto 18 ISC

Sources for info. about tuples: Link

 

1014

24

Gilberto Rogel García

Continue reading ]]>

A tuple is an unchangeable sequence of values.

x=(“Gilberto”,18,”ISC”)   tuple is written with ()

When you do this you create a tuple with three elements. You can access these elements individually by typing the variable and the then inside brackets directly to the right of the variable type the number of the element to which you are referring.

print (x[o])

>>>Gilberto

Python starts numbering at 0 so Gilberto=0,18=1 and ISC = 2

Packing and Unpacking:

In tuple packing, the values on the left are ‘packed’ together in a tuple:

x=(“Gilberto”,18,”ISC”)

In tuple unpacking, the values in a tuple on the right are ‘unpacked’ into the variables/names on the right:

x=(“Gilberto”,18,”ISC”)

(Name,Age,Studies) = x

print(Name,Age,Studies)

>>>Gilberto 18 ISC

Sources for info. about tuples: Link

 

1014

24

Gilberto Rogel García

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery24 https://kenscourses.com/tc101winter2015/2015/mastery24-14/ Thu, 07 May 2015 03:20:00 +0000 http://kenscourses.com/tc101winter2015/?guid=e360fdc562b28ed69ba0fceb2b41c983 Continue reading ]]> Mastery24
here is my video http://youtu.be/m-xyJoP4S0A

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery24 https://kenscourses.com/tc101winter2015/2015/mastery24-9/ Thu, 07 May 2015 03:20:00 +0000 http://kenscourses.com/tc101winter2015/?guid=e360fdc562b28ed69ba0fceb2b41c983 Continue reading ]]> Mastery24
here is my video http://youtu.be/m-xyJoP4S0A

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery24 https://kenscourses.com/tc101winter2015/2015/mastery24-13/ Thu, 07 May 2015 03:20:00 +0000 http://kenscourses.com/tc101winter2015/?guid=e360fdc562b28ed69ba0fceb2b41c983 Continue reading ]]> Mastery24
here is my video http://youtu.be/m-xyJoP4S0A

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 24 https://kenscourses.com/tc101winter2015/2015/mastery-24-13/ Thu, 07 May 2015 02:48:17 +0000 https://yosefat.withknown.com/2015/mastery-24

Here is my video for the mastery24.

Video: http://www.youtube.com/watch?v=jR7H9gwvLWE

1014 24

Continue reading ]]>

Here is my video for the mastery24.

Video: http://www.youtube.com/watch?v=jR7H9gwvLWE

1014 24

]]>
https://creativecommons.org/licenses/by/4.0/