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

Tag Archives: WSQs

WSQ 12

We’re approaching to the end of the course!! And I am finishing up my WSQ tasks. In this post I’m presenting you, my dear reader, the GDCC3000. The GDCC3000 is a code I wrote to calculate the greatest common divisor of two number. I used Euclid’s algorithm. This guy was smart because by using his […]

WSQ 12

We’re approaching to the end of the course!! And I am finishing up my WSQ tasks. In this post I’m presenting you, my dear reader, the GDCC3000. The GDCC3000 is a code I wrote to calculate the greatest common divisor of two number. I used Euclid’s algorithm. This guy was smart because by using his […]

WSQ10

This was kind of hard to do the right way. I tried to ask the user for numbers separately and then do calculations with all of these as variables before realising it was kind of wrong so I read the List chapter and understood how to use loops for it. In this way, my code […]

WSQ09

So this is simple factorial calculator, it was kind of easy to do. This is factorialcalc.py in action!

WSQ08

In this WSQ I have fun with numbers, again! I’m sure my code can be optimized but I tried to write it as clean i.e. readable, as possible. So yeah, all I did was print some options for the user and ask for two numbers to work with. Finally, I created some functions so they are […]

WSQ07

This was challenging but surprisingly fun. I had some problems that were solved understanding what I was doing so the book helped me a lot.
This is my code:

This is Sumofnumbers.py in action:

WSQ07

Sum of a RANGE of numbers. This WSQ was a little bit more difficult, than the ones before. I got inspiration from a friend’s code but I didn’t liked so I change some parts of his code. First I would like you to see my code. I tried used a function and a condition while […]

WSQ06

Guess! This WSQ is about a program that picks a number from 1 to 100 and then asks the user to guess the number. The program must give clues like “Too high or too low”. At the end the program prints how many times you tried. Here is my code: I had to do some […]

WSQ04

On the top of this blog (Octavio’s Blog) there is a link to “An about page of Nic Cage”. Feel free to check it out. It is my WSQ04 task.

WSQ03

Fun with Numbers! “Plato claimed that numbers exist in some mind-independent abstract heaven. Nominalists claim that there is no such heaven. Clearly, we can’t see, hear, taste or feel numbers. But if there are no numbers what is mathematics all about? “ (Rosen, 2006) Oh numbers! Making our life beautiful since their invention. Actually, what would […]

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