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
Mferflores’s Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Wed, 25 Nov 2015 19:34:34 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ TC101 https://kenscourses.com/tc101fall2015/2015/tc101/ Wed, 25 Nov 2015 19:34:34 +0000 http://mferprogr.wordpress.com/?p=462 ]]> Captura de pantalla 2015-11-25 a las 13.30.40
By Susan Licht

I’ve made a video for a bonus point where I talked about TC101. I really took my time to think about great advices. I hate my voice but It’s the best I could do. It really was a pleasure to take this class, so I took the task seriously and tried to do my best. Besides the bonus point, I was interested to do this because I think a lot of people needed some advices this semester and wanted to give some for students of next semesters.

Here’s the link to my video:

 

]]>
https://creativecommons.org/licenses/by/4.0/
Creation and use of strings in C++ https://kenscourses.com/tc101fall2015/2015/creation-and-use-of-strings-in-c/ Wed, 25 Nov 2015 00:52:34 +0000 http://mferprogr.wordpress.com/?p=437 ]]> Captura de pantalla 2015-11-24 a las 18.51.29.png
By -I- AJM -I-

This is mastery 25! The last one, I can’t believe it. I’ll write about strings.

Strings are objects that hold a sequence of characters (one-dimensional array of characters which is terminated by a null character ‘’).

Here’s how a string’s memory works:

Captura de pantalla 2015-11-24 a las 18.43.47

Here’s a code where I used strings.

https://github.com/mferflores/strings/tree/master

 

And now a short poem made by myself.

Strings

The most powerful force on earth,

is not a weapon,

it is not nature.

The most powerful force on earth,

is language,

language are words,

and words are letters.

The most important particle,

is not an atom,

is not even matter.

The most important particles,

you can find them

only inside the alphabet.

]]>
https://creativecommons.org/licenses/by/4.0/
SciLab https://kenscourses.com/tc101fall2015/2015/scilab-2/ Wed, 25 Nov 2015 00:40:03 +0000 http://mferprogr.wordpress.com/?p=427 ]]> Captura de pantalla 2015-11-24 a las 18.38.43
By Allen Russ

I was really excited checking SciLab because, according to Ken, we’re probably going to use it in the future.  I downloaded the app from this website:

https://www.scilab.org/

I had problems because I had not Java installed, but after I installed everything went fluidly. Then, I started playing a little bit with SciLab. It is a really cool app. I think I’ll find it really useful later in my career. It has a lot of options and tools. I think is very complete and neat. Also it made a great first impression because I loved the icon.

 

]]>
https://creativecommons.org/licenses/by/4.0/
Cars https://kenscourses.com/tc101fall2015/2015/cars-2/ Wed, 25 Nov 2015 00:30:21 +0000 http://mferprogr.wordpress.com/?p=419 ]]> Captura de pantalla 2015-11-24 a las 18.28.57.png
By Peter Brannon

I’m so tired right now. I think I am doing everything automatically because my mind refuses to keep thinking…That’s not good.

WSQ16 was a little tricky at first. I had to read and see other posts. Here’s my code:

https://github.com/mferflores/wsq16/blob/master/mpg

]]>
https://creativecommons.org/licenses/by/4.0/
Project (week 5) https://kenscourses.com/tc101fall2015/2015/project-week-5/ Wed, 25 Nov 2015 00:03:13 +0000 http://mferprogr.wordpress.com/?p=410 ]]> Captura de pantalla 2015-11-24 a las 18.00.28
By findingparadise2015

We finished our final project! We just have one little problem we do not know how to solve…But I think that problem is almost nothing so our work is just fine. Semester is over, finally! Time passed so quickly and so slowly at the same time…Does that make any sense?

Now’s stress time, but after that, relax time will come and I’m so happy!

Here’s the link to our project: https://github.com/kenwbauer/TC101F15_Team07/blob/master/Final%20Project

]]>
https://creativecommons.org/licenses/by/4.0/
When to use what type of repetition https://kenscourses.com/tc101fall2015/2015/when-to-use-what-type-of-repetition/ Tue, 24 Nov 2015 03:23:04 +0000 http://mferprogr.wordpress.com/?p=372 ]]> Captura de pantalla 2015-11-23 a las 21.20.51
By Thomas Harper

This is mastery 22. I’m really excited because, after this one, I have to do just one more mastery!

In this post, I’ll write about repetition types, which are used when you want the program to do the same thing, again and again, under a certain condition.

There main repetition types are:

For loop

They are compose by three parts:

  1. Initialization variable-  value in which the loop will start.
  2. Condition- when te loop will end.
  3. Action- usually increment or decrement a variable.

You should use a for loop when you want to give a certain value for the loop to start and a certain action.

