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

Author Archives: finntec

WSQ08 – On To Functions

This page tought me everything I needed to know about functions for this WSQ. This is my code: def sum(num1, num2):     return(num1 + num2) def diff(num1, num2):     return(num1 – num2) def prod(num1, num2):     return(num1 * num2) def div(num1, num2):     return(num1 // num2) def rem(num1, num2):     return(num1 % num2) x = […]

#quiz06

Here are my programs for the two problems of Quiz 06.
https://www.dropbox.com/s/aw1iztygj5lwznf/p1.py?dl=0
https://www.dropbox.com/s/90chm5o9zppm58u/p2.py?dl=0

WSQ07 – Sum of Numbers

For calculating the sum I used a while-loop. This one is nested in an if-else statement, so that the program can tell the user when we confused the lower with the upper bound. This is my code: print(“I will calculate the sum of numbers in a range you select.”) numLow = numLow1 = int(input(“What is […]

WSQ06 – Pick a Number

Again is used these Python 3 programming examples. There I found how to use while-loops. Here is my code: import random numCom = random.randrange(1, 101) numUs = int( input( “Give me a number between 1 and 100: “)) attempt = int(1) while numCom != numUs :     attempt = attempt + 1          […]

WSQ05 – Temperature

For this WSQ, again, those Python 3 programming examples where really useful. This is my code: tempF = float(input(“Give me a temperature in Fahrenheit. “)) tempC = float( 5.0 * (tempF – 32) / 9.0) print(“The temperature in Celsius is”,tempC) if tempC <= 0:     print(“Water freezes at this temperature.”) elif 0 < tempC < […]

WSQ04 – An About Page

So this post is about myself. My name is Finn and I’m an exchange student from Germany. So far I really love Mexico and I’m glad that I’ll stay here for two semesters! 😀 Why are you studying the degree you chose? Back in Germany I’m studying physics. I chose this course of studies for […]

WSQ03 – Fun with Numbers

For this WSQ it was useful to read through some Python 3 programming examples. Here comes my code: num1 = float( input( “Give me a number! “)) num2 = float( input( “Give me another number! “)) sum = num1 + num2 print(“The sum of both numbers is”, sum) diff = num1 – num2 print(“The difference […]

#QUIZ04

I registered to kenscourses.com.

WSQ02 – Flipped Classroom

Flipped classroom is an interesting model of having class, for teacher and students. In order to realize this idea effectively, both need to adapt their behaviour regarding schooling: Students need to be reliable and to work independently The teacher should give the students the opportunity to work by themselves by giving them clear instructions and […]

WSQ01

It’s time to install Python. I decided to install VirtualBox so that I can run Ubuntu on my Windows PC. This video (in german, but there are videos in english, as well) showed me how to use an .iso-file to install Ubuntu using VirtualBox. Fortunately Pyhton 3 is already installed on Ubuntu. Unfortunately the resolution […]

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