Computer Science Archive: Questions from October 19, 2022
-
2 answers
-
Which of the following is the result of the following cartesian product? \[ \begin{aligned} A=&\{x, y,\{x, y\}\} \\ B=&\{a, b\} \\ & A \times B \end{aligned} \] Chapter \( 9.5 \) on zyBooks \[ \begin{2 answers -
Inicialice un arreglo de cuatro elementos llamado fila con los valores enteros 1,2,3 y 4.
Inicialice un arreglo de cuatro elementos Ilamado fila con los valores enteros 1,2,3 y 4. Enr the tonlhar nress Al T+F10 (PC) or ALT+FN+F10 (Mac)2 answers -
QUESTION 20: Initialize a four-element array called row with the integer values 1,2,3 and 4 QUESTION 21: State the operation to add elements 1 and 3 of the array above.
Inicialice un arreglo de cuatro elementos llamado fila con los valores enteros 1,2,3 y 4 . For the toolbar, press \( A L T+F 10 \) (PC) or \( A L T+F N+F 10 \) (Mac). QUESTION 21 Indique la operación2 answers -
\% Dado el vector \( x=[2,1,0,-2,3,7,10,-9] \) y los valores a=4 \% b=-3. Escribir un programa que calcule \( y=b^{\wedge} 2-4 a x \). Si el \% resultado de " \( y \) " es negativo asigna \( y=-b / a2 answers