My semester with Ken

--Originally published at Victor´s Spot

My semester with Ken was very interesting I had never been in a class where nothing worth points, at the the beggining I thought this system was not going to be useful for learning but I did not expected that we as students were going to do a real effort for the course, but I believed that the reason consists in the fact that the students have pride.

Well, to sum up I want to say that this new method of teaching was really interesting and having a nice teacher like Ken is even more interesting, I hope to keep contact with Ken after this course because he´s an excellent professor.

Finally I wish luck for those who will have class with Ken next semester or next year.   th5RQI5CO6


Our Final Project “Galgenmännchen(Ahorcado)” finished

--Originally published at Victor´s Spot

Well finally with my brother Jesus Castillo Madrigal, we finished the final project, and we achieved our goal of making a Hangedman with random words in germany, in the creation of this program or game, we developed the following mastery topics from kenscourses.com:

  • When to use what type of repetition in a program
  • Validated user input (ensure correct/expected data entry)

Because in the program we have to decide where and when repit some parts of the program, and we had to ensure that the user didn´t entry a wrong expected data that would ended the program.

The keys open doors

and let the knowledge indoors

Here you can download the code: https://gist.github.com/victorcmadrigal/da2893fe0a53ca888c9901b5b26bf4e1 aaaaaaa


The beginning of the course

--Originally published at Victor´s Spot

With the first codes of this course i believe that I developed the following mastery topics from kenscourses.com:

  • Ability to create C++ file and run from command line (terminal)
  • Create accounts: Blog, Twitter, GitHub

And I did it because I had to for made my evidences for the semester, first I thought that it was not going to be a good way to evaluate ourselfs but think that was a mistake, it was an excellent way to share with my friends what I have done, Github was an excellent site to upload my codes and share in my blog.

So I believe that the blog and Github were important in my performace for this semester.Resultado de imagen para githubResultado de imagen para wordpress


WSQ08

--Originally published at Victor´s Spot

This task was kind of large, but I finally did it with the help of Juan Carlos Ron Varela and Rogelio Felix Gamboa.

WSQ08

The job consisted on

“Create a program that asks the user for two pieces of data: The lower bound of the sequence & The upper bound of the sequence. Then you check the values from the lower bound (inclusive) to the upper bound (inclusive) and make a report of them. During the analysis of each number, if a Lychrel number is found it should be reported immediately with something like “Found a Lychrel number: 196” (Bauer, 2017).

I believe I develope on this WSQ the following mastery topics from Kenscourses.com:

  • Nesting of conditional statements (ifs inside ifs)
  • Nested loops

I belived that i developed those because the code requires a combination of loops and conditional because it requires of that to make it worth.


WSQ13

--Originally published at Victor´s Spot

Well, this task was diferent from others because in this one we had to download a program called Scilab. The reason was very simple Ken told us that the program would be very useful for our student´s life, and I decided to give it a try and I discovered that it is actually a very useful program to math and physycs, I am still learning how to use it completely and I think is going to be an excelent partner in my college.WSQ13


WSQ12

--Originally published at Victor´s Spot

This task was very interesting because at the beggining I did not understand what I had to do so I searched for help, and a friend did help me and explained me the code and what I have to do, but then I tried to do it by myself and I made it!

So then my code was working after a lot of obstacles, and I will share it with you with this link https://gist.github.com/victorcmadrigal/870a9075847487e56c2ffa448a3b6fc3

And a photo of it: WSQ12


Our Project “Galgenmännchen(Ahorcado)”

--Originally published at Victor´s Spot

I’m working with my brother Jesus Castillo Madrigal on this project with the help of a friend Oscar, I know what you think. That this game is overused but we are going to do it in another language, German, yeah both of us are learning the lenguage so we decided to combine Solving Problems with Programming with the amazing new language.aaaaaaa

We have started working on it, and we have plenty expectativies about it.


My second Partial with Ken

--Originally published at Victor´s Spot

I have to say that my second partial with ken was more difficult but full of knowledge, the second exam consists in creating some functions, in the first exercise  we had to do a function capable of giving us the distance between two points, following the rule of the pitagoric theorema, I can say this one was pretty easy and not complicated at all.

In the second exercise we had to do a function capable of input a number and give us a factorial of it, I can say I had work with factorials before and now I can do it by my own, also I think it is important to mention that I develope a mastery topic on do it, a mastery topic taken from kenscourses.com and it was:

  1. Use of recursion for repetitive algorithms

In the third exercise we had to do a function capable of sum a list of numbers, but those numbers had to be in the power of 3, for people who knows how to make list was easy and this lead us to develope another mastery topic which it´s:

  1. Creation and use of Arrays/Vectors in C++

Also I started to share my codes in GitHub and I think it is an amazing tool for coding, and that´s why I considered to complete the following topic:

  1. Submit work via Blog RSS and GitHub

You can download my code for the second exam here: https://gist.github.com/victorcmadrigal/ac442e80df402005b8592fb7807e886f

Click to view slideshow.

 


WSQ11

--Originally published at Victor´s Spot

I have to admit that this task it was hard because I don´t dominate the fact of making list but step by step with each WSQ I am improving the way I code my programs. The WSQ11 requires to create a list and what we had to do was:

“Write a function called find_bananas which receives a single parameter called filename (a string) and returns a positive integer which is the number of times the word (string) “banana”  (or “BANANA” ) is found in the file. The banana can be any case (‘BaNana’ or ‘BANANA’ or ‘banana’, etc) and they can be “stuck together” like “banAnaBANANA” (that counts as two). Create your own test file (plain text) to check your work.” (Bauer, 2017)

In the creation of the function I discover a lot of funny things that I can do with the code but I decided to keep it classy.

I believe I developed the following mastery topics from kenscourses.com

  1. Reading and writing of text files
  2. Use of loops with “for”

The first may not be fully covered but partially, yes

WSQ11 I want to share with you a little poem about the code:

It seems we can now count bananas

But we can´t reach our pajamas

But soon we can be at the Bahamas

You can download my code here:


WSQ10

--Originally published at Victor´s Spot

I believe that this activitie was very easy because I have a strong knowledge when it consists in a mathematic code, I enjoy doing these kind of tasks and for these particular case we had to do:

“The function should receive a number and return floating point number. Obviously you should test your function, so create a main program that asks the user a value, calculates the square root and displays that.”(Bauer,2017)WSQ10

To entertain I will share with you a little poem:

Calculating an squareroot

Maybe difficult

But not something you can´t do

So you don´t have to try to cut

You can download the code here: