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
‘#itesmGDL’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Thu, 03 Sep 2015 18:50:49 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ WSQ06 – PICK A NUMBER https://kenscourses.com/tc101fall2015/2015/wsq06-pick-a-number-3/ Thu, 03 Sep 2015 18:50:49 +0000 http://delusionalpieceofdust.wordpress.com/?p=127 ]]> bugsm(Credit goes to http://9gag.com/gag/a0LYA5X

For my sixth asssigment, I had to write a program that picked a random number in the range of 1 to 100. I had a lot of trouble doing this though!!!

At first I was so lost. I mean, I had the previous knowledge from the others WSQs, but it wasn’t enough. Hence, I decided to look for help in the web (http://www.cplusplus.com/reference/cstdlib/rand/) and read the book of the class, but I was still confused. I’m going to admit I didn’t exactly get what the website I found was explaining, so I went with a friend who had already done the assigment and asked for help.

Cygwin finally stopped telling me I had errors in my code, so I was glad. However, the program didn’t exactly run like I expected to. As you can see in the next image:

bugrandom

I checked my code for errors, and at the end everything was all right.

randomjpg

The final result:

randomcompile

Link for my code:

https://github.com/anagloriaac/WSQ/blob/master/WSQ06%20-%20Pick%20a%20Number

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ05 – TEMPERATURE https://kenscourses.com/tc101fall2015/2015/wsq05-temperature-6/ Mon, 31 Aug 2015 13:55:35 +0000 http://delusionalpieceofdust.wordpress.com/?p=122 ]]> a(Credit goes to http://9gag.com/gag/2687338)

For this assigment I had to convert  Fahrenheit to Celsius. So first,  I chose a number (which was 57, I don’t know why), and then I started to write the code in Atom.

As you can see in the next image:

temperatureatom1

I didn’t had a lot of trouble in this WSQ like in the others because I’ve been using the knowledge I’vd learned from the past few assigments. However, at first I used an integrer, so the result rounded. Also I forgot to write a conditional.

tempeatureatom

Finally, I decided to use a floating -point and read the chapter #4 of the book “How to think like a computer scientist” about conditionals.

So this was my final result:

temperature1

Link to my code:

https://github.com/anagloriaac/WSQ/tree/master

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ04 – AN ABOUT PAGE https://kenscourses.com/tc101fall2015/2015/wsq04-an-about-page-4/ Wed, 26 Aug 2015 20:17:21 +0000 http://delusionalpieceofdust.wordpress.com/?p=101 ]]> If you want to know about me, you can check out my ‘About Me’ page.

Btw I love hot wings.

slogan
(Credit goes to http://9gag.com/gag/a8WGPe3

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ03 – FUN WITH NUMBERS https://kenscourses.com/tc101fall2015/2015/wsq03-fun-with-numbers-7/ Wed, 26 Aug 2015 20:08:05 +0000 http://delusionalpieceofdust.wordpress.com/?p=97 ]]> works
(Credit goes to http://9gag.com/gag/avgrDDb)

In this assigment, I had to do the following:

  • Ask the user for two integer values.
  • The sum of the two numbers.
  • The difference of the two numbers.
  • The product of the two numbers.
  • The integer based division of the two numbers (so no decimal point). First divided by second.
  • The remainder of integer division of the two numbers.

This is what I did first:

funwithnumbersatom

Then, I compiled it in Cygwin:

However, I had some errors.

bugs

But at the end, I aced it.

funwithnumbers

As you can see, I had a little trouble doing this. I tried it like 5 times, but with the help of the book “How to think like a computer scientist”, I finally did it.

Link to my code:

https://github.com/anagloriaac/WSQ/tree/master

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ02 – FLIPPED CLASSROOM https://kenscourses.com/tc101fall2015/2015/wsq02-flipped-classroom-6/ Mon, 24 Aug 2015 21:14:44 +0000 http://delusionalpieceofdust.wordpress.com/?p=78 ]]> flipped(Credit goes to http://memecrunch.com/meme/HHA4/flipped-classroom)

Flipped Classroom is an innovative way of learning, where you flip the traditional method of teaching. It is about the student learning the content before class, and then when it’s class time, he or she can ask the teacher any doubt or trouble he/she had. This method allows the class to be more dinamic, so it can be more appealing for the students and helps them to master the topics in a faster way.

I think this is an awesome method of teaching because it doesn’t involve the boring lecture of a teacher, where all you do is to listen and take notes, and there’s no time for anything else. Also, you learn from everyone and share you knowledge, which I think is very cool for me because I like to listen to people’s opinions.

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ01 – SETTING UP C++ https://kenscourses.com/tc101fall2015/2015/wsq01-setting-up-c/ Fri, 21 Aug 2015 14:19:23 +0000 http://delusionalpieceofdust.wordpress.com/?p=12 ]]> My experience with setting up my programming environment was kind of messy. Here is why: 

First, I use Windows as my operating system, so I looked for Cygwin and installed it from its webpage (https://www.cygwin.com/). I had not trouble doing that. The problem started when I had to select the packages. I knew I had to installl gcc-g++ and make, but the problem was that at first I couldn’t find them because I did’t know how to look for them, so what I did was to look for help on the Internet; thus, I found this page to help me: http://cs.calvin.edu/curriculum/cs/112/resources/installingEclipse/cygwin/.

You might wonder why I said at first that it was messy because all I had to do was download it and then follow the instructions from a webpage, and that sounds easy. I thought so too. Also, I thought I was finished when I did the second step of installing Atom (https://atom.io/). However, that wasn’t the case. I don’t why, but the packages of Cygwin weren’t installed on my computer when I tried to run it, so I had to install Cygwin again. For that, I watched Ken’s tutorial on how to install Cygwin (https://youtu.be/i2h_976SpV0), I followed every single instruction, and finally, my programming environment was finally correctly set up!

And this is how I felt when I had to install the packages:14789542197_321a3471e8(Credit goes to Flickr user Post Memes:  https://www.flickr.com/photos/113181945@N04/14789542197/ )

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ00 – SIGN PAGE ONE https://kenscourses.com/tc101fall2015/2015/wsq00-sign-page-one-5/ Thu, 20 Aug 2015 14:07:00 +0000 http://delusionalpieceofdust.wordpress.com/?p=47 ]]> Hi, this is the first homework of the semester:

tweet
(It’s just me tweeting that I agree to the Page One of the course)

My blog: https://delusionalpieceofdust.wordpress.com/
My GitHub: https://github.com/anagloriaac
Link to the tweet: https://twitter.com/thecokemermaid/status/631566167325278208

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