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
‘#Mastery1’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Thu, 26 Nov 2015 05:05:22 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Mastery1 & Mastery2 https://kenscourses.com/tc101fall2015/2015/mastery1-mastery2/ Thu, 26 Nov 2015 05:05:22 +0000 http://finntec.wordpress.com/?p=67 Those are the masteries about

 

  • Ability to create Python file and run from command line
  • Ability to create Python project in IDE and run inside the ID

You can find my video here:

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 1 y 2 https://kenscourses.com/tc101fall2015/2015/mastery-1-y-2/ Wed, 25 Nov 2015 22:24:04 +0000 http://estebanpg.wordpress.com/?p=62

]]>
https://creativecommons.org/licenses/by/4.0/
Matery 1 and 2 https://kenscourses.com/tc101fall2015/2015/matery-1-and-2/ Wed, 25 Nov 2015 08:59:40 +0000 http://ivancortes96.wordpress.com/?p=87
  • Ability to create C++ file and run from command line
  • Ability to create C++ project in IDE and run inside the IDE
  • Here is the link to my video:

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    #Mastery 1 https://kenscourses.com/tc101fall2015/2015/mastery-1-6/ Tue, 24 Nov 2015 02:07:04 +0000 http://jsphsalazar.wordpress.com/?p=113 ]]> Hi guys I’m here to explain how to create a Python file and run it but for some reason the command line of my laptop doesn’t work. So I decided to use Atom and run it with Cygwin as Ken taught us.

    The first step is open our text editor, I’m using Atom

    Before start typing I recommend save your file on your local directory (Ctrl + N) on windows, make sure to add .py at the end of file name, this is very important to run it in a perfect way. For example “myfirst.py” I think it’s a good name.

    n1

    n2

    n3

    Make sure to save the file every time you make a change on it.

    Then you can start with your code. Type type and type.

    When you finish your program, open Cygwin to run it. You need to write python and the name of your program just like this… Your program should run it.

    n4

    It’s very easy

     

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    Harmonic sum of integers https://kenscourses.com/tc101fall2015/2015/harmonic-sum-of-integers/ Wed, 28 Oct 2015 03:03:08 +0000 https://hrglez.wordpress.com/?p=172 ]]> Hi, for this post I made a program which calculates the sum of all the integers from zero to a value specified by the user.

    Here an image of the program running:

    harsum

    Here the code: https://github.com/hrglez/TC1017/blob/master/HarmonicSum

    Thanks! Have a nice life.

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    Harmonic sum of integers https://kenscourses.com/tc101fall2015/2015/harmonic-sum-of-integers-2/ Wed, 28 Oct 2015 03:03:08 +0000 http://hrglez.wordpress.com/?p=172 ]]> Hi, for this post I made a program which calculates the sum of all the integers from zero to a value specified by the user.

    Here an image of the program running:

    harsum

    Here the code: https://github.com/hrglez/TC1017/blob/master/HarmonicSum

    Thanks! Have a nice life.

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    How to create an account in Twitter, GitHub and WordPress https://kenscourses.com/tc101fall2015/2015/how-to-create-an-account-in-twitter-github-and-wordpress/ Mon, 26 Oct 2015 00:53:02 +0000 https://asimplemaniseepythonipresslike.wordpress.com/?p=100 Continue reading ]]> Hi this is César the author of this blog, this post is made to explain some points about Python 3.
    This post is for Windows users.


    In this first post we will be seeing how to create a Python file and how to run it from the terminal, for this I’m going to use the famous phrase “Hello World!” and we will learn the basic output in Python, print().
    The first step to begin with Python 3 is download Python 3 for its official website www.python.org , I recommend you to use the latest version.
    The next step is download Cygwin a really nice terminal that will help you a lot
    To download Cygwin, go to this website http://www.cygwin.com at the left side in the Install button, and then select the version you need.
    It is important for the installation of Cygwin, select the Python option, because the other way it won’t work
    Prevent errors and just install what you need in this case just Python 3 and Cygwin.

    In Python we have something called Built-in Functions, these are the functions that Python has for default and always are available, within this 68 functions, there is the print()
    Print() is a powerful and easy function, this function literally print the value you assign to it.
    For example let’s say you want to print “Hello World”

    Just open Notepad in Windows and type:

    **Notice that print(), the value is inside the parentheses.

    Mastery#1-Image01

    And after this save your file as hello.py, as you can see python uses .py as extension, then open cygwin and look for the folder you save the python file (I recommend desktop) after that type: python3 hello.py, to run your script

    Mastery#1-Image02

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    How to create an account in Twitter, GitHub and WordPress / Create Hello World! https://kenscourses.com/tc101fall2015/2015/how-to-create-an-account-in-twitter-github-and-wordpress-create-hello-world/ Mon, 26 Oct 2015 00:53:02 +0000 http://asimplemaniseepythonipresslike.wordpress.com/?p=100 Continue reading ]]> Hi this is César the author of this blog, this post is made to explain some points about Python 3.
    This post is for Windows users.


    In this first post we will be seeing how to create a Python file and how to run it from the terminal, for this I’m going to use the famous phrase “Hello World!” and we will learn the basic output in Python, print().
    The first step to begin with Python 3 is download Python 3 for its official website www.python.org , I recommend you to use the latest version.
    The next step is download Cygwin a really nice terminal that will help you a lot
    To download Cygwin, go to this website http://www.cygwin.com at the left side in the Install button, and then select the version you need.
    It is important for the installation of Cygwin, select the Python option, because the other way it won’t work
    Prevent errors and just install what you need in this case just Python 3 and Cygwin.

    In Python we have something called Built-in Functions, these are the functions that Python has for default and always are available, within this 68 functions, there is the print()
    Print() is a powerful and easy function, this function literally print the value you assign to it.
    For example let’s say you want to print “Hello World”

    Just open Notepad in Windows and type:

    **Notice that print(), the value is inside the parentheses.

    Mastery#1-Image01

    And after this save your file as hello.py, as you can see python uses .py as extension, then open cygwin and look for the folder you save the python file (I recommend desktop) after that type: python3 hello.py, to run your script

    Mastery#1-Image02

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    Masteries 1 & 2 https://kenscourses.com/tc101fall2015/2015/masteries-1-2-4/ Tue, 29 Sep 2015 02:04:51 +0000 http://carminaperezguerrero.wordpress.com/?p=41 ]]> Mastery 1 – Ability to create Python file and run from command line

    To accomplish this Mastery you will need to have Python, Atom and Cygwin installed (if you are a Windows user like me).

    When you open Atom you will have something like this:

    P1 Click where it says Plain Text.

    Search for the coding language you will use (in this case Python) and click on it:

    p2

    Lets write a simple line of code to make an example:

    p3

    Save it anywhere easy to find, don’t forget to add .py after the name of your file.

    Pro Tip: Avoid any complicated names.

    p4

    Now time to run your program! Lets open Cygwin. We need to open the directory in which our file is. For this you can use cd (change directory) and then specify the location of your file, press Enter. When you do that then you call python and the name of your file so it can run, press Enter.

    Your program should run smoothly.

    Mastery 2 – Ability to create Python project in IDE and run inside the IDE

    Python’s IDE is called IDLE, after you installed Python you can search for it on the start search bar as such. IDLE has two main window types, Shell and Editor. When you first open IDLE you will see something like this:

    i1 This is the Shell Window.

    To go to the Editor Window, click on File and New File. You should get a window like this:

    i2

    Notice how the menu options are different.

    Now on your editor window write a simple line of code:

    i3

    To run it you have to save first, remember to use simple names! When you are done saving your program click on Run on the menu, and then click on Run Module. The shell window should pop up with your program running:

    i4

    And you are done! 😀

    ]]>
    https://creativecommons.org/licenses/by/4.0/
    Masteries 1 & 2 https://kenscourses.com/tc101fall2015/2015/masteries-1-2-5/ Tue, 29 Sep 2015 02:04:51 +0000 http://carminaperezguerrero.wordpress.com/?p=41 ]]> Mastery 1 – Ability to create Python file and run from command line

    To accomplish this Mastery you will need to have Python, Atom and Cygwin installed (if you are a Windows user like me).

    When you open Atom you will have something like this:

    P1 Click where it says Plain Text.

    Search for the coding language you will use (in this case Python) and click on it:

    p2

    Lets write a simple line of code to make an example:

    p3

    Save it anywhere easy to find, don’t forget to add .py after the name of your file.

    Pro Tip: Avoid any complicated names.

    p4

    Now time to run your program! Lets open Cygwin. We need to open the directory in which our file is. For this you can use cd (change directory) and then specify the location of your file, press Enter. When you do that then you call python and the name of your file so it can run, press Enter.

    Your program should run smoothly.

    Mastery 2 – Ability to create Python project in IDE and run inside the IDE

    Python’s IDE is called IDLE, after you installed Python you can search for it on the start search bar as such. IDLE has two main window types, Shell and Editor. When you first open IDLE you will see something like this:

    i1 This is the Shell Window.

    To go to the Editor Window, click on File and New File. You should get a window like this:

    i2

    Notice how the menu options are different.

    Now on your editor window write a simple line of code:

    i3

    To run it you have to save first, remember to use simple names! When you are done saving your program click on Run on the menu, and then click on Run Module. The shell window should pop up with your program running:

    i4

    And you are done! 😀

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