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

Author Archives: maran13575

#Quiz08 Sum of squares

 Sum of squares

 

Here is the code of this quiz.

Link: https://github.com/MarAnMu13575/-Quiz08-q1.cpp/tree/master

#WSQ04 Submit work via Blog RSS and GitHub

Mastery #4

 

 

In this  mastery I talk about how to upload your stuff in github and blog, this is veery simple after all, and for the second part (because the post never opens in my blog ) will be in another video, so don´t worry (if you were) and see you kids.

 

Link to the video: https://www.youtube.com/watch?v=Iluv8638foI

#Quiz07 Fibonacci and isPaliondrome

 

Quiz #07 Fibonacci and is Palindrome

 

Hi everyone, today I´m here with a new Quiz, in this quiz I had to create a fibonacci serie, where the user gave me a number (position), and the program gave him the number in that position in the serie, and the sond one the program recive an string and return if it´s palindrom or not.

Link to github:

Quiz07 q1.cpp : https://github.com/MarAnMu13575/-Quiz07-q1.cpp/tree/master

Quiz07 q2.cpp: https://github.com/MarAnMu13575/-Quiz07-q2.cpp-/tree/master

#Mastery08

Mastery #08

8. C++ coding conventions

Before the people come with: YEAK your video sucks or you don´t explain what I have to do when my cat bought a weapon with my credit card in best buy, let me tell you that this video is for the compression of what coding conventions in c++ means, maybe I will do two or three examples, but the rest, like my teacher say, you have to search and if you after that don´t understand come to see me in or after class, he is a really good teacher, but this is´nt the case, what I´m telling to you is, okay, I gave you the basic for understand and the rest is all yours, but after see the video, you still had problems, give me a comment in the post, that really help me to improve my explanations and helping you.

Link to the video:https://youtu.be/7QfOa6ibt8I

Links that helped me: 

https://google-styleguide.googlecode.com/svn/trunk/cppguide.html

https://isocpp.org/wiki/faq/Coding-standards

https://en.wikipedia.org/wiki/Coding_conventions

 

#Mastery05 and #Mastery06

Masteries #05 and #06

5. Demonstrate use of Linux sufficient for quizzes/exams

6. Install Linux on their own computer

 

Here we go with everything, two masteries, in this video first I tried to show how to install Linux (Ubuntu in this case), first I thought that install it will be easy, but noooo, I never was so wrong, THE TIME AND 1006 MB, but all for the sake of the person like you and me that are learning how to control or defeat this monster called C++.

 

For the mastery number 5 I will try to show you the use of Linux for exam or quizzes, but maybe it will be difficult, because I can´t show you how to answer a quiz, but I will do my best, and another thing that I was missing, It´s that I do all my quizzes in the computer of the school and I can record everything thats why, but this will help you, 91 of 100 was my grade in this, so you can trust me . 

 

Links:

First part: https://youtu.be/IUB3xZMZ6ag

Second: https://www.youtube.com/watch?v=NdekAJsLa9Q

Ubunt download: http://www.ubuntu.com/download/desktop

#WSQ10 Lists

Lists

 

In this wsq I had to do a program where the user had to input 10 numbers whatever and the program have to give him the total of the addition of all the numbers, average and standard deviation of those numbers. Every time I feel this like, ooh look I´am a c++ function, use me but I ´m not going to tell you how to use me so, teach by yourself loser, and I´am like, 🙁 okay (cries in spanish), but this like my teacher said,: It´s not difficult, you only have to remember each one and what they do, and I ´am like 🙁 okay, but kids don´t mess with c++, if you do, maybe it can beat you.

Link to my acount of github:https://github.com/MarAnMu13575/-WSQ10-Lists/tree/master

Links where I found information about the topic:  

http://www.cplusplus.com/reference/list/list/

http://www.cplusplus.com/reference/list/list/

https://www.youtube.com/watch?v=o5wJkJJpKtM

The code:

 <iostream>
 <math.h>
using namespace std;

