Review!

homergoestocollege21

Es mi turno de contarles la experiencia que viví en mi clase de programación (#TC010) con el profesor Ken. Primero quiero aclararles que las clases eran TOTALMENTE diferentes, utilizamos el nuevo sistema del tec, Tec21.

Acerca de programación, utilizamos C++, a pesar de que es un poco parecido a c#, lo que vi en remedial, con C++ tuve que investigar sobre la sintaxis y sus operandos. Comenzamos imprimiendo cosas, con simples sumas y restas, declarando variables y programas muy sencillos.

También vimos los ciclos con for y do/while, después vimos lo que es recursion que consistía en ciclos anidados. Con el paso del tiempo codificamos programas más complejos y mas que nada necesitaban tiempo para entender e investigar los nuevos temas que necesitamos. Mucho con lo que batallé fueron los arreglos y vectores, no me quedaba muy claro la sintaxis.

Fue muy útil para todos los programas crear funciones. Esta parte de programacion considero que es de las más útiles para no estar repitiendo los procesos.

El sistema de Tec21 y flipped learning fue algo que me gustó mucho; la libertad con la que trabajamos nos favoreció para hacernos más responsables, cada quien se esforzaba en la medida que quería y sacaba sus propios resultados. Sin embargo, creo que sería mejor que se implementara en todas las clases. Al tener toda la vida trabajando bajo presión, fechas y haciendo lo que el maestro quiere siento que una clase no fue suficiente para poder darle el enfoque necesario a aprender. Muchas veces me encontré saturado con otros trabajos que no eran más importantes, pero, como valían para calificación y tenían una fecha, los tomaba como prioridad y por lo tanto siento que una clase no bastó. Muchas gracias Ken por enseñarnos a aprender, eso es algo verdaderamente ÚTIL para nuestra vida.

SciLab WSQ 14

scilab_logo

Buen día clase, hoy les presentaré este programa. La verdad es que no he tenido mucho tiempo para explorar todas sus opciones pero si lo he manipulado para ejercicios de mate. Es muy bueno para las gráficas y funciones matemáticas. Además, también ayuda a trabajar con matrices, sus cálculos y otras respectivas operaciones.

 

FINAL PROJECT

images (3)

Hi guys this is my final project, as I have said i code an uncertainty calculator, this was because I used to hate calculating this in chemestry.

I learned a lot about how to create a menu, because of the time (between I decided to change the project and the last day to post it) I could not code a good one ESTHETICALLY, but is VERY VERY USEFUL.

I learned about new librarys, but i do not know what happen, some functions I code did not work as well as I thought.
But here is the

CODE

TETRIS

I have an anounsment!, I am sorry but i did not code the tetris. I found the game in c++ and I try to understand all the new things that it has, but i did not get it at all. Honestly I learned a lot but as I did not explain the whole code to you I DECIDED TO CHANGE IT

 

descarga (1)

Now, I wanted to code something useful for our subjects, then I code a uncertainty CALCULATOR, you will use it in chemestry.

Well here is the game if you want to get fun sometime.

http://elmetodoburbuja.blogspot.mx/2012/11/ejemplo-5-tetris-en-c.html

 

WSQ 13 Exam 2

Hey class, this is the post about the exam of the second partial. We did 4 programs. So lets start with it.

Exam fever and food

The first code

The user is going to give the size of the triangle they want and the program has to print a triangle with “T”. we just need to make a recursion so one of the loops will print horizontally and the other vertically.

Second code 

The code raise one number the user write to the power of another number the user gives to you you can use a loop or include cmath so you can use the function pow.

Third Code

This is an old one. Fibonacci the explanation of the recursion is on the quiz 3 but the code is also here.

The last one

As the third,  this one i have already made the programe will tell you if the srting is a palindorme or not.

 

 

Quiz 7

Hey guys is the LAST quiz!   Thank you God.

images (2)

This was an easy one, we will calculate the dot product of a list of numbers. As we have seen we need an array to take the list and a simple for to make the rest of the job .

THE CODE 

First I create a function wich receives the lis of numbers and calculate the product of each corresponding number and at the same time it adds the prducts.

After that you just need to take the lis of numbers on the main part and it is ALL.

 

Quiz 06

IS QUIZ TIME!!!

images

Hi guys, this is the las quiz of the parcial, it is not that hard, so lets do it!

This time is about finding the  greatest common denominator of two possitive integers, here is the information you should know before starting the quiz

https://www.khanacademy.org/computing/computer-science/cryptography/modarithmetic/a/the-euclidean-algorithm

Right there is the euclidean algorithm wich is the one we are using to find that integer.

CODEEEEEEEEEE

Quiz 05

287661af-47ec-4357-a5d4-ec94bbb71365

Hi class, this quiz was an easy one. it has to parts, so let us start with it.

  1. the first part  we need to create a function called palindrome, this function will switch any character string and if it is the same we will call it palindrome

    We have tu include #include <string> in order to work with strings, and the main part is a for
    for( i= cadena.size()-1; i>=0; i–)
    {
    cadena_inv += cadena.at(i);

    }
    here is it, the for is going to order the character switched and downstairs we will evaluate with an if to know if it was a palindrome or not
    HERE IS THE CODE images (1)

  2. The second part is easier. The user will enter a range of numbers and we just have tu add the ones wich are divisible by three.
    Also is a for, but now we have an array, is like this
    for(int i=0; i<cant; i=i+1)
    {
    if(numbers[i]%3==0){
    n=n+numbers[i]; }
    }
    CODE