Review flip learning

Hello,

 

This course follows a new rule on the school named flip class, the one that gives you the chance to learn in a different way than the regular bases, on your own rithm, I really enjoy the class because it gave me that change to learn in my own way and my own speed, helping me to develop different skills that the other classes don´t allowed you to.

At the first week I was a little confused because I was not used to it, but once you understand the background of class like that, everything becomes easier and you can manage your time to get the result you´re looking for.

 

Flipped Class :  is an instructional strategy and a type of blended learning that reverses the traditional learning enviroment by delivering instructional content, often online, outside of the classroom. It moves activities, including those that may have traditionally been considered homework, into the classroom. In a flipped classroom, students watch online lectures, collaborate in online discussions, or carry out research at home and engage in concepts in the classroom with the guidance of a mentor.

 

Thanks for reading and the hole blog was part of the flipped class but i really liked t and probably I will continue with the postings and the photos the next semester.

 

 

 

 

 

-Commited Gorilla-

 

 

 

Final Proyect

Hello,

Here you will find my final proyect which took me all semester to decide what to do, at the end i worked side by side with a really good friend Martha, the blog that i shared with you some posts ago,

The game is based on Snake from years ago and it took us a while to finish it but at the end it worth it, we share with you the code and its really important to mention that to make it work we download CodeBlocks which helps us to write the code and compile in the same program:

#include <windows.h>
#include <iostream>
#include <conio.h>
#include <cstdlib>
#include <stdio.h>

#define Arriba 72 //Define numeros asociados a las flechas
#define Izquierda 75
#define Derecha 77
#define Abajo 80
#define Esc 27
int cuerpo[200][2];
int n=1, tam=4, x=10, y=12, dir=3, xc=30, yc=15, velocidad=100, score=0, h=1;
char tecla;

void gotoxy(int x, int y) //funcion posicion de “x” y “y”
{
HANDLE hCon;
COORD dwPos;

dwPos.X =x;
dwPos.Y =y;
hCon=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(hCon,dwPos);

}
void pintar(){
//lineas
for(int i = 2 ; i < 78 ; i++){
gotoxy(i,3);
printf(“%c”,205);
gotoxy(i,23);
printf(“%c”, 205);

}
//lineas verticales
for(int i = 4 ; i < 23 ; i++){
gotoxy(2,i);
printf(“%c”,186);
gotoxy(77,i);
printf(“%c”, 186);

}
//esquinas
gotoxy(2,3);
printf(“%c”,201);
gotoxy(2,23);
printf(“%c”, 200);
gotoxy(77,3);
printf(“%c”, 187);
gotoxy(77,23);
printf(“%c”, 188);

}
void guardar_posicion(){

cuerpo[n][0]=x;
cuerpo[n][1]=y;
n++; //sigue incrementando
if(n==tam) n=1;

}

void pintar_cuerpo(){

for(int i = 1 ; i < tam ; i++){
gotoxy(cuerpo[i][0], cuerpo[i][1]) ; printf(“*”);

}

}
void borrar_cuerpo(){
gotoxy(cuerpo[n][0], cuerpo[n][1]) ; printf(” “);

}
void teclear(){
if(kbhit()){
tecla=getch();
switch(tecla){
case Arriba:
if(dir!=2)
dir=1;
break;
case Abajo:
if(dir!=1)
dir=2;
break;
case Derecha:
if(dir!=4)
dir=3;
break;
case Izquierda:
if(dir!=3)
dir=4;
break;
}
}

}
void cambiar_velocidad(){
if(score==h*20){
velocidad-=10;
h++;
}
}
void

2016-05-05_0028

Continue reading “Final Proyect”

Wsq13

Hello,

Well this time  share with you some of the documents that were part of my exam for the second partial…

 

I had to do 4 programs:

The first one will print a triangle as big as the number you first entered,

#include <iostream>

using namespace std;

