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, Page 4
Introduction to Programming Python and C++

Author Archives: carminaperezguerrero

WSQ08

This time we recycled the code of WSQ03, now writing a function for each calculation. Each function has two integer parameters given by the user and returns the correct value as an integer as well. The code is found here: https://github.com/CarminaP/WSQ/blob/master/WSQ08.py

WSQ10 – Lists

The program asks the user for 10 numbers and stores those numbers in a list as floats. It then shows to the user the total, average and standard deviation of those numbers. I used a while loop to ask the user the 10 numbers, while adding them on a list, then a for loop to […]

WSQ10 – Lists

The program asks the user for 10 numbers and stores those numbers in a list as floats. It then shows to the user the total, average and standard deviation of those numbers. I used a while loop to ask the user the 10 numbers, while adding them on a list, then a for loop to […]

Masteries 3 & 4

Create accounts: Blog, Twitter, GitHub
Submit work via Blog RSS and GitHub

Masteries 3 & 4

Create accounts: Blog, Twitter, GitHub
Submit work via Blog RSS and GitHub

Quiz 7

The first part consisted of writing a function called distance that recieves four numbers, whih represent two points in the cartesian plane. It returns the distane between the two points. https://github.com/CarminaP/Quiz7/blob/master/p1.py On the second part I had to write a function  called fibonacci that recieves one parameter, which is the nth number in the fibonacci series. https://github.com/CarminaP/Quiz7/blob/master/p2.py

Quiz 7

The first part consisted of writing a function called distance that recieves four numbers, whih represent two points in the cartesian plane. It returns the distane between the two points. https://github.com/CarminaP/Quiz7/blob/master/p1.py On the second part I had to write a function  called fibonacci that recieves one parameter, which is the nth number in the fibonacci series. https://github.com/CarminaP/Quiz7/blob/master/p2.py

Quiz 6

The first part consisted of writing a function called superpower that recieves two parameters from the user and returns an integer that is the result of the first parameter raised to the power of the second. I couldn’t use the ** operator and must use a loop. Last time I used a while loop instead […]

Quiz 6

The first part consisted of writing a function called superpower that recieves two parameters from the user and returns an integer that is the result of the first parameter raised to the power of the second. I couldn’t use the ** operator and must use a loop. Last time I used a while loop instead […]

Masteries 26 & 28

Mastery 28 – User input (text based) in Python (basic) input(“prompt”) is one of the many Built-in Functions of the Python interpreter. The prompt is written as an output, the function recieves an input from the user and converts it to a data type, usually a string. For this data to have a meaning in the program, it should be saved inside a […]

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