
Quiz2. Solidity

Quiz
•
Instructional Technology
•
Professional Development
•
Medium
Cristian Torres
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué es un mapping en Solidity?
Una estructura de datos que almacena pares clave-valor.
Un tipo de bucle que itera sobre un array.
Una función que permite enviar Ether.
Un tipo de dato primitivo como uint o bool.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué hace la palabra clave payable en Solidity?
Permite que una función reciba Ether.
Define una función que no puede modificar el estado del contrato.
Especifica que una variable es inmutable.
Indica que una función es privada.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cómo se declara un ciclo for en Solidity?
for (uint i = 0; i < 10; i++) { ... }
for (uint i = 0; i < 10; i--) { ... }
for (uint i = 10; i > 0; i++) { ... }
for (uint i = 0; i <= 10; i = i + 2) { ... }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál es la diferencia entre if y else en Solidity?
if ejecuta un bloque de código si una condición es verdadera, mientras que else ejecuta un bloque alternativo si la condición es falsa.
if es un bucle, mientras que else es una declaración condicional.
if y else son lo mismo, pero else es más eficiente.
if se usa para declarar variables, mientras que else se usa para funciones.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué tipo de dato se usa para almacenar direcciones de Ethereum en Solidity?
address
string
uint256
bool
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué hace un ciclo while en Solidity?
Ejecuta un bloque de código mientras una condición sea verdadera.
Itera sobre un array hasta que se alcanza su longitud.
Detiene la ejecución del contrato si una condición es falsa.
Es una forma de declarar una función recursiva.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cómo se declara un array dinámico de enteros en Solidity?
uint[] public myArray;
uint[10] public myArray;
array
uint dynamic[] public myArray;
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué sucede si una función no especifica su visibilidad (public, private, etc.) en Solidity?
La función será pública por defecto.
La función será privada por defecto.
La función generará un error de compilación.
La función será interna (internal) por defecto.
Similar Resources on Wayground
8 questions
Jugando con Quizziz

Quiz
•
Professional Development
11 questions
Cursos TIC

Quiz
•
Professional Development
5 questions
Funciones condicionales

Quiz
•
Professional Development
10 questions
Google Forms y Google Sheets

Quiz
•
Professional Development
10 questions
HOJA DE CÁLCULO APLICADO

Quiz
•
Professional Development
12 questions
Aparatos eléctricos

Quiz
•
Professional Development
11 questions
Herramientas Colaborativas

Quiz
•
Professional Development
10 questions
Python básico

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Instructional Technology
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
20 questions
Employability Skills

Quiz
•
Professional Development