Skip to content
  • Home

OlafGC / Class #TC1017

Month: May 2017

Course Review

Here you have the link to my course review.  It’s been a pleasure and I am very happy. Advertisements

#WSQ13

Hi guys! This is the last post I’ll write, to show you a magic, new and wonderful tool that Ken shared with us. It is called Scilab, and it’s just amazing. It does almost literally everything (except writing your posts for Ken’s class). The link for the video is bellow, and enjoy this, my last […]Read Post ›

Final exam, question #2…

Here we are: the final exam. In this video/tutorial, I’m going to explain how to easily write the function for the third question of our final exam. Here is the code and enjoy the ride! #include <iostream> #include <vector> using namespace std; float prom_numeros(vector<float> nums) { float accu=0; { for(int i=0; i<nums.size(); i++) { accu=accu+nums[i]; […]Read Post ›

Quiz #08 (Most important, final exam question #4)

Hello dear friends! A quick tutorial on how to solve the fourth question of the exam. I hope you find this very useful and thanks for watching! Code: #include <iostream> using namespace std; int fibonacci(int n) { int fib=1, pre=0; for(int accu=0; accu<n; accu++) { fib+=pre; pre=fib-pre; } return fib; } int main() { int […]Read Post ›

Final exam, question #3 (or quiz #9)

Hi programigos! This is the video tutorial/code for solving the third question on our final exam: smallest_of_four. Enjoy and good luck! #include <iostream> using namespace std; float smallest_of_four(int a, int b, int c, int d) { if(a<=b, a<=c, a<=d) return a; else if(b<a, b<=c, b<=d) return b; else if(c<a, c<b, c<=d) return c; else { […]Read Post ›

Final exam question #1

A tutorial video on how to do the “triangle” function for the final exam. Link and code bellow: #include <iostream> using namespace std; int triangle (int size) { for(int c1=0; c1<=size; c1++) { for (int c2=0; c2<c1; c2++) { cout<<“T”; } cout<<endl; } for (int c1=size-1; c1>0; c1–) { for (int c2=c1; c2>0; c2–) { […]Read Post ›

Talking Chalk/ OlagGC #FinalProject©

So here is the first post about our progress in the project. We have eight weeks left. We had two ideas: the first one consisted on assembling a robotic arm and program it; the second one, in making an app (for cellphone or computer) very similar to Duo-lingo, but instead of learning  new idiom, it […]Read Post ›

Tags

#CourseReview #HelloWorld #Quiz03 #Quiz04 #Quiz08 #TC1017 #WSQ01 #WSQ02 #WSQ03 #WSQ04 #WSQ06 #WSQ07 #WSQ09 #WSQ10 #WSQ12 #WSQ13 FinalProject WSQ05
Follow OlafGC / Class #TC1017 on WordPress.com

Here’s pretty much everything:

  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017

Are you looking for something?

OlafGC on Twitter

My Tweets
Powered by WordPress.com.
Cancel