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

Tag Archives: Uncategorized

WSQ12

Para este WSQ sólo vi un video en youtube sobre el algoritmo de Euclid y lo demás lo deduje por lógica. Aquí está el código. El operador % ayudó bastante para simplificar la función. //WSQ12 #include <iostream> using namespace std; int gcd (int x, int y){ int yy; int xx; int z=1; while(z!=0){ xx=x; yy=y; […]

#WSQ16 – HOMEWORK – A01631728

Here’s the last one, I’m free!!! I didn’t understand the column part but a friend from ISS help me, thank you Cesar!! 🙂 GitHub code: https://github.com/luisduartepalacios/WSQ16/blob/master/WSQ16.cpp

Masteries 19. and 20.

Description: Use of loops with “while” and “for”. We’re gonna loop until we die… or the condition of the function is met. Either way, these are the basics of programs which use loops, and why they’re so useful. Video here!

Masteries: 7, 10, 28 and 29

#wsq16

my code: https://github.com/lulisgarciap/wsq11/blob/master/wsq16.py Frida’s code helped to do it. Remember to download the file text of cars in the carpet where you have your python files! =)

#wsq14

At the beginning it was hard for me to understand what the code suposed to do. When I understood everyhing easier, everything works with the formula. here’s my code: https://github.com/lulisgarciap/wsq11/blob/master/wsq14.py

#Masteries – Masterie 28 – A01631728

Reading and writing of files in C++ For writting files you first need to open it, for that you need a library that’s call “fstream”, that helps to read and write on files. As the example shows, you need to use the function open and put the name of the file with the respective type […]

#Masteries – #TC1017 – A01631728

Here are  the final masteries, finally!!!!! IM DONEEE Masterie 8 and 21: https://www.youtube.com/watch?v=5N4_ylfjvBI&feature=youtu.be&hd=1 Masterie 2 and 9: https://www.youtube.com/watch?v=ywiEexzfTAc&feature=youtu.be&hd=1

Masteries: 15. Use of the conditional “if”; 16. Use of “else” with a conditional; 17. Use of “elif” with a conditional; 18. Nesting of conditional statements

This video is a bit long, but i show all these masteries.
The conditionals if, else, elif and of course you nest statements in each condition.

M 8. Python conventions (Zen of Python)

The Zen of Python Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren’t special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless […]

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