Author Archives: Juan Carlos

#mastery04 #MASTERY04

04 04 1017

This mastery is to demsotrate how to upload work via Github but i will teach you how to do it.

1.-To begin with is you have to create a Github account which a supose you already have if your in Ken´s class.

2.- Second you will have to download the github app to your computer. link for windows (https://windows.github.com/).

3.- After you download it  go to the plus symbol “+” and click on clone.

4.- Now go to the web into your account and create a repository with any name you want.

5.- Now return to app and insert the url of the repository you created.

6.- After that choose a carpet in your documents were you have your codes (I suggest you to put your carpet and your repository the same name). 

7.- Click sync so it will sync with your carpet.

8.- Click were it  says, commits and do the commit or the change.

9.- Click sync again so it will upload to your repository in the web.

That is if you want to upload a file having the github app. In case your app doesn´t work or you don´t have it, go to the web, click on your repository and were it says “branchmaster” and your repositoriy´s name, is a plus symbol “+”. Click there and select the file you want to sumbit.

 

I hope you understand so i can get my two points in this mastery!

 

#PROJECT

Finally! Here is my post for our final project which I did with Rodrigo Hernández. We spent a couple of weeks tryting to figure it out, but we finally make it.

About my experience doing this project i can say it wasn´t easy, and we spent a lot of time trying to figure out how we will do it. At first before start programming, we decide to think about how does it have to work or how we can do it work. After that, we think about how we can express our ideas in code.

Being honest thakns to Rodrigo we made the vectors work correctly but the two of us aport ideas of how could it work. We started by doing the cout´s where you ask the user what would he like to do, like if he want to print board, print instructions, write, erase, print history or  quit.

At first we just did by asking the user what row, column, and number he want to write or in what row and column want to erase and for him to put a number between 1 and 9. Also that the user couldn´t erase original numbers. Then we started with the hard stuff.

Doing the code for the program to check if there was an equal number in row, column or quadrant was the hardest part. We begin by doing a fuction which check in which quadrant were you, we did a bunch un if´s which check if the number  you put were in the row 0 to 2 and column 0 to 2 and that meant it was in the first one, and we did that with all the quadrants.

After we define in what quadrant you are it will check if in the column or in the row was an equal number you want to put.

The tricky part was checking the quadrtant, we did a nest for loop which checked was by making a first index in column and row and a final index in row and column depending in the quadran yo were, so we made the for loop to check to the first index to the last one and then to pass to the other row and etc.

After we managed with the help of Ken, we just change a couple of things to make our code easier, like checking the originals by using negative numbers and absoult numbers, then we put the  colors in the board and finally putting the history and instructions.

I really enjoyed doing this project because it help me understand things i didn´t like vectors, and because of the practice.

I really liked also this class and the way of Ken teaching, with flipped learning. Flipped learning teach me to the things by my own, and investigate things i don´t understand and donpt wait to have a class to understand it. It make you independent and teach you to get over the obstacles.

Feel free to use our code and play with it!

I´m proud to give you mi Github link for my final project:

https://github.com/kenwbauer/RodrigoJuanCarlos/blob/master/sudokuRoJc.cpp

 

#wsq16

16 16 1017

This is my link to my 16, it was an easy one because it was similar to the  project or the other ones. Thank you to my classmates for the help.

https://github.com/juancaglez/TC1017/blob/master/wsq16.cpp

#wsq15

15

I sumbit this 15 for class 1017 a little late but I will tell you what i have done for the past for weeks.

In weeks 1 and 2, i concentrate in my WSQ´s, maybe not submiting them but working on them, i also started working in the Sudoku project with my teammate but we didn´t finish until the fourth week. I also did the quizzes which were for those weeks.

In week 3, I did the quizzes for that quiz but mostly i concentrate on finishing the final project of Sudoku with my partner and in this week we finished it and just were a few little details to change.

In week 4, me and my partner finally finish our final project of Sudoku in a 100% and we sumbitted it. Also I will finish the masteries i have left which are not a lot since i did videos the las month and i think is what i will do this month.

Now is just left to study for my final exam where i hope i do good. And i want to thank Ken for teaching us a different kind of learning and to be more independent.

#wsq11

This is my 11, it´s a little late but i finally did, for me it was the most dificult of the wsq´s for class 1017

Here is my link to github

https://github.com/juancaglez/TC1017/blob/master/wsq11.cpp

#Quiz11

Here are the link to my for class

I had a problem because i started doing them but they were not compiling, so I asked help to Rodrigo who helped me but i didn´t compile in my PC but in his Mac yes i don´t know why.

I will ask you later Ken thanks.

part 1:

https://github.com/juancaglez/TC1017/blob/master/q11part1.cpp

part 2:

https://github.com/juancaglez/TC1017/blob/master/q11part2.cpp

#QUIZ10

#ECOS #TC1017

Here is a screenshot that show that i already had finished my of all my proffesors and also the library and my career director.

#QUIZ09

#WSQ14

The , at first i thought it was just to make a program which the user choose which exponent put to de e and give him the result, then i read it with more attention, and i saw what is was about.

Well in this wsq my recommendation is to search where does the number e come from and how to calculate in math and then just pass it to c++, noticed that i used three libraries.

Here is my code in dropbox cause my github isn´t working, hope you learn from it. Don´t be afraid to ask!

https://www.dropbox.com/s/qydktv6ot0k7h11/wsq14.cpp?dl=0