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
‘Programming’ Articles at TC101 Fall 2015, Page 4
Introduction to Programming Python and C++

Tag Archives: Programming

WSQ09

You should follow the leader… and multiply yourself times them. Factorials are one of the most fascinating parts of math, but I for one couldn’t wrap my head around how to do a code for this one. Credit to my partner Samantha Rivera for showing me an easy way to do it through recursion. I’ll … Continue reading WSQ09

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.

Use of IF and ELSE in C++

IF. As you might know, an if statement is the one that allows the user to control if a program enters a section of code or not based on whether a given condition is true or false. One of the… Continue Reading →

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.

Ability to create C++ project in IDE and run inside the IDE

In this tutorial I will show you how to install an Integral Development Environment (IDE) and to run a program inside of it. In this occasion I will use CodeBlocks, an excellent IDE which gives support to the C++ language… Continue Reading →

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).