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

Author Archives: lowercase

It’s almost thanksgiving, so, you get a special picture of me…

It’s almost thanksgiving, so, you get a special picture of me eating a turkey leg.

Here is WSQ 14. We had to calculate e with a certain parameter. This is WSQ was easy, and actually was a quiz, which I did first, so, I just had to post my code again. Here it is. https://github.com/bsolisale/WSQQ/commit/b59666b7025f0e18060debc3636d4c0ff2a592a4

FINAL DASH

So, maybe I should have opened this WSQ before, because we have only 3 days left to finish. My plans to finish this semester is to finish all of the WSQs and the masteries, and keep practicing for the exam, that is in. We got here so fast, I am happy w…

Pheeew. This quiz was kinda weird because I just didn’t know…

Pheeew. This quiz was kinda weird because I just didn’t know what I was supposed to do, so I had to look at others code to understand “the problem”. But finally, here is my code:

https://github.com/bsolisale/quiz11/blob/2922bfb2a4e2035cb1da025055359a5a0564e5d1/QUIZ11

Hello there. This is about our project. Later we installed…

Hello there. This is about our project. Later we installed ImageMagick on my computer (Mac), we realized it didn’t work, so we kept trying but we failed. We asked Eduardo for help and he tried to help us with that, but still it didn’t work. So Omar and I decided to use Linux instead (virtual machine, on VMWare). Eduardo kept helping us and we finally could get Ubuntu to work, we downloaded atom, ImageMagick again and  ran “Hello World” on terminal to see if it worked, and it did. But the problems came when we tried to run a sample program on terminal. We had a fatal error, and we tried to see what was wrong, I asked Ken on Twitter and he is helping me, but we still haven’t found which is the problem.

Also, Linux changed my keyboard from Spanish to English, it was weird for me because I’m not used to type “the regular way”. Now I can feel what Ken feels when he uses my computer.

Here is the quiz for bonus points. Easy peasy japaneasy. 

Here is the quiz for bonus points. Easy peasy japaneasy. 

We are finally in the last part of the semester. How did we get…

We are finally in the last part of the semester. How did we get here? Well. This is  wsq #12. It was easy for me, the point of it was to create a program that calculates de greatest common divisor of two numbers. I did this with functions.  The only thing I had to look for, was the math part of it, because it had to be done with Euclidean algorithm, and I have learned that recursion is not the best option when programming. So, here’s my code: https://github.com/bsolisale/WSQQ/blob/master/WSQ12%20GCD

An array is used when we need to handle similar types of data….

An array is used when we need to handle similar types of data. It is defined as a sequence of variable that can store value of one particular data type. To define an array, we use this guide:
type   array_name[size];
For example, if we want to make an array to enter the age of 5 people, we write it like this:
int   age[5];
The resulting array can be represented the first image of the top. 

This array has 5 elements in it, but notice that the first element in the array is age[0]. This is true for any array we create. Also, we can initialize an array at the time of declaration. This means, we can enter the data that goes in each element since we declare the array, for example:
int   age[5]  =  {12,  16,  7,  14,  10};
Example: Program to store 5 numbers entered by the user in an array and display first and last number only. (Second image on the top)

Here are masteries 11 and 12, about functions, creating them and…

Here are masteries 11 and 12, about functions, creating them and calling them. Enjoy: https://www.youtube.com/watch?v=54p8SYCX8cY

This is mastery #22 explains when to use which type of…

This is mastery #22 explains when to use which type of repetition.

While: 

Now we start from zero,

and don’t try to be a hero,

repeats something as long as you want,

with that I’ll give you a hand.

You have to use a condition, 

if you want it could be addition, 

be careful because infinite it is, 

and of eaten cake it’s a piece.

For:

If you don’t wanna repeat that much,

this will help you, I have a hunch,

you just set a little parameter,

it’s not like running a kilometer.

just wait for it not to be true,

who couldn’t do this, tell me who?

Do While

Here we get to another part, 

I really feel it with my heart,

now we can set an end,

for the WSQs of Ken.

condition will be true or false,

you just can’t make no faults.

The infinity of while is gone,

don’t get me with your gun.

Here are masteries 17 and 21. Actually easy for me. I learned…

Here are masteries 17 and 21. Actually easy for me. I learned how to use “switch” to do this mastery and it was easy to use and useful for me. Enjoy: https://www.youtube.com/watch?v=zr2WxayvjoI

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