Quiz
Matrices
This quiz has question types that open in the usual player.
Questions in this quiz (5)
1Las [blank_start]matrices[blank_end] son una estructura de datos bastante similar a los vectores o arreglos. De hecho, una [blank_start]matriz[blank_end] no es más que una serie de vectores contenidos uno en el otro (u otros), es decir, una [blank_start]matriz[blank_end] es un vector cuyas posiciones son otros vectores.
- Amatrices
- Bmatriz
- Cmatriz
2¿Cual de las siguientes declaraciones es de una matriz?
- Aint r[3] [3];
- Bfloat f[10];
- Cchar s;
3Imprime el numero 1 que se encuentra en la siguiente matriz:
int main(){
int matriz[2][2]={{1,2}{3,4}};
cout<<[blank_start]matriz[0][0];[blank_end]
cout<<endl;
system("pause");
return 0;
}- Amatriz[0][0];
4Que ciclo se utilizan para recorrer una matriz
- A2 ciclos for anidados
- B2 ciclos while anidados
- C2 ciclos do while anidados
5Completa el siguiente programa:
int main(){
int matriz[blank_start][2][2];[blank_end]
for(int i=0;i<2;i++){/**i Filas*/
for(int j=0;j<2;j++){/**j filas*/
cout<<"Ingrese el valor de la posicion"<<i<<" , "<<j<<endl;
cin>>[blank_start]matriz[i][j];[blank_end]
}
}
for(int i=0;i<2;i++){/**i Filas*/
for(int j=0;j<2;j++){/**j filas*/
cout<<matriz[blank_start][i][blank_end][blank_start][j];[blank_end]
}
cout<<endl;
}
cout<<endl;
system("pause");
return 0;
}- Amatriz[i][j];
- B[i]
- C[j];
- D[2][2];
Information
- Description
- Quiz on Matrices, created by easycode cpp on 27/11/2018.
- Author
- easycode cpp
- Language
- Español
- Views
- 80
- History
- Created on 27 Nov 2018 · updated on 27 Nov 2018
- Tags
- Rating
- No ratings yet Rate this quiz