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

Author Archives: carminaperezguerrero



Masteries 23 & 25

Creation and use of lists in Python
Creation and use of ranges in Python


In this last assignment we had to combine our work with files and dictionaries.The details of the assignment can be found HERE. I tried. You can find the code HERE

Masteries 21 & 22

Use of recursion for repetitive algorithms
When to use what type of repetition in a program

Masteries 19 & 20

Use of loops with “while” Use of loops with “for”

Masteries 8 & 30

Python conventions (Zen of Python)
Reading and writing of files in Python


For this assignment I had to write a program that opens and reads the file 93cars.dat.txt and produces the average gas mileage in city (City MPG), average gas mileage on highway (Highway MPG), average midrange price of the vehicles in the set. You can find the code HERE.


I had to write a program that asks the user for the name of an image file  then performs any of the following operations and outputs the new image to a new file. Rotate (90,180,270) Flip (horizontal, vertical) resize (user specifies new size) You can find the code HERE


In this assignment I had to create a function that calculated the euler number with a number of decimals specified by the user.
You can find the code HERE


In this assignment I had to write a function to calculate the square root of a number using the Babylonian method. This page was really useful, I just had to translate it to python. The code is here.

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