Here’s an example of a code where I used a for loop:

https://github.com/mferflores/fibonacci/blob/master/function

While

You should use the while loop when you want the program to perform the loop only when te condition is true.

Here’s an example of a code where I used a while loop:

https://github.com/mferflores/Babylonian/blob/master/Square%20root

Do/while

You should use the do/while loop only when you want the loop to be performed at least once.

Here’s an example of a code where I used a do/while loop:

https://github.com/mferflores/WSQ14/blob/master/Estimating%20e

 

And here’s a video with a summary:

]]>
https://creativecommons.org/licenses/by/4.0/
Creation and use of matrixes in C++ https://kenscourses.com/tc101fall2015/2015/creation-and-use-of-matrixes-in-c/ Mon, 23 Nov 2015 20:17:09 +0000 http://mferprogr.wordpress.com/?p=346 ]]> Captura de pantalla 2015-11-23 a las 14.16.16
By Gabe

This is mastery number 26! I will write about matrixes.

Matrixes are two-dimensional arrays. Here’s the syntax to declare a matrix:

int matrix [number of rows][number of columns];

I wrote “int” as an example, we can also use different types. Like arrays, we also start from cero to assign a position to each element, but now we have to specify rows too.

For example:

int matrix [5][3]=2;

We are assigning 2 to the value in the sixth row (0,1,2,3,4,5) and int he fourth column (0,1,2,3).

We should use matrixes if we want to make a chart.

Here’s a simple poster made by myself to work as a small reminder of basic matrixes info.

Matrixes

]]>
https://creativecommons.org/licenses/by/4.0/
Estimating e https://kenscourses.com/tc101fall2015/2015/estimating-e-2/ Mon, 23 Nov 2015 19:50:26 +0000 http://mferprogr.wordpress.com/?p=332 ]]> Captura de pantalla 2015-11-23 a las 13.48.59
By Robert McEwen

I could not understand why I couldn’t do this task for Quiz11 so I couldn’t post this WSQ because my code was “wrong”. I just realized I just had to change some values! It was not that hard. I thought it was hard because I couldn’t get it right, but my error was sushi a dumb little thing! I was so worried thinking ‘What if I have to do this on the exam and I cannot?’Now I can!

Here’s my code:

https://github.com/mferflores/WSQ14/blob/master/Estimating%20e

Two more WSQ’s and I am done…Yay!

]]>
https://creativecommons.org/licenses/by/4.0/
Final Dash https://kenscourses.com/tc101fall2015/2015/final-dash-3/ Mon, 23 Nov 2015 19:22:39 +0000 http://mferprogr.wordpress.com/?p=314 ]]> Captura de pantalla 2015-11-23 a las 13.21.08
By José Luís

Okay, I think I should’ve done this WSQ a while ago because classes are out in two days… But luckily (or something like that), I still have some things to do.

For WSQ15, I have to make my schedule for this class.

Monday, nov 23rd

Today I’ll finish WSQ’s. I still have to do WSQ14, WSQ16 and WSQ17. I’ll try to do the three masteries I have to do. I’ll stay all afternoon working on the final project, we need to finish it already!

Tuesday, nov 24th

If I still have masteries to do (hopefully not) I’ll do them. Last fixes for the final projects. Video about #TC101 for bonus point.

Wednesday, nov 25th

I will just relax and study for my exams. Classes are over!!

 

]]>
https://creativecommons.org/licenses/by/4.0/
Use of “switch” as a conditional https://kenscourses.com/tc101fall2015/2015/use-of-switch-as-a-conditional-2/ Mon, 23 Nov 2015 18:24:02 +0000 http://mferprogr.wordpress.com/?p=257 ]]> Captura de pantalla 2015-11-23 a las 12.18.24
By Marcin Baran

This is mastery 17. Today I’ll talk to you about “switch”, another conditional type.

Main difference between switch and the other types: we use “break” and we can have several cases.

Here’s an example code I did:

https://github.com/mferflores/switch/blob/master/Grades

Really easy right?

Now you can check a poem I did about  the sense I get of switch:

Captura de pantalla 2015-11-23 a las 12.21.51
By ho_hokus

Switch

Today I woke up full of problems.

They are so heavy I couldn’t even walk,

Please stop,

you’re really driving me mad.

Switch.

I’ll dance my problems out,

I’ll laugh my anger away.

I won’t care about doubt,

I’ll take a brand new way.

Switch.

I can’t avoid the tears,

My soul’s falling apart.

Can you call me, please?

I think I’m out of my mind.

Switch.

Do whatever you want,

I don’t think about you, no more.

I nearly forgot who you are.

Today you’re not part of my world.

Switch.

No words.

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