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

Tag Archives: MASTERY9

Mastery 9 y 13

Masteries 29,9: Validate what the user inputs

Here I will show show an easy way to validate what the user inputs specially what type of data is typing. That means that you can restrict the user to type something no longer than 10 characters, or to type only an integer or a … Continúa leyendo Masteries 29,9: Validate what the user inputs

Mastery 9 and 10

Basic types and their use in C++
Basic output (printing) and input (text based) in C++

Here is the link to my video:

#Masteries 8 y 9

Mastery 8 – The Zen of Python The Zen of Python is a collection of 19 software principles that influences the design of Python Programming Language, written in August 2004 by Tim Peters. The principle text is released into public domain. Zen of Python is written as an informational entry number 20 in Python Enhancement […]

Basic Types and their use in Python3

Hi in Python 3 we have 6 Basic Types for categorize things, let me show you: In Python 3 we have: INTEGERS We can say an ‘integer’ is an integer, some examples of this could be: 1, 23, 3909, -23, 4, -189 Unlike other programming languages python use Integers not matter how high or small…
Continue reading

Mastery 9 – Basic Types of Python

This information is taken from our textbook Think Python so i recommend to read it and if you want to reforce and improve do the exercises provided by the textbook so you can understand better. So, to start we need to learn that Python works with values but there are differents types of value like: […]

Mastery 9

On this mastery I will show you some basic variable types in C++, how and when to use them. 

There are several types in C++ but the basic ones are char, int, long, float, and double.

Each one serves a specific purpose when a variable is used.

char type consists of characters used in a function. It is used when your output will consist of a character or characters. For example, we used it on mastery 19 when our output was a character.

int type is the most used and common in C++. We can use it for numbers but not so big ones. We used it on mastery 10 where our output was a simple math operation.

long type is similar to int but allows us to have bigger integer number outputs. We used it on mastery 21 where our factorial numbers could get bigger.

float and double allows us to have non integer number outputs. For example, the division of 3/2 = 1.5, float allows us to have that output and double works as long, where we can have bigger non-integer number outputs. float was used on wsq10 where a divition could be a non-integer number.

Hope I could clear some doubts and hopefully you know now when to use each type!

#Masteries 9 & 10

This is th video for masteries 9 and 10 Basic types and their use in C++ Basic output (printing) and input (text based) in C++ Here is the link  

#Masteries 9 & 10

This is th video for masteries 9 and 10 Basic types and their use in C++ Basic output (printing) and input (text based) in C++ Here is the link  

Masteries 9 & 10

Basic types and their use in Python.
Basic output (print) in Python

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