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

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/feed-rss2.php on line 8
carminaperezguerrero’s Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Wed, 25 Nov 2015 07:00:46 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ BONUS https://kenscourses.com/tc101fall2015/2015/bonus-2/ Wed, 25 Nov 2015 07:00:46 +0000 http://carminaperezguerrero.wordpress.com/?p=172 ]]> BOOOONUUUUUS

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 23 & 25 https://kenscourses.com/tc101fall2015/2015/masteries-23-25/ Wed, 25 Nov 2015 06:27:20 +0000 http://carminaperezguerrero.wordpress.com/?p=158 Creation and use of lists in Python

Creation and use of ranges in Python

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ17 https://kenscourses.com/tc101fall2015/2015/wsq17-7/ Wed, 25 Nov 2015 06:26:42 +0000 http://carminaperezguerrero.wordpress.com/?p=161 ]]> 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

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 21 & 22 https://kenscourses.com/tc101fall2015/2015/masteries-21-22-3/ Wed, 25 Nov 2015 06:04:43 +0000 http://carminaperezguerrero.wordpress.com/?p=153 Use of recursion for repetitive algorithms

When to use what type of repetition in a program

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 19 & 20 https://kenscourses.com/tc101fall2015/2015/masteries-19-20-4/ Wed, 25 Nov 2015 05:49:20 +0000 http://carminaperezguerrero.wordpress.com/?p=147 ]]> Use of loops with “while”

Use of loops with “for”

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 8 & 30 https://kenscourses.com/tc101fall2015/2015/masteries-8-30/ Wed, 25 Nov 2015 03:57:47 +0000 http://carminaperezguerrero.wordpress.com/?p=140 Python conventions (Zen of Python)

Reading and writing of files in Python

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ16 https://kenscourses.com/tc101fall2015/2015/wsq16-6/ Tue, 24 Nov 2015 23:06:15 +0000 http://carminaperezguerrero.wordpress.com/?p=134 ]]> 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.

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ15 https://kenscourses.com/tc101fall2015/2015/wsq15-9/ Tue, 24 Nov 2015 15:08:37 +0000 http://carminaperezguerrero.wordpress.com/?p=130 ]]> 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

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ14 https://kenscourses.com/tc101fall2015/2015/wsq14-9/ Tue, 24 Nov 2015 14:03:33 +0000 http://carminaperezguerrero.wordpress.com/?p=123 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

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ13 https://kenscourses.com/tc101fall2015/2015/wsq13-15/ Mon, 23 Nov 2015 13:45:27 +0000 http://carminaperezguerrero.wordpress.com/?p=116 ]]> 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.

]]>
https://creativecommons.org/licenses/by/4.0/