Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/feed-rss2.php on line 8
Alan S. Olalla’s Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Thu, 26 Nov 2015 06:15:08 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Final Project: FINAL https://kenscourses.com/tc101fall2015/2015/final-project-final/ Thu, 26 Nov 2015 06:15:08 +0000 http://alansprogramming.wordpress.com/?p=358 Continue reading Final Project: FINAL ]]> FINAL

It’s over. It’s all over!! “Stress Free Bar” by Jason St. Peter. Link: https://www.flickr.com/photos/fiftypercentchanceofrain/3769770467/

Redundant title is redundant. After much work, tears, sweat and a couple of sleep-deprivation sessions at the Biblioteca, we did it. Messily, and with two codes worth of work, but we did it. Montse had a lot of trouble simply getting the Magick++ library to cooperate with us and it just did not work in my computer. I really have to check it sometime… Anyway, the “good” code is the one titled Final Project.cpp, while the others are alternates with discrepancies (see Week #3). All we have left to do is wait for the reckoning to come.

Here’s the alternate (code for “sucky”) code:

Final1

Final2

Aaaand finally the good and final GitHub code link.

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 23. and 26. https://kenscourses.com/tc101fall2015/2015/masteries-23-and-26/ Thu, 26 Nov 2015 05:55:05 +0000 http://alansprogramming.wordpress.com/?p=348 Continue reading Masteries 23. and 26. ]]> Mastery 26

Entering the matrix in this moment… and never leaving it. “Matrix Code” by David Asch. Link: https://www.flickr.com/photos/trinity-of-one/20562069/

Description: Creation and use of vectors and matrixes in C++.

The very last one. We are going into the matrix of codes (or the code of matrixes, rather). It’s a bit odd that these masteries find themselves separated by a gap between two other masteries, but that’s just nitpicking. Let’s go ahead and finish this trip.

Video link.

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 24. and 25. https://kenscourses.com/tc101fall2015/2015/masteries-24-and-25-3/ Thu, 26 Nov 2015 05:02:49 +0000 http://alansprogramming.wordpress.com/?p=337 Continue reading Masteries 24. and 25. ]]> Mastery 25

Pianos are also arrays… kind of. “Piano strings” by Kevin Dooley. Link: https://www.flickr.com/photos/pagedooley/6399773133/

Description: Creation and use of arrays and strings in C++.

Wait, I didn’t know strings were arrays! Just kidding, we have to know all about arrays and strings if we want to make more complicated code, and it’s always useful to know that you can do one thing in more than one way.

That said, I leave you with the video explanation.

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 17. and 18. https://kenscourses.com/tc101fall2015/2015/masteries-17-and-18-2/ Thu, 26 Nov 2015 04:09:25 +0000 http://alansprogramming.wordpress.com/?p=316 ]]> Mastery17

Wait, these aren’t the nests we are looking for! Photo by Flood G. Link: https://www.flickr.com/photos/_flood_/11441206354/

Description: Use of “switch” as a conditional and nesting of conditional statements.

Just like the description says, there’s nothing like the nesting of conditionals… which can get a little confusing, but they’re important to take into account.

Video right here.

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 19. and 20. https://kenscourses.com/tc101fall2015/2015/masteries-19-and-20-10/ Thu, 26 Nov 2015 03:24:50 +0000 http://alansprogramming.wordpress.com/?p=304 ]]> Mastery19

Infinity is the dove. Maybe it’s a Moebius dove. “The Infinite Loop” by Faruk Ates. Link: https://www.flickr.com/photos/kurafire/377684448/

Description: Use of loops with “while” and “for”.

We’re gonna loop until we die… or the condition of the function is met. Either way, these are the basics of programs which use loops, and why they’re so useful.

Video here!

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 10. https://kenscourses.com/tc101fall2015/2015/mastery-10-10/ Thu, 26 Nov 2015 02:14:01 +0000 http://alansprogramming.wordpress.com/?p=292 ]]> Mastery10

Those post-its are amazing aren’t they? “Got Feedback?” by Alan Levine. Link: https://www.flickr.com/photos/cogdog/14279306964/

Description: Basic output (printing) and input (text based) in C++.

Learning to print text in a code and let the user input some more of their own. We understand the andvantages of output and input in this mastery.

Link to video here.

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ14 https://kenscourses.com/tc101fall2015/2015/wsq14-18/ Thu, 26 Nov 2015 00:20:49 +0000 http://alansprogramming.wordpress.com/?p=265 ]]> 14WSQ

2.7176… almost there… almost there. Photo in Creative Commons. Link: https://www.flickr.com/photos/ilike/4920776953/

After having done the #Quiz11, this WSQ was one of the easier ones, even if it took a lot of digging in StackOverflow and cplusplus.com, looking at details of semi-finished code from beginners (like me, obviously) with the same problems as myself.

e’s an awesome number, check the GitHub code link for the WSQ.

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ13 https://kenscourses.com/tc101fall2015/2015/wsq13-25/ Wed, 25 Nov 2015 23:45:44 +0000 http://alansprogramming.wordpress.com/?p=262 GitHub code link

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ12 https://kenscourses.com/tc101fall2015/2015/wsq12-26/ Wed, 25 Nov 2015 23:42:12 +0000 http://alansprogramming.wordpress.com/?p=252 ]]> 12WSQ

I thought fun with numbers was over? “Numbers 7/52” by Janet Ramsden. Link: https://www.flickr.com/photos/ramsd/5445918407/

GitHub code link

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ 11 https://kenscourses.com/tc101fall2015/2015/wsq-11-2/ Wed, 25 Nov 2015 22:54:44 +0000 http://alansprogramming.wordpress.com/?p=239 Continue reading WSQ 11 ]]> 11WSQ

“I don’t wanna become a palindrome!” – Every Lychrel number. Photo by R. Bradshaw. Link: https://www.flickr.com/photos/zionfiction/8334993349/

Downloading the BigInteger library and making it work is the first step to make this WSQ, and I hadn’t downloaded it so this took some time… It was easy afterwards, and whenever you get stuck it is always a good idea to pay the guys at cplusplus.com a visit. It is also good to see what others are doing and try to do it yourself since the working environments are different for everyone.

The code is, as always, hiding in plain sight.

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