Introduction to Programming Python and C++

Tag Archives: Programming life

Babylonian Method for Square root

Hello there, welcome again! In this WSQ #13 we had to write a program which do the following: “The function should receive a number and return floating point number. Obviously you should test your function, so create a main program… Continue Reading →

PROJECT ADVANCE! STAGE 2 AND 3.

For stage 2 and 3 of the final project I got into the research of how to make the program using the library in Ubuntu and well, it was quite easy, now the challenge will be to start writing the… Continue Reading →

Euclids Algorithm

In this WSQ I had to write a code in which I could use the already known Euclids Algorithm to find the Greatest Common Divisior of two numbers that will be asked to the user. Euclids Algorithm: The Euclidean algorithm… Continue Reading →

Quiz #11

In this quiz we had to write 2 programs which do the following: Question 1:  Write a function called calculateE that receives a single float parameter accuracy and calculates the value of e using using sufficient terms (ie: there are… Continue Reading →

Bonus Points!

So, our teacher told us that if we wanted some bonus points for our final grade we had to answer the ECOA, which is a survey about the student’s opinion about our teachers.

Preparing the environment. (Final Project Week #1)

For the first week making the final project my team partner Eduardo Maciel and I decided that we will prepare an IDE in which we will use Linux Ubuntu as our Operative System and we already downloaded the ImageMagick Library… Continue Reading →

Use of IF and ELSE in C++

IF. As you might know, an if statement is the one that allows the user to control if a program enters a section of code or not based on whether a given condition is true or false. One of the… Continue Reading →

Quiz #8!

Hello again! For today’s quiz we had to write a code which could ask the user for undeterminated number of values and calculate the sum of the squares. For example: Let’s suppose that the user will introduce this values to… Continue Reading →

Quiz #8!

Hello again! For today’s quiz we had to write a code which could ask the user for undeterminated number of values and calculate the sum of the squares. For example: Let’s suppose that the user will introduce this values to… Continue Reading →

Lists!

For this weekly WSQ which is #10 We will be using  arrays in order to create a program that asks the user for 10 numbers  (floating point). Store those numbers in a list. Show to the user the total, average… Continue Reading →

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