#Quiz08 Sum of squares
Here is the code of this quiz.
Link: https://github.com/MarAnMu13575/-Quiz08-q1.cpp/tree/master
Here is the code of this quiz.
Link: https://github.com/MarAnMu13575/-Quiz08-q1.cpp/tree/master
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
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
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
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
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:
#include <iostream> #include <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)
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.
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 🙂 .
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:
Link where I found the idea of the video:
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,
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 :).
#include <iostream>#include <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
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 ” * “