Introduction to Programming Python and C++

Tag Archives: WSQ

WSQ12, Greatest Common Divisor

The semester is almost done, and so the WSQ’s for this semester. I´m so excited: The image: The code: https://github.com/hrglez/TC1017/blob/master/WSQ12%20-%20GCD See ya! Good luck for everyone.

WSQ11, The hardest freaking one.

This one must have been the hardest one in the whole semester. However, I have done it. I used Big Integer libraries, as well as their functions “stringToBigInteger” and “bigIntegerToString” to done this one. Here the image: And the code: So good to already finished this one.

Standard deviation

To get this task done we had to make a programm in python that would ask the user for 10 numbers, then to save those numbers in a list. Those numbers had to be floating point. After we get that… Continue Reading →

Standard deviation

To get this task done we had to make a programm in python that would ask the user for 10 numbers, then to save those numbers in a list. Those numbers had to be floating point. After we get that… Continue Reading →

WSQ10, Lists

Hi, this is the post for the WSQ10. The program asks the user for 10 numbers, then returns the sum of the values, the average and the standard deviation.
As usual, an image with the program:

The code: https://github.com/hrglez/TC1017/blob/master/WSQ10…

WSQ10, Lists

Hi, this is the post for the WSQ10. The program asks the user for 10 numbers, then returns the sum of the values, the average and the standard deviation.
As usual, an image with the program:

The code: https://github.com/hrglez/TC1017/blob/master/WSQ10…

On to functions

For this task we were meant to create a programm that performs the same as the WSQ03. This means the programm would have to calculate the addition, substraction, multiplication, division and reminder of two INTEGERS given by the user, but… Continue Reading →

On to functions

For this task we were meant to create a programm that performs the same as the WSQ03. This means the programm would have to calculate the addition, substraction, multiplication, division and reminder of two INTEGERS given by the user, but… Continue Reading →

#WSQ09 Factorial Calculator

For this task, I made 2 codes, one was using recursion and the other one with a loop. Here are my codes: loop factorial recursive factorial For both codes I used the BigIntegerLibrary, it is complicated but the explanation is in… Continue Reading →

#WSQ08 On to Functions

In this case was the same as WSQ03, the sum, difference, product, division and its reminder of 2 integer numbers. But with now was necessary to create a function for each operation. The correct sintaxis for a function is: int… 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).