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
Alan S. Olalla’s Articles at TC101 Fall 2015, Page 3
Introduction to Programming Python and C++

Author Archives: Alan S. Olalla

WSQ08

Some functions inside one big function… So we had to repeat WSQ 3 with a little twist. Now all of the operations we did have to be written in functions. This was one of the easiest WSQ’s looking back on it, and still very useful and basic for the understanding of C++. Here’s the usual … Continue reading WSQ08

WSQ07

Ranges, bounds, formulas! Mathematically, there’s a really cool operation we could use to get the integer sum of [n_1, n_2], so when I read that that wasn’t what we had to do (at least not exactly) it felt more interesting. Here’s the GitHub code link: WSQ 7.

WSQ06

Randomness abounds. So for this WSQ, I had to check the <ctime> library and why it worked for assigning random numbers, several times. It ended up being quite easy, as with C++ the same thing can be done in different ways (Thank you cplusplus.com!). Here’s the GitHub link to WSQ 6.

Mastery 6

Description: Install Linux on their own computer. I didn’t install Linux (is that cheating?) and instead showed the procedure to install Cygwin, the console needed to run C++ files. Mastery 6.

Mastery 2

Description: Ability to create C++ project in IDE and run inside the IDE. A great way to set up the perfect work space is an IDE, and in this mastery we will do just that. Mastey 2

Mastery 2

Description: Ability to create C++ project in IDE and run inside the IDE. A great way to set up the perfect work space is an IDE, and in this mastery we will do just that. Mastey 2

Masteries 15 and 16.

Description: Use of the conditional “if” and use of “else” with a conditional. A conditional and conditionals within conditionals. What we’d expect at this level already, really. In all seriousness, conditionals are very useful to check wheteher statements are true or not. Video for both masteries here.

Masteries 15 and 16.

Description: Use of the conditional “if” and use of “else” with a conditional. A conditional and conditionals within conditionals. What we’d expect at this level already, really. In all seriousness, conditionals are very useful to check wheteher statements are true or not. Video for both masteries here.

#Quiz08

Write a function called sumsquares_list which receives a vector of int and returns the sum of the squares of the elementes in the list. For example, if we have a vector with the values x with values [1,2,3,4,5], sumsquares_list(x) would return 55 since 1 + 4 + 9 + 16 + 25 is 55. GitHub … Continue reading #Quiz08

#Quiz08

Write a function called sumsquares_list which receives a vector of int and returns the sum of the squares of the elementes in the list. For example, if we have a vector with the values x with values [1,2,3,4,5], sumsquares_list(x) would return 55 since 1 + 4 + 9 + 16 + 25 is 55. GitHub … Continue reading #Quiz08

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).