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:
I checked my code for errors, and at the end everything was all right.
The final result:
Link for my code:
https://github.com/anagloriaac/WSQ/blob/master/WSQ06%20-%20Pick%20a%20Number
]]>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:
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.
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:
Link to my code:
]]>Btw I love hot wings.
(Credit goes to http://9gag.com/gag/a8WGPe3)
In this assigment, I had to do the following:
This is what I did first:
Then, I compiled it in Cygwin:
However, I had some errors.
But at the end, I aced it.
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:
]]>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.
]]>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:(Credit goes to Flickr user Post Memes: https://www.flickr.com/photos/113181945@N04/14789542197/ )
]]>
(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