float aver(float x){
  return (x/10);
}

int main (){
	float array1[10];
	float suma=0;
	float square=0, deviation;
	for (int i=0; i<10; i++)
	{
		cout<<"Introduce an value, and be gentle:  "<<(i+1)<<" : "<<endl;
		cin>>array1[i];
	}

	for (int i=0; i<10; i++)
	{
	suma+=array1[i];
	square+=(array1[i])*(array1[i]);
	}
	deviation=sqrt(square/10);
	cout<<"The addition is equals to: "<<suma<<endl;
	cout<<"The average of the numbers you introduce is: "<<aver(suma)<<endl;
	cout<<"The standard deviation of the numbers you introduce is: "<<deviation<<endl;

return 0;
}

 

15 cute postals for your enemy: http://9gag.com/gag/apB80jE (This is 9gag, this is fun)

 

#Mastery18

Mastery #18

18. Nesting of conditional statements

Link to the video: https://youtu.be/-AiCsGT0QNU

Hi everyone, I´m here because of you and me, I know that my videos are not  profesional but, it is wonderfull when someone tell you: “¡Hey I watched your video the last night and that helped me to understand the topic”,and  about  the video, the nesting of conditional statements is like I said.

Putting a conditional on a conditional 

This will be, if, else, if else or switch, and the use of it depends of you and your homework, work or whatever you were doing with them.

So after this speech, and maybe you didnt read everything  that I was saying (Pony, You will be my friend if you read the word, jajaja), but thanks for watching and see you later 🙂 .

 

The idea where I made the video is from my teacher Ken, without him this wouldn’t be possible, so:

Thanks Ken.

#Mastery20

Mastery #20

20. Using of loop with “for”

Hi everyone, I am here with this mastery, and like the mastery 19, it’s a shoooooooooooort video about this, maybe you are wondering why I do this,what I want with this,,,,, well my dear kid, with this I want to improve my and your skills in this big world called C++, that are full of, not monsters but there are a lot of commands, libraries, functions,and other stuff that you and your family (if nobody in your family have a job where you use this) are going to listen in your lifetime, but that is another topic, for now, ¡¡gambatte!! or ¡¡ganbatte!! or whatever jajaja (It´s a japanese word for effort). So now, go to see the video and see you later.

Link to the video: https://youtu.be/oOV2nl4uxvc 

 

How for work:

C++ for loop

Link where I found the idea of the video:

http://www.tutorialspoint.com/cplusplus/cpp_for_loop.htm

#WSQ09 Factorial

 

Factorials

In this WSQ I used the factorials, and what is that? you maybe are asking, this is a factorial: 

 

In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal ton. For example,

5! = 5  times  4  times  3  times  2  times  1 = 120.

And I´m here, yeah, you can ask me whatever about it, if I don´t know maybe I can talk with my classmates and help you, you little human, jajaja :).

 

 <iostream>

<cmath>

 using namespace std;

int main(){

    int num, factorial= 1;

cout<<"Enter number to find it´s factorial: ";

cin>>num;

for (int a=1; a<= num; a++)

{

factorial= factorial*a;

}

cout <<"The factorial is:  over 9000 "<<endl; 

cout <<"Na, I´m joking, this is the real:  "<<factorial<<endl;

cout<<"Thanks for visiting us, see you "<<endl;

return 0;

}

 

Github link (This dark place where I save all my programs if you want, take a look over here):

 https://github.com/MarAnMu13575/-WSQ09-Factorials/tree/master

#Quiz06

Here are my ansewrs Ken, and wish me look for this quiz. 🙂

This is for the problem num 1, that it´s about superpower, this was made with the help of Ken, so everybody thanks Ken (¡Hey!), this was some difficult, because you had to think in math and those things.

https://github.com/MarAnMu13575/-Quiz06-q1.cpp

The second one, was more easy for me, and I feel it like the q1, but with stars or something that looks like stars ” * “

https://github.com/MarAnMu13575/-Quiz06-q2.cpp

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