Tag Archives: #quiz10

QUIZ10 wish lists

For the first one I just creat a function to check all the elements of the list if they are divisibles of three and the numbers that are, it will be adding.

For the second first a Ihave to be source that the lists are the same size then if they are  I use a for loop with using len operation of the list that was the range of my loop.

here is the links of my codes for both questios of the quiz10:

https://github.com/EfrainDuarte95/TC1014/blob/master/q10.py

https://github.com/EfrainDuarte95/TC1014/blob/master/2q10.py

 

#QUIZ10

Quiz 10

Hey everybody! In this ocassion we had a quiz using vectors. It was a little tricky but, at the end, it works.

Here is the link of each one.

Question 1:

https://github.com/juanpsantana/WSQs/blob/master/Quiz%2010%20q1.cpp

Question 2:

 

Untitled

Here is my code for the 10th quiz in Kens TC1017 C++ course

Question 1

Question 2

Learn To Program 2015-04-24 14:52:00

Quiz10

In mathematics, the dot product, or scalar product (or sometimes inner product in the context of Euclidean space), is an algebraic operation that takes two equal-length sequences of numbers (usually coordinate vectors) and returns a single number.
Algebraically, it is the sum of the products of the corresponding entries of the two sequences of numbers”

**********************
Programa hecho en Python:
**********************
https://github.com/A01630323/Learn-To-Program/blob/master/Quiz10_Q1.py
https://github.com/A01630323/Learn-To-Program/blob/master/Quiz10_Q2.py

Learn To Program 2015-04-24 14:52:00

Quiz10

In mathematics, the dot product, or scalar product (or sometimes inner product in the context of Euclidean space), is an algebraic operation that takes two equal-length sequences of numbers (usually coordinate vectors) and returns a single number.
Algebraically, it is the sum of the products of the corresponding entries of the two sequences of numbers”

**********************
Programa hecho en Python:
**********************
https://github.com/A01630323/Learn-To-Program/blob/master/Quiz10_Q1.py
https://github.com/A01630323/Learn-To-Program/blob/master/Quiz10_Q2.py

Learn To Program 2015-04-24 14:52:00

Quiz10

In mathematics, the dot product, or scalar product (or sometimes inner product in the context of Euclidean space), is an algebraic operation that takes two equal-length sequences of numbers (usually coordinate vectors) and returns a single number.
Algebraically, it is the sum of the products of the corresponding entries of the two sequences of numbers”

**********************
Programa hecho en Python:
**********************
https://github.com/A01630323/Learn-To-Program/blob/master/Quiz10_Q1.py
https://github.com/A01630323/Learn-To-Program/blob/master/Quiz10_Q2.py

#Quiz10 #TC1017

La primera pregunta del quiz trata de sumar los elementos de un vector que sean divisibles entre 3 (3,6,9,12,etc.).

Lo que hice fue lo siguiente:

1.- Llenar el vector y con un do/while le permito al usuario agregar todos los elementos que desee, presionando “00” para detenerte.

2.- Con un ciclo For, evalúo cada elemento del vector y acumulo en una variable únicamente los que sean divisibles entre 3.

https://github.com/edgarpruneda/Quiz10/blob/master/Quiestion%201

 

En la segunda pregunta del Quiz tienes que calcular el producto punto entre dos vectores

Lo que hice fue lo siguiente:

1.- Llenar el vector y con un do/while le permito al usuario agregar todos los elementos que desee, presionando “00” para detenerte.

2.- Con un ciclo for, lleno el segundo vector solo  hasta que alcance el tamaño del primer vector (de esta manera ambos vectores tendrán el mismo tamaño)

3.- Multipliqué con otro ciclo for los elementos de los vectores y los acumulé para conseguir el producto punto.

https://github.com/edgarpruneda/Quiz10/blob/master/Question%202

Quiz 10

Ex 1:https://github.com/PacoRoug/TC1014/blob/master/quiz%20%2310%20ex1

Ex2:https://github.com/PacoRoug/TC1014/blob/master/ex2%20quiz%2010

Quiz 10

#TC1017 #QUIZ10