int main(){
int superpower=1, a, b, c=0;

cout <<“This program will ask you for 2 numbers and determine the first number raised to the power of the second number”<<endl;
cout <<” enter the first number”<< endl;
cin>>a;
cout <<“enter the second number”<<endl;
cin>>b;

superpower=superpower*a;
c=c+1;

while(c<b){
a=a*superpower;
c=c+1;
}

cout<<a<<endl;

}

2016-05-04_1217

The second program asks you for 2 numbers and multiplies the first one times the second one:

#include <iostream>

using namespace std;

int main(){
int superpower=1, a, b, c=0;

cout <<“This program will ask you for 2 numbers and determine the first number raised to the power of the second number”<<endl;
cout <<” enter the first number”<< endl;
cin>>a;
cout <<“enter the second number”<<endl;
cin>>b;

superpower=superpower*a;
c=c+1;

while(c<b){
a=a*superpower;
c=c+1;
}

cout<<a<<endl;

}

2016-05-04_1220

The third program will give you the fibonacci number that corresponds to the number you entered:

#include <iostream>

using namespace std;

int fibonacci(int n){
if(n==0){
return 0;
}
if(n==1){
return 1;
}
return (fibonacci(n-1)+fibonacci(n-2));
}

int main(){

cout<< fibonacci(6)<<endl;

return 0;
}

2016-05-04_1226

And the four one tells you if the word is a palindrome or not :

#include <iostream>
#include <string>

using namespace std;

bool palindrome(string cadena, int size){
for(i=0, i< (size/2), i++){
return True;
}
return False;
}

int main(){
string cadena;
int size;

cout<< “This program will determine if the word you type is a palindrome”<<endl;
cout<<“please enter a word”<<endl;
getline(cin, cadena);

}

2016-05-04_1232

This was a really good exam even though it was easy but at the moment I didn’t though that at  all, after the

Continue reading “Wsq13”

Quiz 5

Hello,

This time I brought to you another quiz, this one determines if the word you are typing is a palindrome or not.

The first step is to ask fo a word and then double check if its a valid word, then the program take the word and place its backwards to compare if its the same to what they type in the first time, if its true then it prints the word is a palindrome, if its not the same it prints not a palindrome.

Haga click para ver el pase de diapositivas.

This is awesome, and I hope you like them and try to explore more ideas beyond this

 

 

 

-Black Sunshine-

Quiz 4

Hey,

I have finished the Quiz number 4 for my programming class, this is basically able to calculate de euler´s by asking the precision that you want and the number as well, after that, the function calls another function to verify and confirm the number according to the Euler´s method.

2016-04-02_1916
2016-04-02_1917
done

 

And it was everything you need to do, I will upload the code on Guthub later on today so you can check it.

 

Hope this is a great life for you😉

 

 

 

 

-Gummybear beach-

Total, Average & StdDv.

Hello,

Well this program its my level 2, because it took me more and it felt like  whole week went thru but it didnt.

I´ll show you what i did, it might not look very hard but for me was challenging.

It can give you the Total, Average and Standard Devtion of 10 numbers you enter.

Haga click para ver el pase de diapositivas.

The joke was the best of this program, hope you can try and decide to explore different ways to get the same result or even better.

 

Enjoy your week.

 

-Google doesn´t have it-

Quiz N°6

Hey-

This time I finish finally my quiz 6 and it works which is the best part, what it does is that it gives you the greater common denominator of the 2 numbers you type in the program, everything working thanks to the Euclid’s method.

2016-03-15_0930
2016-03-15_0931
2016-03-15_0932
1318

Its ALIVE!! haha its always fun to see the mistakes when you try to compile in Cygwin because even the “#include” could go wrong.

 

Hope you try it and have fun as I did.

-Nokia Ninja-

Calculator 2.0

Hey,

 

Hope you remember 3 posts ago I shared with you the calculator program, well this one its better and it includes functions 🙂

 

I got a lot of help of a friend here named Alan, he helped me understanding the functions which by the way are really easy   –

Here you will find my way to accomplish this reloaded calculator..

Haga click para ver el pase de diapositivas.

This one was very fun to do and the results where even better so give it a try.

 

 

 

-Negatives hamburgers-