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
Ruth Vanessa Baeza Elizalde’s Articles at TC101 Fall 2015, Page 3
Introduction to Programming Python and C++

Author Archives: Ruth Vanessa Baeza Elizalde

WSQ10! Lists

Same thing but with hashtags…

Now I think I actually ahve to give credit to my friend Miguel  Angel Cárdenas, he took the time to explain me what the heck were vectore and how they worked. I read the book but he explained it so much better.

Anyways here is my code in github:

https://github.com/VanessaBaeza17/Lists/blob/master/CODE

 

Hope it helps you.

Can’t upload image, sorry 🙁

++

 

Factorial Calculator

The hard part of this things is figuring out the loop.

Thanks to a guy that sits next to me (can’t remember his name), I managed to do it.

Here is my code: https://github.com/VanessaBaeza17/Factorial-Calculator/blob/master/CODE

Thanks!

 

Quiz #7

Here is my code for quiz #7 in github. It took me a while but it works.

Fibonacci: https://github.com/VanessaBaeza17/Quiz7/blob/master/Fibonacci

Palindrome: https://github.com/VanessaBaeza17/Quiz7/blob/master/Palindrome

Thanks!

 

 

QUIZ #6 !!!

I’m really agry at the moment, because this quiz was due on friday, and I did it on thursday but totally forgot to upload it. I hate my super unexistant memory skills.

But I’ll upload it anyways.

Here is the code on GitHub:

https://github.com/VanessaBaeza17/Quiz-6/tree/master

Now, I’ll go cry for a little bit.

Thanks.

 

On to Functions!

This was easy for me, because I understood pretty well the function stuff. (I think I understood how they work).

So this program executes several operations to two numbers, I programmed it so that is always takes de bigger number first (ex. n1=3 n2=8  , rest = 5)

Hope my code helps you! Here it is:

https://github.com/VanessaBaeza17/On-to-functions/blob/master/On%20to%20functions

#WSQ08 #TC101 #OnToFunctions 

 

WSQ06!!

Here is my code, you have to guess a number that is randomly selected by the program. I did it with no help (except for the time/rand thing).

Hope this helps you!

#WSQ06 #Tc1017

 

#include

#include

#include

using namespace std;

 

int main() {

  srand(time(0));           //time changes, the number changes

  int r=1+(rand() % 100);

  int x;

  int count = 0;

  cout

 

cout

cin >>x;

count = count+1;

 

while (x!=r){

  if(x

  cout

  cin >>x;

  count = count + 1;

} else {

  if (x>r){

      cout

      cin >>x;

      count = count + 1;

 }

  }

}

 

cout

  return 0;

 

}

Mastery 10!

Here is video of mastery 10 😀

Hope it helps.

It’s about:

  1. Basic output (printing) and input (text based) in C++

 

Masteries 3 and 4!

Here is my third video about the masteries. 

Hope it helps.

It’s about:

  1. Create accounts: Blog, Twitter, GitHub
  2. Submit work via Blog RSS and GitHub

 

Masteries 15 and 16!

Here is my SECOND video about the masteries. 

Hope it helps.

It’s about:

  1. Use of the conditional “if”
  2. Use of “else” with a conditional

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