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
Juan Pablo Barberena’s Articles at Courses by Ken https://kenscourses.com/tc101winter2015 Facilitator of Learning Experiences Mon, 04 May 2015 14:28:52 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ #TC1017 Project Update 2 https://kenscourses.com/tc101winter2015/2015/tc1017-project-update-2/ Mon, 04 May 2015 14:28:52 +0000 https://programmingwithken.withknown.com/2015/tc1017-project-update-2 Continue reading ]]>

We managed to print the history, the info (like instructions, but they’re not complete yet!) and to reset the board. We thought this (resetting the board) would be harder, but we only needed to call the PopulateBoard function again. Also, we modified the board to include vertical and horizontal dividers, making it easier to identify the grids. We’re only a few steps from completing it!

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #mastery28: Reading and writing files https://kenscourses.com/tc101winter2015/2015/tc1017-mastery28-reading-and-writing-files/ Sun, 03 May 2015 23:38:41 +0000 https://programmingwithken.withknown.com/2015/tc1017-mastery28-reading-and-writing-files Continue reading ]]>

So, I created another PDF tutorial. This time, I explained how to open files, read them, write them and close them. This is really useful for many purposes when you need to manipulate external information. I got help from the text book, my previous quizzes and WSQs, and of course, from Ken. Here’s the link:

https://drive.google.com/open?id=0B7w3BFfqL9oQNUpfNjhqakdkQ2c&authuser=0

Hope you find it useful and helpful!

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #mastery24: Arrays https://kenscourses.com/tc101winter2015/2015/tc1017-mastery24-arrays/ Sun, 03 May 2015 23:36:05 +0000 https://programmingwithken.withknown.com/2015/tc1017-mastery24-arrays Continue reading ]]>

Hey! This is one of the last masteries tutorials for the course. This time, I explained Arrays. I haven’t practiced much with this topic, so I consulted this page for more info (http://www.cplusplus.com/doc/tutorial/arrays/). Besides, I looked at Eduardo Tostado’s mastery tutorial (thanks a lot!).  So, here’s the link to the PDF:

https://drive.google.com/open?id=0B7w3BFfqL9oQakstc25EajJ2MW8&authuser=0

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 Project Update https://kenscourses.com/tc101winter2015/2015/tc1017-project-update/ Sun, 03 May 2015 22:34:58 +0000 https://programmingwithken.withknown.com/2015/tc1017-project-update Continue reading ]]>

Hey! So, we didn’t remember to create the blog posts, so there weren’t any updates. So, this is the first one!! We already created the functions to write, erase, check row, check column and check grid. Also, we created a validated user input (not allowing numbers, rows or columns lower than 1 or higher than 9). Also, we started creating the function for colors, but we haven’t implemented it yet… finally, we also subsituted every space between numbers with a |, so it looks a bit more like a divided square. So far it’s looking good, and we hope to finish it by tomorrow or by Tuesday! Anyways, here’s the link to the Github, and a screenshot of how it looks:

https://github.com/kenwbauer/JuanPabloSquared/blob/master/sudoku.cpp

PS: We want to thank Eduardo Tostado and Juan Abdiel because we looked at their code in order to seek guidance in the check grid function. We were doing only one loop, therefore it wasn’t working.

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #wsq17: SciLab https://kenscourses.com/tc101winter2015/2015/tc1017-wsq17-scilab/ Sat, 02 May 2015 03:11:39 +0000 https://programmingwithken.withknown.com/2015/tc1017-wsq17-scilab Continue reading ]]>

So, finally!! This is the last WSQ of the course, and I finished it! It was relatively easy… I just downloaded SciLab, read the PDF tutorial, and managed to do some math in the console. I think this will be a very helpful tool for every student (specially an engineering student). It does a lot of things I don’t know about (such as matrixes, differential eqautions among others), but I know that, when I learn those topics, SciLab will help me by making things easier. The only problem I notice is that there are too many functions, and I think it’s a little complicated to remember every rule for writing. But with practice and experience, I’m pretty sure everyone can get the hang of it. Here’s a picture of what I did in SciLab:

I plotted a function;

I experimented with functions, and variables. Also, I compared two variables to see what happens.

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #wsq16: Cars https://kenscourses.com/tc101winter2015/2015/tc1017-wsq16-cars/ Sat, 02 May 2015 00:29:28 +0000 https://programmingwithken.withknown.com/2015/tc1017-wsq16-cars Continue reading ]]>

Hey everyone! I just finished WSQ16! I had some trouble with the variables, beacuse I was converting a string to a double, but then I was converting it back to a string! Thankfully, Ken helped me figure this out. Also, I want to thank Eduardo Tostado, becasue I took a look at his code; it really helped me to figure things out. Anyways, here’s the link to my code:

https://github.com/JPBarberena/Codes/blob/master/wsq16.cpp

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #quiz11: Bananas! https://kenscourses.com/tc101winter2015/2015/tc1017-quiz11-bananas/ Tue, 28 Apr 2015 22:08:15 +0000 https://programmingwithken.withknown.com/2015/tc1017-quiz11-bananas Continue reading ]]>

So, I finished this quiz already. With question 1 I didn’t have problems at all. But with Question 2, I had some trouble using the “find” function. Besides the page Ken provided, I used this one to guide me: http://stackoverflow.com/questions/2340281/check-if-a-string-contains-a-string-in-c

Here are the codes:

Q1=https://github.com/JPBarberena/Codes/blob/master/question01.cpp

Q2=https://github.com/JPBarberena/Codes/blob/master/question02.cpp

 

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #quiz10: Wish Lists https://kenscourses.com/tc101winter2015/2015/tc1017-quiz10-wish-lists/ Thu, 23 Apr 2015 14:41:42 +0000 https://programmingwithken.withknown.com/2015/tc1017-quiz10-wish-lists Continue reading ]]>

Hey, so I finished this Quiz. The first question was very easy; i just had a little problem when I passed the vector size as a parameter instead of the vector itself.

On the other hand, question 2 was harder. I forgot to initialize my total to 0, so I got a very different result from what I should have obtained. Fortunately, Ken was around to help me.

Here are the links:

Question 1: https://github.com/JPBarberena/Codes/blob/master/question1.cpp

Question 2: https://github.com/JPBarberena/Codes/blob/master/question2.cpp

Enjoy!

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #ECOS: Bonus Quiz https://kenscourses.com/tc101winter2015/2015/tc1017-ecos-bonus-quiz/ Thu, 23 Apr 2015 14:05:42 +0000 https://programmingwithken.withknown.com/2015/tc1017-ecos-bonus-quiz Continue reading ]]>

All done!!

]]>
https://creativecommons.org/licenses/by/4.0/
#TC1017 #mastery23: Vectors https://kenscourses.com/tc101winter2015/2015/tc1017-mastery23-vectors/ Fri, 17 Apr 2015 02:41:49 +0000 https://programmingwithken.withknown.com/2015/tc1017-mastery23-vectors Continue reading ]]>

I created another PDF tutorial for you to learn about vectors: what they are, how are they used, etc. Hope you like it!

https://drive.google.com/open?id=0B7w3BFfqL9oQTDNxaXNoNm5IQkk&authuser=0

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