¿Qué tipo de variable se utiliza para almacenar números enteros en C#?
Fundamentos de C# y Visual Studio

Quiz
•
Computers
•
12th Grade
•
Hard
Jenccy Giovanni Santos Morales
Used 5+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
double
string
int
float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se declara una variable de tipo cadena de texto en C#?
string nombreVariable = valor;
string nombreVariable = "valor";
string nombreVariable : 'valor';
string nombreVariable => 'valor';
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la sintaxis correcta para una estructura IF en C#?
if (condición) // código a ejecutar }
if (condición) { // código a ejecutar }
if { condición } // código a ejecutar
if (condición) { código a ejecutar } else
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué operador se utiliza para comparar dos valores en una condición IF?
Operador lógico '&&'
Operadores de comparación como '==', '!=', '<', '>', '<=', '>='.
Operador de asignación '='
Operador de incremento '++'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se inicia un bucle while en C#?
for (int i = 0; i < n; i++) { // código a ejecutar }
if (condición) { // código a ejecutar }
while (condición) { // código a ejecutar }
do { // código a ejecutar } while (condición);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se genera un número aleatorio entre 1 y 100 en C# utilizando la clase Random?
Random random = new Random(); int numeroAleatorio = random.Next(100, 200);
Random random = new Random(); int numeroAleatorio = random.Next(0, 50);
Random random = new Random(); int numeroAleatorio = random.Next(1, 100);
Random random = new Random(); int numeroAleatorio = random.Next(1, 10);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la diferencia entre una variable entera y una variable de cadena de texto?
Una variable entera puede contener texto y números a la vez.
Ambas variables almacenan solo números.
Una variable entera almacena texto, y una variable de cadena de texto almacena números.
Una variable entera almacena números, y una variable de cadena de texto almacena texto.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Eval. 1BIM - 1ro B

Quiz
•
7th Grade - University
10 questions
Prueba #1|VB

Quiz
•
12th Grade
10 questions
Condiciones estructurales JavaScript 1

Quiz
•
12th Grade
8 questions
Quiz de Programación

Quiz
•
12th Grade
14 questions
Sentencias Si en PSeInt

Quiz
•
12th Grade
13 questions
Leccion Formativa Unidad 1

Quiz
•
12th Grade
10 questions
10° Estructura y Diseño de un Algoritmo

Quiz
•
10th Grade - University
10 questions
Lenguaje de programación 1

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University