
Evaluación sobre Matrices en C
Authored by Natasha Kasprzyk
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
¿Cómo se declara una matriz de enteros en C?
int matriz(10);
int[] matriz;
matriz[10] int;
int matriz[10];
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
¿Cuál es la forma correcta de inicializar una matriz de 3x3 en C?
int matriz[3][3] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
int matriz[3][3] = {{1, 2}, {3, 4}, {5, 6}};
int matriz[3][3] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
int matriz[3] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
¿Qué función se utiliza para recorrer una matriz en C?
Se utilizan funciones recursivas para recorrer una matriz.
Se utilizan estructuras de datos como listas enlazadas.
Se utilizan punteros para acceder a los elementos de la matriz.
Se utilizan bucles como 'for' para recorrer una matriz.
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
¿Cómo se accede al elemento en la posición (2, 1) de una matriz de enteros?
matriz[2][1]
matriz[0][1]
matriz[1][1]
matriz[1][0]
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
¿Qué sucede si intentas acceder a un índice fuera de los límites de una matriz en C?
Se genera un error de compilación.
El programa se detiene inmediatamente.
Se devuelve un valor nulo.
Se produce un comportamiento indefinido.
6.
FILL IN THE BLANKS QUESTION
10 sec • 1 pt
Los vectores son denominados arrays unidimensionales y las matrices arrays (a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?