Final Review

Para la reseña final del curso realice un video en español sobre mis opiniones durante el semestre.

En primer lugar me gustó la forma de restarle importancia al examen y a las calificaciones, puesto que realmente una calificación no demuestra cuanto aprendiste. Al inicio escuche muchos comentarios sobre esto, la mayoría diciendo que no era buena idea y que nadie iba a hacer nada, cosa que no ocurrió. Ya apara el final, escuche también comentarios como «yo creía que no iban a aprender nada», cosa que, al menos en mi caso, tampoco ocurrió.

Después están las visitas con Ken. Me parece que, al menos en México, no es muy común incentivar a tus alumnos a visitarte en tu oficina. A lo largo del semestre solo visité a dos maestros, uno de ellos siendo Ken y el otro mi director de carrera; de los demás maestro ni siquiera sabia donde quedaban sus oficinas por si tenia alguna duda. Creo que es importante crear esta confianza entre profesor-alumno para el proceso de resolver dudas, ya que muchos estudiantes no preguntan por miedo.

Por ultimo esta el ritmo del curso, cada quien podía llevar el ritmo que quisiese; podías hacer todo el curso durante el primer mes, o hacerlo todo al final (lo cual no recomiendo). Para mi esto fue muy cómodo, puesto que ya había llevado programación antes y entendía algunos temas. Pero si me toco ver muchos casos en los que si batallaban y me imagino que fue porque no habían llevado programación antes ni una clase con dinámica similar.

Al final me gusto el curso, creo que aprendí, pero de una manera más tranquila y relajada, a mi propio ritmo. desde el inicio mi mayor reto no era hacer los programas, puesto que me gusta hacerlos y es entretenido, si no el blog; para mi era lo más desgastante de todo el curso, pero al final creo que me adapte.

 

Final Project

Here is my final project

Picture4

Picture5

The project is suposed to search for the name of a medicament in a CSV file, then ask the user if he whants it, and if the answer is yes modifi the document.

It is actually a very simple proble, but it has an important impact on the health sector, specially in public hospitals.

The program actually search or the name, ask the user, but we couldn’t make the change in the original file. But no matter what you time, the program does not crash.

Now we know that we need to save the hole document in an array an then modify the part that we needed and the save it all over again.

I’m gona try to make this arrangement in the final project, but i’m not promessing anything do to final exams.

SciLab – WSQ13

Here is a really cool Youtube video. It`s an introducción to SciLab, there are 4 videos taht explain all you can do, there is also a PDF for begginers that you can use.

Here are some of the things I did in SciLab:

Picture2

Picture3

(this are just graphs, but you can do a lot more)

Go Bananas – WSQ11

For this program we were supose tu search for the word «banana» in a file, even if the word is written in upper or lower cases.

This was a very similar to the WSQ10. First we need to make a file, in this case, and for obviusly reasosn, I call it «banana.txt». We have to open the file, then, to ingonre when the word is written u¡in upper or lower, we can change the hole file to lower cases.

Picture1

 

 

Final Project

Programa de enlace entre farmacia y consultorio médico pensado para el sector público.

Objetivo: Optimizar el proceso de atención y disminuir la cantidad de recetas no abastecidas.

Características:

  • Ver disponibilidad de medicamentos en farmacia
  • Ver diferentes presentaciones del medicamento
  • Marcar error
  • Facilitar correo al supervisor
  • Amigable

Cronograma de trabajo:

3 de noviembre: abrir archivos de excel (sacar cantidad de medicamentos disponibles y sus presentaciones)

10 de noviembre: marcar error y enviar correo (error de dedo y preguntar por el correo del supervisor)

17 de noviembre: últimos detalles (hacer programa amigable)

21 de noviembre: Entrega final

*Trabajo a la hora de clases, en caso de ser necesario se trabajará tiempo extra

Babylonian Method – WSQ10

This program calculates the square root of a number using the babylonian method.

I was really surprised at how short this program was (after Yosoy196 I was expecting some long programs)

wsq10

 

The programs is really simple. You just need to search for the Babylonian method on the internet.

For getting the square root you only need simple operations, the square root will just approximate to the real one.

The result is going to be pretty close to the real one, after doing it with the calculator we can se that it just gives us the first 5 digits and the second one is rounded.

Imagen1.png

 

Multipart Data and Files – WSQ09

For this the task was for the user to insert the name of a file, and then count the lines of the file and the chars.

wsq09

 

For this we use a struct so we can get both values. The name of the file is saved as a string. Then the function opens it and counts the lines with a ++ and the chars with =+, then we just call the function for the lines and the for the chars.

The result is something like this:

wsq09b

Note: Make sure tos save the file you want to open in the same folder as your code. It can also be done if your file is somewhere else, but it is more difficult.

Yo soy 196 – WSQ08

This was the hardest program for me until now.

For this I was working other students, you can visit their blogs here: Valeria and Ana.

What does this program does? Find the quantity of  palindromes, Lycherel, and non Lycherel numbers in a range of numbers given by the user.

For this you want to use biginteger because you are going to be storing number with a lot of digits. For comparing the numbers we use string, this for the two functions.

wsq08

In the main part it goes tricky. First we cal for the palindrome function that returns true if the number is a palindrome, for this we need a counter.

Then, if the number is not a palindrome, it goes to the second function. Here the number is added with is inverse number and then tested again for the palindrome. The program would do this 30 times before determining it is a Lycherel number.

wsq08m

Quiz 3 – Counting letters

This was the third quiz of the partial

For this the user had to input a sentence, which the program has to read and say how many of one letter does the sentence has, in this case the letter «o».

quiz3

For saving all the sentence we needed to put getline(cin,name) (so it can read the whole line and not just the first word). this is part of the string function. the letter we search for was a char and we also got a function in which we are counting the number of times the letter appears.

Blog de WordPress.com.

Subir ↑