
Fundamentos de Arreglos en C++
Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
Juan Saez
Used 90+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cómo se declara un arreglo de enteros en C++?
array
int[] miArreglo;
int miArreglo[10];
int miArreglo(10);
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál es la sintaxis correcta para inicializar un arreglo en C++?
int arr(5) = {1, 2, 3, 4, 5};
int arr = new int[5]{1, 2, 3, 4, 5};
int arr[5] = {1, 2, 3, 4, 5};
int arr[5] = 1, 2, 3, 4, 5;
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué es un arreglo multidimensional y cómo se declara en C++?
Un arreglo multidimensional es un tipo de variable que solo almacena números.
Un arreglo multidimensional solo puede tener dos dimensiones.
Se declara en C++ como 'tipo nombre{filas, columnas};'.
Siempre se declara en C++ como 'tipo nombre[filas][columnas];'.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cómo se accede a un elemento específico en un arreglo multidimensional?
Se accede usando un solo índice, como 'arreglo[i]'.
Se accede usando el operador '+', como 'arreglo + i + j'.
Se accede mediante la función 'getElement()', como 'arreglo.getElement(i, j)'.
Se accede usando índices, como 'arreglo[i][j]'.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué sucede si se pasa un arreglo a una función en C++?
Se pasa el tamaño del arreglo como argumento.
Se pasa una copia del arreglo completo.
Se pasa un puntero al primer elemento del arreglo.
Se pasa un objeto que contiene el arreglo.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Para pasar un arreglo como argumento a una función, la declaración correcta sería:
int carga( int alumnos &[ ], int tam);
int carga ( int alumnos [ ], int tam);
int carga ( int alumnos &[tam] );
int carga ( int alumnos ->[tam] );
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál es la diferencia entre pasar un arreglo por valor y por referencia?
Pasar por valor siempre modifica el original.
Al pasar por referencia se crea una copia del arreglo.
No hay diferencia entre pasar por valor y por referencia.
si paso por valor se crea una copia, si paso referencia modifico el original.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Grade 12B Midterm Exam: ERDs, EHR, and SQL
Quiz
•
12th Grade
15 questions
Quiz sobre Windows
Quiz
•
1st Grade - University
20 questions
Examen de TIC en Turismo
Quiz
•
12th Grade - University
15 questions
Test grila - Formatarea tabelelor
Quiz
•
9th Grade - University
11 questions
Структурированный тип данных массив
Quiz
•
10th Grade - University
15 questions
Alfabetização Digital
Quiz
•
9th - 12th Grade
10 questions
Bienvenida al Diseño Gráfico
Quiz
•
12th Grade - University
15 questions
Quiz sur le langage PHP
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
16 questions
Subject pronouns in Spanish
Quiz
•
9th - 12th Grade
14 questions
Model and Solve Linear Equations
Quiz
•
9th - 12th Grade
17 questions
Graduation Requirements Review
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
